|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
fr.ove.openmath.jome.ctrlview.bidim.selection.events.SelectionEvent
The event to send to all objects that implements the interface SlectionEventListener and which want to maintain a list of selected elements.
| Field Summary | |
static int |
ADD
This action tells the selections manager to add an element. |
static int |
GET_SELECTION
This action tells the selections manager to give all the selected elements |
static int |
GET_SELECTION_SIZE
This action tells the selections manager to give the number of selected elements |
static int |
LIST
For debugg only. |
static int |
PURGE
This action tells the selections manager to remove all the elements it has. |
static int |
REMOVE
This action tells the selections manager to remove an element. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
SelectionEvent(java.lang.Object src)
The constructor. |
|
| Method Summary | |
int |
getAction()
Returns the action associated with the event. |
java.lang.Object |
getArgument()
Returns the action argument. |
void |
setAction(int action,
java.lang.Object argument)
Sets the action to execute and its argument. |
void |
setArgument(java.lang.Object argument)
Sets the action argument. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int PURGE
public static final int REMOVE
public static final int ADD
public static final int GET_SELECTION_SIZE
public static final int GET_SELECTION
public static final int LIST
| Constructor Detail |
public SelectionEvent(java.lang.Object src)
src - the object which produces this event.| Method Detail |
public void setAction(int action,
java.lang.Object argument)
action - the action.argument - the argument.public int getAction()
public java.lang.Object getArgument()
public void setArgument(java.lang.Object argument)
argument - the action argument.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||