jmri.jmrit.symbolicprog
Class AbstractQualifier
java.lang.Object
jmri.jmrit.symbolicprog.AbstractQualifier
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, Qualifier
- Direct Known Subclasses:
- ValueQualifier
public abstract class AbstractQualifier
- extends Object
- implements Qualifier, PropertyChangeListener
Watches a specific Variable to qualify others.
- Author:
- Bob Jacobsen Copyright (C) 2010
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractQualifier
public AbstractQualifier(VariableValue qualifiedVal,
VariableValue watchedVal)
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange in interface PropertyChangeListener
availableStateFromEvent
protected boolean availableStateFromEvent(PropertyChangeEvent e)
availableStateFromObject
protected abstract boolean availableStateFromObject(Object o)
availableStateFromValue
protected abstract boolean availableStateFromValue(int value)
setWatchedAvailable
protected void setWatchedAvailable(boolean enable)
update
public void update(int value)
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: