|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.SystemConnectionMemo
jmri.jmrix.sprog.SprogSystemConnectionMemo
public class SprogSystemConnectionMemo
Lightweight class to denote that a system is active, and provide general information.
Objects of specific subtypes are registered in the instance manager to activate their particular system.
| Field Summary | |
|---|---|
(package private) ComponentFactory |
cf
|
(package private) static org.slf4j.Logger |
log
|
| Fields inherited from class jmri.jmrix.SystemConnectionMemo |
|---|
sysPrefixes, userNames |
| Constructor Summary | |
|---|---|
SprogSystemConnectionMemo()
|
|
SprogSystemConnectionMemo(SprogConstants.SprogMode sm)
|
|
SprogSystemConnectionMemo(SprogTrafficController st,
SprogConstants.SprogMode sm)
|
|
| Method Summary | ||
|---|---|---|
void |
configureCommandStation()
Configure the programming manager and "command station" objects |
|
void |
configureManagers()
Configure the common managers for Sprog connections. |
|
void |
dispose()
|
|
|
get(Class<?> T)
Does this connection provide a manager of this type? |
|
protected ResourceBundle |
getActionModelResourceBundle()
|
|
JMenu |
getMenu()
Provide a menu with all items attached to this system connection |
|
SprogPowerManager |
getPowerManager()
|
|
ProgrammerManager |
getProgrammerManager()
|
|
SprogConstants.SprogMode |
getSprogMode()
|
|
SprogTrafficController |
getSprogTrafficController()
Provides access to the TrafficController for this particular connection. |
|
ThrottleManager |
getThrottleManager()
|
|
boolean |
provides(Class<?> type)
Does this connection provide a manager of this type? |
|
void |
setProgrammerManager(ProgrammerManager p)
|
|
void |
setSprogMode(SprogConstants.SprogMode mode)
|
|
void |
setSprogTrafficController(SprogTrafficController st)
|
|
| Methods inherited from class jmri.jmrix.SystemConnectionMemo |
|---|
addPropertyChangeListener, addToActionList, getDisabled, getSystemPrefix, getUserName, notifyPropertyChangeListener, register, removeFromActionList, removePropertyChangeListener, setDisabled, setSystemPrefix, setUserName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
ComponentFactory cf
static org.slf4j.Logger log
| Constructor Detail |
|---|
public SprogSystemConnectionMemo(SprogTrafficController st,
SprogConstants.SprogMode sm)
public SprogSystemConnectionMemo(SprogConstants.SprogMode sm)
public SprogSystemConnectionMemo()
| Method Detail |
|---|
public void setSprogMode(SprogConstants.SprogMode mode)
public SprogConstants.SprogMode getSprogMode()
public SprogTrafficController getSprogTrafficController()
public void setSprogTrafficController(SprogTrafficController st)
public JMenu getMenu()
public void configureCommandStation()
public boolean provides(Class<?> type)
SystemConnectionMemo
provides in class SystemConnectionMemopublic <T> T get(Class<?> T)
SystemConnectionMemo
get in class SystemConnectionMemopublic void configureManagers()
public ProgrammerManager getProgrammerManager()
public void setProgrammerManager(ProgrammerManager p)
public SprogPowerManager getPowerManager()
public ThrottleManager getThrottleManager()
protected ResourceBundle getActionModelResourceBundle()
getActionModelResourceBundle in class SystemConnectionMemopublic void dispose()
dispose in class SystemConnectionMemo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||