|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogixManager
Interface for obtaining Logixs
This doesn't have a "new" method, since Logixs 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.
| Method Summary | |
|---|---|
void |
activateAllLogixs()
Activate all Logixs that are not currently active This method is called after a configuration file is loaded. |
Logix |
createNewLogix(String systemName,
String userName)
Method to create a new Logix if the Logix does not exist Returns null if a Logix with the same systemName or userName already exists, or if there is trouble creating a new Logix. |
void |
deleteLogix(Logix x)
Delete Logix by removing it from the manager. |
void |
dispose()
Free resources when no longer used. |
Logix |
getBySystemName(String s)
|
Logix |
getByUserName(String s)
|
Logix |
getLogix(String name)
Locate via user name, then system name if needed. |
List |
getSystemNameList()
Get a list of all Logix system names. |
void |
setLoadDisabled(boolean s)
Support for loading Logixs in a disabled state to debug loops |
| Methods inherited from interface jmri.Manager |
|---|
addPropertyChangeListener, deregister, makeSystemName, register, removePropertyChangeListener, systemLetter, typeLetter |
| Method Detail |
|---|
void dispose()
Manager
dispose in interface Manager
Logix createNewLogix(String systemName,
String userName)
Logix getLogix(String name)
name -
Logix getByUserName(String s)
Logix getBySystemName(String s)
void activateAllLogixs()
List getSystemNameList()
getSystemNameList in interface Managervoid deleteLogix(Logix x)
void setLoadDisabled(boolean s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||