|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JMenuItem
uk.ac.soton.ecs.iam.grid.client.swing.Action
public abstract class Action
An action on a menu.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JMenuItem |
|---|
JMenuItem.AccessibleJMenuItem |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected String |
action
|
protected ConversationBrowser |
browser
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
Action(ConversationBrowser browser,
org.apache.axis.message.addressing.EndpointReferenceType[] objects,
String label)
Constructor for an Action. |
|
Action(ConversationBrowser browser,
org.apache.axis.message.addressing.EndpointReferenceType[] objects,
String label,
Icon icon)
Constructor for an Action. |
|
Action(ConversationBrowser browser,
String label)
Deprecated. use #Action(ConversationBrowser,Object[],String,Icon)
This method is unsafe with multiple views in the ConversationBrowser.
So the objects must be set in the constructor. |
|
Action(ConversationBrowser browser,
String label,
Icon icon)
Deprecated. use #Action(ConversationBrowser,Object[],String,Icon)
This method is unsafe with multiple views in the ConversationBrowser.
So the objects must be set in the constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
|
void |
actionPerformed(org.apache.axis.message.addressing.EndpointReferenceType[] selectedObjects)
|
protected boolean |
confirmAction(org.apache.axis.message.addressing.EndpointReferenceType[] items,
String action)
|
protected void |
dispatch(org.apache.axis.message.addressing.EndpointReferenceType item)
Perform the chosen action. |
protected abstract void |
dispatch(org.apache.axis.message.addressing.EndpointReferenceType epr,
Object proxy)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ConversationBrowser browser
protected String action
| Constructor Detail |
|---|
@Deprecated
public Action(ConversationBrowser browser,
String label)
#Action(ConversationBrowser,Object[],String,Icon)
This method is unsafe with multiple views in the ConversationBrowser.
So the objects must be set in the constructor.
browser - the ConversationBrowser the Action is used onlabel - the string to display to the user
@Deprecated
public Action(ConversationBrowser browser,
String label,
Icon icon)
#Action(ConversationBrowser,Object[],String,Icon)
This method is unsafe with multiple views in the ConversationBrowser.
So the objects must be set in the constructor.
browser - the ConversationBrowser the Action is used onlabel - the string to display to the usericon - the image to display to the user
public Action(ConversationBrowser browser,
org.apache.axis.message.addressing.EndpointReferenceType[] objects,
String label)
browser - the ConversationBrowser the Action is used onobjects - the objects the Action is applied tolabel - the string to display to the user
public Action(ConversationBrowser browser,
org.apache.axis.message.addressing.EndpointReferenceType[] objects,
String label,
Icon icon)
browser - the ConversationBrowser the Action is used onobjects - the objects the Action is applied tolabel - the string to display to the usericon - the image to display to the user| Method Detail |
|---|
protected boolean confirmAction(org.apache.axis.message.addressing.EndpointReferenceType[] items,
String action)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void actionPerformed(org.apache.axis.message.addressing.EndpointReferenceType[] selectedObjects)
protected void dispatch(org.apache.axis.message.addressing.EndpointReferenceType item)
throws Exception
item - the item chosen from the menu
Exception
protected abstract void dispatch(org.apache.axis.message.addressing.EndpointReferenceType epr,
Object proxy)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||