jmri.managers
Class InternalTurnoutManager
java.lang.Object
jmri.managers.AbstractManager
jmri.managers.AbstractTurnoutManager
jmri.managers.InternalTurnoutManager
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, Manager, TurnoutManager
- Direct Known Subclasses:
- InternalTurnoutManager
public class InternalTurnoutManager
- extends AbstractTurnoutManager
Implement a turnout manager for "Internal" (virtual) turnouts.
- Author:
- Bob Jacobsen Copyright (C) 2006
| Fields inherited from interface jmri.Manager |
AUDIO, BLOCKBOSS, BLOCKS, CONDITIONALS, IDTAGS, LAYOUTBLOCKS, LIGHTS, LOGIXS, MEMORIES, OBLOCKS, PANELFILES, REPORTERS, ROUTES, SECTIONS, SENSORGROUPS, SENSORS, SIGNALGROUPS, SIGNALHEADS, SIGNALMASTLOGICS, SIGNALMASTS, TIMEBASE, TRANSITS, TURNOUTS, WARRANTS |
| Methods inherited from class jmri.managers.AbstractTurnoutManager |
allowMultipleAdditions, askControlType, askNumControlBits, getBySystemName, getByUserName, getClosedText, getDefaultClosedSpeed, getDefaultThrownSpeed, getNextValidAddress, getThrownText, getTurnout, getXMLOrder, isControlTypeSupported, isNumControlBitsSupported, newTurnout, provideTurnout, setDefaultClosedSpeed, setDefaultThrownSpeed, typeLetter |
| Methods inherited from class jmri.managers.AbstractManager |
addPropertyChangeListener, deregister, dispose, firePropertyChange, getBeanBySystemName, getInstanceBySystemName, getInstanceByUserName, getSystemNameArray, getSystemNameList, makeSystemName, propertyChange, register, registerSelf, removePropertyChangeListener, systemLetter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prefix
protected String prefix
InternalTurnoutManager
public InternalTurnoutManager()
createNewTurnout
protected Turnout createNewTurnout(String systemName,
String userName)
- Create and return an internal (no layout connection) turnout
- Specified by:
createNewTurnout in class AbstractTurnoutManager
- Returns:
- never null
getSystemPrefix
public String getSystemPrefix()
- Description copied from interface:
Manager
- Provides access to the system prefix string.
This was previously called the "System letter"
createSystemName
public String createSystemName(String curAddress,
String prefix)
throws JmriException
- Description copied from interface:
TurnoutManager
- Returns a system name for a given hardware address and system prefix.
- Specified by:
createSystemName in interface TurnoutManager- Overrides:
createSystemName in class AbstractTurnoutManager
- Throws:
JmriException
getValidOperationTypes
public String[] getValidOperationTypes()
- Description copied from interface:
TurnoutManager
- Get a list of the valid TurnoutOPeration subtypes for use with turnouts
of this system
- Specified by:
getValidOperationTypes in interface TurnoutManager- Overrides:
getValidOperationTypes in class AbstractTurnoutManager
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: