|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SignalMastLogicManager
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, ENTRYEXIT, IDTAGS, LAYOUTBLOCKS, LIGHTS, LOGIXS, MEMORIES, OBLOCKS, PANELFILES, REPORTERS, ROUTES, SECTIONS, SENSORGROUPS, SENSORS, SIGNALGROUPS, SIGNALHEADS, SIGNALMASTLOGICS, SIGNALMASTS, TIMEBASE, TRANSITS, TURNOUTS, WARRANTS |
| Method Summary | |
|---|---|
void |
automaticallyDiscoverSignallingPairs()
Discover all possible valid source and destination signalmasts past pairs on all layout editor panels. |
void |
disableLayoutEditorUse(SignalMast mast)
|
void |
discoverSignallingDest(SignalMast source,
LayoutEditor layout)
Discover valid destination signalmasts for a given source signal on a given layout editor panel. |
void |
dispose()
Free resources when no longer used. |
ArrayList<SignalMastLogic> |
getLogicsByDestination(SignalMast destination)
Gather a list of all the signal mast logics, by destination signal mast |
long |
getSignalLogicDelay()
|
SignalMastLogic |
getSignalMastLogic(SignalMast source)
|
ArrayList<SignalMastLogic> |
getSignalMastLogicList()
Returns an arraylist of signalmastlogic |
void |
initialise()
Used to initialise all the signalmast logics. primarily used after loading. |
boolean |
isSignalMastUsed(SignalMast mast)
|
SignalMastLogic |
newSignalMastLogic(SignalMast source)
|
void |
removeSignalMast(SignalMast mast)
Completely remove the signalmast logic, for a specific signal mast |
void |
removeSignalMastLogic(SignalMastLogic sml)
Completely remove the signalmast logic. |
void |
removeSignalMastLogic(SignalMastLogic sml,
SignalMast dest)
Remove a destination mast from the signalmast logic |
void |
replaceSignalMast(SignalMast oldMast,
SignalMast newMast)
This will replace all instances of an old SignalMast (either source or destination) with the new signal mast instance. |
void |
setSignalLogicDelay(long l)
|
void |
swapSignalMasts(SignalMast mastA,
SignalMast mastB)
|
| Methods inherited from interface jmri.Manager |
|---|
addPropertyChangeListener, deregister, getBeanBySystemName, getBeanByUserName, getNamedBean, getNamedBeanList, getSystemNameArray, getSystemNameList, getSystemPrefix, getXMLOrder, makeSystemName, register, removePropertyChangeListener, systemLetter, typeLetter |
| Method Detail |
|---|
void replaceSignalMast(SignalMast oldMast,
SignalMast newMast)
void automaticallyDiscoverSignallingPairs()
throws JmriException
JmriException
void discoverSignallingDest(SignalMast source,
LayoutEditor layout)
throws JmriException
source - Source SignalMastlayout - Layout Editor panel to check.
JmriExceptionvoid dispose()
Manager
dispose in interface ManagerArrayList<SignalMastLogic> getLogicsByDestination(SignalMast destination)
long getSignalLogicDelay()
SignalMastLogic getSignalMastLogic(SignalMast source)
ArrayList<SignalMastLogic> getSignalMastLogicList()
void initialise()
SignalMastLogic newSignalMastLogic(SignalMast source)
void removeSignalMastLogic(SignalMastLogic sml,
SignalMast dest)
sml - The signalmast logic of the source signaldest - The destination mastvoid removeSignalMastLogic(SignalMastLogic sml)
void removeSignalMast(SignalMast mast)
void disableLayoutEditorUse(SignalMast mast)
void swapSignalMasts(SignalMast mastA,
SignalMast mastB)
boolean isSignalMastUsed(SignalMast mast)
void setSignalLogicDelay(long l)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||