public class SelectionSupport
extends java.lang.Object
Constructor and Description |
---|
SelectionSupport(java.lang.Object src) |
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details