|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bbn.openmap.MapHandlerChild | +--com.bbn.openmap.OMComponent | +--com.bbn.openmap.event.AbstractMouseMode | +--com.bbn.openmap.event.NullMouseMode
The NullMouseMode takes no action on mouse events and does not keep a list of map mouse listeners. It is intended to be used when you need a mouse mode that does nothing as an alternative to one that does something. If you don't have one that does something you don't need any MouseModes at all.
Field Summary | |
static java.lang.String |
modeID
Mouse Mode identifier, which is "None". |
Fields inherited from class com.bbn.openmap.event.AbstractMouseMode |
cursor, df, guiIcon, ID, IDProperty, mouseSupport, prettyName, PrettyNameProperty, visible |
Fields inherited from class com.bbn.openmap.OMComponent |
i18n, propertyPrefix |
Fields inherited from class com.bbn.openmap.MapHandlerChild |
beanContextChildSupport |
Fields inherited from interface com.bbn.openmap.PropertyConsumer |
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
Constructor Summary | |
NullMouseMode()
Construct a NullMouseMode. |
|
NullMouseMode(java.lang.String id,
boolean consumeEvents)
Construct a NullMouseMode. |
Method Summary | |
void |
addMapMouseListener(MapMouseListener mml)
IGNORED. |
void |
removeMapMouseListener(MapMouseListener mml)
IGNORED. |
Methods inherited from class com.bbn.openmap.event.AbstractMouseMode |
actAsProxyFor, actAsProxyFor, getGUIIcon, getID, getModeCursor, getMouseSupport, getPrettyName, getProperties, getPropertyInfo, getProxyDistributionMask, isConsumeEvents, isProxyFor, isVisible, listenerPaint, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, releaseProxy, removeAllMapMouseListeners, setActive, setConsumeEvents, setGUIIcon, setID, setModeCursor, setMouseSupport, setPrettyName, setProperties, setProxyDistributionMask, setVisible |
Methods inherited from class com.bbn.openmap.OMComponent |
getPropertyPrefix, setProperties, setPropertyPrefix |
Methods inherited from class com.bbn.openmap.MapHandlerChild |
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final transient java.lang.String modeID
Constructor Detail |
public NullMouseMode()
public NullMouseMode(java.lang.String id, boolean consumeEvents)
id
- the ID name.consumeEvents
- the consume mode.Method Detail |
public void addMapMouseListener(MapMouseListener mml)
addMapMouseListener
in interface MapMouseMode
addMapMouseListener
in class AbstractMouseMode
mml
- the MapMouseListener to add.public void removeMapMouseListener(MapMouseListener mml)
removeMapMouseListener
in interface MapMouseMode
removeMapMouseListener
in class AbstractMouseMode
mml
- the MapMouseListener to remove.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |