jmri.implementation
Class VirtualSignalHead
java.lang.Object
jmri.implementation.AbstractNamedBean
jmri.implementation.AbstractSignalHead
jmri.implementation.DefaultSignalHead
jmri.implementation.VirtualSignalHead
- All Implemented Interfaces:
- Serializable, NamedBean, SignalHead
public class VirtualSignalHead
- extends DefaultSignalHead
A signal head that exists only within the program.
This can be useful e.g. as part of a more complex signal calculation.
- Author:
- Bob Jacobsen Copyright (C) 2005
- See Also:
- Serialized Form
|
Method Summary |
void |
dispose()
Remove references to and from this object, so that it can
eventually be garbage-collected. |
protected void |
updateOutput()
Type-specific routine to handle output to the layout hardware. |
| Methods inherited from class jmri.implementation.AbstractNamedBean |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getComment, getDisplayName, getListenerRef, getListenerRefs, getNumPropertyChangeListeners, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyKeys, getSystemName, getUserName, removePropertyChangeListener, setComment, setProperty, setUserName, updateListenerRef |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jmri.NamedBean |
addPropertyChangeListener, addPropertyChangeListener, getComment, getDisplayName, getListenerRef, getListenerRefs, getNumPropertyChangeListeners, getProperty, getPropertyChangeListeners, getPropertyKeys, getSystemName, getUserName, removePropertyChangeListener, setComment, setProperty, setUserName, updateListenerRef |
VirtualSignalHead
public VirtualSignalHead(String sys,
String user)
VirtualSignalHead
public VirtualSignalHead(String sys)
updateOutput
protected void updateOutput()
- Description copied from class:
DefaultSignalHead
- Type-specific routine to handle output to the layout hardware.
Does not notify listeners of changes; that's done elsewhere.
Should use the following variables to determine what to send:
- mAppearance
- mLit
- mFlashOn
- Specified by:
updateOutput in class DefaultSignalHead
dispose
public void dispose()
- Remove references to and from this object, so that it can
eventually be garbage-collected.
- Specified by:
dispose in interface NamedBean- Overrides:
dispose in class AbstractNamedBean
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: