stella.jview
Class JObjectDisplay.SubComponentHandler
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
util.rmi.RmiPropertyContainer
util.rmi.AbstractRmiCaster
jview.SubComponentNotify
stella.jview.JObjectDisplay.SubComponentHandler
- All Implemented Interfaces:
- ActionListener, ItemListener, MouseListener, PropertyChangeListener, Cloneable, Remote, EventListener, ChangeListener, ListSelectionListener, SubComponentCaster, ExitCleaning, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying, RmiCaster, RmiPropertyBearing
- Enclosing class:
- JObjectDisplay
private class JObjectDisplay.SubComponentHandler
- extends SubComponentNotify
- implements PropertyChangeListener, ActionListener, ChangeListener, MouseListener, ItemListener, ListSelectionListener
The helper class for access via rmi. Also contains all the listeners that
are important for the object display.
| Methods inherited from class util.rmi.AbstractRmiCaster |
bindAlternate, bindToRegistry, bindToRegistry, bindToRegistry, casterExit, casterExit, exit, getBindName, getBindName, isValid, unbindFromRegistry, unbindFromRegistry |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from interface util.PropertySupplying |
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
JObjectDisplay.SubComponentHandler
private JObjectDisplay.SubComponentHandler(Map<String,String> prop,
String bindname)
throws RemoteException
- Only used in the object display.
- Throws:
RemoteException
mouseEntered
public void mouseEntered(MouseEvent e)
- Empty.
- Specified by:
mouseEntered in interface MouseListener
mouseExited
public void mouseExited(MouseEvent e)
- Empty.
- Specified by:
mouseExited in interface MouseListener
mousePressed
public void mousePressed(MouseEvent e)
- Empty.
- Specified by:
mousePressed in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent e)
- Empty.
- Specified by:
mouseReleased in interface MouseListener
mouseClicked
public void mouseClicked(MouseEvent e)
- If the user clicks on the data canvas, we try to infer the unique
pick out of it. This is done by querying the unique key of the
closest plotted point and retrieving the other pick data from the
database.
- Specified by:
mouseClicked in interface MouseListener
valueChanged
public void valueChanged(ListSelectionEvent lse)
- If the user selects items in the list, we try to look the period up.
- Specified by:
valueChanged in interface ListSelectionListener
itemStateChanged
public void itemStateChanged(ItemEvent ie)
- We change the order in the object list. Item changes in the user list
and sorting order changes are treated here.
- Specified by:
itemStateChanged in interface ItemListener
propertyChange
public void propertyChange(PropertyChangeEvent pch)
- Specified by:
propertyChange in interface PropertyChangeListener
stateChanged
public void stateChanged(ChangeEvent ce)
- Specified by:
stateChanged in interface ChangeListener
actionPerformed
public void actionPerformed(ActionEvent ae)
- We listen on the checkboxes.
- Specified by:
actionPerformed in interface ActionListener
addSubComponentListener
public void addSubComponentListener(SubComponentListener notify)
throws RemoteException
- Description copied from class:
SubComponentNotify
- Registers a new sub-component listener. On registering, the current
view of the caster should be fired to the listener.
Whenever the caster's
component view changes, the listener is notified with its
SubComponentListner#newKey method.
- Specified by:
addSubComponentListener in interface SubComponentCaster- Overrides:
addSubComponentListener in class SubComponentNotify
- Throws:
RemoteException
currentState
protected JObjectComponent.ObjectKey currentState()
- Detects the current state of the display.