|
||||||||||
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
public class 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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bbn.openmap.event.AbstractMouseMode |
---|
AbstractMouseMode.MouseWheelTimerListener |
Field Summary | |
---|---|
static java.lang.String |
modeID
Mouse Mode identifier, which is "None". |
Fields inherited from class com.bbn.openmap.OMComponent |
---|
i18n, propertyPrefix |
Fields inherited from class com.bbn.openmap.MapHandlerChild |
---|
beanContextChildSupport, isolated |
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.OMComponent |
---|
getPropertyPrefix, setProperties, setPropertyPrefix |
Methods inherited from class com.bbn.openmap.MapHandlerChild |
---|
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated |
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 |