jmri.jmrix.powerline
Class SerialTurnoutManager
java.lang.Object
jmri.AbstractManager
jmri.AbstractTurnoutManager
jmri.jmrix.powerline.SerialTurnoutManager
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, Manager, TurnoutManager
public class SerialTurnoutManager
- extends AbstractTurnoutManager
Implement turnout manager for powerline systems
System names are "PTnnn", where nnn is the turnout number without padding.
- Author:
- Bob Jacobsen Copyright (C) 2003, 2006, 2007, 2008
| Methods inherited from class jmri.AbstractTurnoutManager |
askControlType, askNumControlBits, getBySystemName, getByUserName, getClosedText, getThrownText, getTurnout, getValidOperationTypes, newTurnout, provideTurnout, typeLetter |
| Methods inherited from class jmri.AbstractManager |
addPropertyChangeListener, deregister, dispose, firePropertyChange, getInstanceBySystemName, getInstanceByUserName, getSystemNameList, makeSystemName, propertyChange, register, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialTurnoutManager
public SerialTurnoutManager()
systemLetter
public char systemLetter()
- Returns:
- The system-specific prefix letter for a specific implementation
createNewTurnout
public Turnout createNewTurnout(String systemName,
String userName)
- Description copied from class:
AbstractTurnoutManager
- Internal method to invoke the factory, after all the
logic for returning an existing method has been invoked.
- Specified by:
createNewTurnout in class AbstractTurnoutManager
- Returns:
- never null
instance
public static SerialTurnoutManager instance()
Copyright © 1997 - 2008 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: