com.bbn.openmap.event
Class MapBeanKeyListener
java.lang.Object
com.bbn.openmap.MapHandlerChild
com.bbn.openmap.OMComponent
com.bbn.openmap.event.MapBeanKeyListener
- All Implemented Interfaces:
- java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextMembershipListener, java.util.EventListener, java.awt.event.KeyListener, LightMapHandlerChild, PropertyConsumer
- Direct Known Subclasses:
- ProjMapBeanKeyListener
- public class MapBeanKeyListener
- extends OMComponent
- implements java.awt.event.KeyListener
Method Summary |
void |
findAndInit(java.lang.Object someObj)
The findAndInit method has been made non-abstract, because it
now calls this method for every object that is in the iterator
it receives. |
void |
findAndUndo(java.lang.Object someObj)
The childrenRemoved has been changed to go through its iterator
to call this method with every object. |
MapBean |
getMapBean()
|
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
void |
setMapBean(MapBean map)
|
Methods inherited from class com.bbn.openmap.MapHandlerChild |
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, firePropertyChange, fireVetoableChange, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapBean
protected MapBean mapBean
MapBeanKeyListener
public MapBeanKeyListener()
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased
in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped
in interface java.awt.event.KeyListener
setMapBean
public void setMapBean(MapBean map)
getMapBean
public MapBean getMapBean()
findAndInit
public void findAndInit(java.lang.Object someObj)
- Description copied from class:
MapHandlerChild
- The findAndInit method has been made non-abstract, because it
now calls this method for every object that is in the iterator
it receives. This lets subclasses call a method on super
classes so they can handle their needs as well.
- Specified by:
findAndInit
in interface LightMapHandlerChild
- Overrides:
findAndInit
in class MapHandlerChild
findAndUndo
public void findAndUndo(java.lang.Object someObj)
- Description copied from class:
MapHandlerChild
- The childrenRemoved has been changed to go through its iterator
to call this method with every object. This lets subclasses
call this method on their super class, so it can handle what it
needs to with objects it may be interested in.
- Specified by:
findAndUndo
in interface LightMapHandlerChild
- Overrides:
findAndUndo
in class MapHandlerChild
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details