|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.omGraphics.event.SelectionSupport
A class to help SelectionProviders manage SelectionListeners, and to help with firing SelectionEvents to those listeners.
Constructor Summary | |
SelectionSupport(java.lang.Object src)
|
Method Summary | |
void |
addSelectionListener(SelectionListener listener)
Add a SelectionListener to the listener list. |
void |
clearSelectionListeners()
Remove all listeners from the list. |
void |
fireSelection(OMGraphic omg,
DrawingToolRequestor dtr,
boolean isSelected)
Send a selection event to all registered listeners. |
void |
removeSelectionListener(SelectionListener listener)
Remove a SelectionListener from the listener list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SelectionSupport(java.lang.Object src)
Method Detail |
public void addSelectionListener(SelectionListener listener)
listener
- The SelectionListener to be addedpublic void removeSelectionListener(SelectionListener listener)
listener
- The SelectionListener to be removedpublic void clearSelectionListeners()
public void fireSelection(OMGraphic omg, DrawingToolRequestor dtr, boolean isSelected)
omg
- the graphic in the selection eventdtr
- the drawingtoolrequestor in the selection eventisSelected
- the selection state in the selection eventSelectionEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |