|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SignalMastManager
Interface for obtaining signal masts.
This doesn't have a "new" method, as SignalMasts are separately implemented, instead of being system-specific.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| Field Summary |
|---|
| 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 |
| Method Summary | |
|---|---|
void |
dispose()
Free resources when no longer used. |
SignalMast |
getBySystemName(String s)
|
SignalMast |
getByUserName(String s)
|
SignalMast |
getSignalMast(String name)
Locate via user name, then system name if needed. |
List<String> |
getSystemNameList()
Get a list of all SignalHead system names. |
SignalMast |
provideSignalMast(String name)
Locate via user name, then system name if needed. |
SignalMast |
provideSignalMast(String prefix,
String signalSystem,
String mastName,
String[] heads)
|
| Methods inherited from interface jmri.Manager |
|---|
addPropertyChangeListener, deregister, getBeanBySystemName, getSystemNameArray, getSystemPrefix, getXMLOrder, makeSystemName, register, removePropertyChangeListener, systemLetter, typeLetter |
| Method Detail |
|---|
void dispose()
Manager
dispose in interface ManagerSignalMast getSignalMast(String name)
name -
SignalMast provideSignalMast(String name)
name - User name, system name, or address which
can be promoted to system name
IllegalArgumentException - if SignalMast doesn't
already exist and the manager cannot create the SignalMast
due to e.g. an illegal name or name that can't be parsed.
SignalMast provideSignalMast(String prefix,
String signalSystem,
String mastName,
String[] heads)
SignalMast getByUserName(String s)
SignalMast getBySystemName(String s)
List<String> getSystemNameList()
getSystemNameList in interface Manager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||