jmri.managers
Class AbstractSignalHeadManager
java.lang.Object
jmri.managers.AbstractManager
jmri.managers.AbstractSignalHeadManager
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, Manager, SignalHeadManager
public class AbstractSignalHeadManager
- extends AbstractManager
- implements SignalHeadManager, PropertyChangeListener
Abstract partial implementation of a SignalHeadManager.
Not truly an abstract class, this might have been better named
DefaultSignalHeadManager. But we've got it here for the eventual
need to provide system-specific implementations.
Note that this does not enforce any particular system naming convention
at the present time. They're just names...
- Author:
- Bob Jacobsen Copyright (C) 2003
| 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.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 |
AbstractSignalHeadManager
public AbstractSignalHeadManager()
getXMLOrder
public int getXMLOrder()
- Specified by:
getXMLOrder in interface Manager- Specified by:
getXMLOrder in class AbstractManager
getSystemPrefix
public String getSystemPrefix()
- Description copied from interface:
Manager
- Provides access to the system prefix string.
This was previously called the "System letter"
- Specified by:
getSystemPrefix in interface Manager
typeLetter
public char typeLetter()
- Specified by:
typeLetter in interface Manager
- Returns:
- The type letter for a specific implementation
getSignalHead
public SignalHead getSignalHead(String name)
- Description copied from interface:
SignalHeadManager
- Locate via user name, then system name if needed.
Does not create a new one if nothing found
- Specified by:
getSignalHead in interface SignalHeadManager
- Returns:
- null if no match found
getBySystemName
public SignalHead getBySystemName(String name)
- Specified by:
getBySystemName in interface SignalHeadManager
getByUserName
public SignalHead getByUserName(String key)
- Specified by:
getByUserName in interface SignalHeadManager
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: