|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.bbn.openmap.event.ListenerSupport
|
+--com.bbn.openmap.omGraphics.event.EOMGListenerSupport
This is a utility class that can be used by beans that need support for handling EOMGListeners and calling the EOMGListener method. You can use an instance of this class as a member field of your bean and delegate work to it.
| Field Summary |
| Fields inherited from class com.bbn.openmap.event.ListenerSupport |
listeners, source |
| Constructor Summary | |
EOMGListenerSupport()
Construct a EOMGListenerSupport. |
|
EOMGListenerSupport(EditableOMGraphic graphic)
Construct a EOMGListenerSupport. |
|
| Method Summary | |
void |
addEOMGListener(EOMGListener l)
Add a EOMGListener. |
void |
fireEvent(EOMGEvent event)
Send a eomgChanged event to all registered listeners. |
EditableOMGraphic |
getEOMG()
Get the source object. |
void |
removeEOMGListener(EOMGListener l)
Remove a EOMGListener. |
void |
setEOMG(EditableOMGraphic graphic)
Set the source object. |
| Methods inherited from class com.bbn.openmap.event.ListenerSupport |
addListener, getListeners, getSource, iterator, readObject, removeAll, removeListener, setSource, size, writeObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EOMGListenerSupport()
public EOMGListenerSupport(EditableOMGraphic graphic)
graphic - source graphic| Method Detail |
public void setEOMG(EditableOMGraphic graphic)
graphic - source EditableOMGraphicpublic EditableOMGraphic getEOMG()
public void addEOMGListener(EOMGListener l)
l - EOMGListenerpublic void removeEOMGListener(EOMGListener l)
l - EOMGListenerpublic void fireEvent(EOMGEvent event)
event - EOMGEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||