jmri.jmrix.xpa
Class XpaTurnout
java.lang.Object
jmri.implementation.AbstractNamedBean
jmri.implementation.AbstractTurnout
jmri.jmrix.xpa.XpaTurnout
- All Implemented Interfaces:
- PropertyChangeListener, Serializable, EventListener, NamedBean, Turnout
public class XpaTurnout
- extends AbstractTurnout
Xpa+Modem implementation of the Turnout interface.
- Author:
- Paul Bender Copyright (C) 2004
- See Also:
- Serialized Form
| Fields inherited from class jmri.implementation.AbstractTurnout |
_activeFeedbackType, _cabLockout, _decoderName, _enableCabLockout, _enablePushButtonLockout, _inverted, _pushButtonLockout, _reportLocked, _validDecoderNames, _validFeedbackModes, _validFeedbackNames, _validFeedbackTypes, inhibitOperation, myOperator, myTurnoutOperation |
| Fields inherited from interface jmri.Turnout |
CABLOCKOUT, CLOSED, DIRECT, EXACT, INDIRECT, LOCKED, MONITORING, ONESENSOR, PUSHBUTTONLOCKOUT, SIGNAL, THROWN, TWOSENSOR, UNLOCKED |
|
Constructor Summary |
XpaTurnout(int number)
Xpa turnouts use any addres allowed as an accessory decoder address
on the particular command station. |
| Methods inherited from class jmri.implementation.AbstractTurnout |
canInvert, canLock, dispose, enableLockOperation, forwardCommandChangeToLayout, getCommandedState, getControlType, getCurrentOperator, getDecoderName, getFeedbackMode, getFeedbackModeForOperation, getFeedbackModeName, getFirstSensor, getInhibitOperation, getInverted, getKnownState, getLocked, getNumberOutputBits, getReportLocked, getSecondSensor, getState, getTurnoutOperation, getTurnoutOperator, getValidDecoderNames, getValidFeedbackNames, getValidFeedbackTypes, isConsistentState, newCommandedState, newKnownState, operationPropertyChange, propertyChange, provideFirstFeedbackSensor, provideSecondFeedbackSensor, sensorPropertyChange, setCommandedState, setControlType, setDecoderName, setFeedbackMode, setFeedbackMode, setInhibitOperation, setInitialKnownStateFromFeedback, setInverted, setLocked, setNumberOutputBits, setReportLocked, setState, setTurnoutOperation, turnoutPushbuttonLockout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XpaTurnout
public XpaTurnout(int number)
- Xpa turnouts use any addres allowed as an accessory decoder address
on the particular command station.
getNumber
public int getNumber()
forwardCommandChangeToLayout
protected void forwardCommandChangeToLayout(int s)
- Description copied from class:
AbstractTurnout
- Handle a request to change state, typically by sending a message to the
layout in some child class. Public version (used by TurnoutOperator)
sends the current commanded state without changing it.
- Specified by:
forwardCommandChangeToLayout in class AbstractTurnout
- Parameters:
s - new state value
turnoutPushbuttonLockout
protected void turnoutPushbuttonLockout(boolean _pushButtonLockout)
- Specified by:
turnoutPushbuttonLockout in class AbstractTurnout
Copyright © 1997 - 2009 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: