|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.SystemConnectionMemo
jmri.jmrix.powerline.SerialSystemConnectionMemo
public class SerialSystemConnectionMemo
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 |
|---|
| Fields inherited from class jmri.jmrix.SystemConnectionMemo |
|---|
sysPrefixes, userNames |
| Constructor Summary | |
|---|---|
SerialSystemConnectionMemo()
|
|
| Method Summary | ||
|---|---|---|
void |
configureManagers()
Configure the common managers for Powerline connections. |
|
void |
dispose()
|
|
|
get(Class<?> T)
Provide manager by class |
|
protected ResourceBundle |
getActionModelResourceBundle()
|
|
SerialLightManager |
getLightManager()
|
|
ProgrammerManager |
getProgrammerManager()
Always null as powerline doesn't have a programmer |
|
SerialSensorManager |
getSensorManager()
|
|
SerialAddress |
getSerialAddress()
Provide access to a SerialAddress for this particular connection |
|
SerialTrafficController |
getTrafficController()
Provides access to the TrafficController for this particular connection. |
|
SerialTurnoutManager |
getTurnoutManager()
|
|
boolean |
provides(Class<?> type)
Tells which managers this provides by class |
|
void |
setLightManager(SerialLightManager m)
|
|
void |
setProgrammerManager(ProgrammerManager p)
|
|
void |
setSensorManager(SerialSensorManager m)
|
|
void |
setSerialAddress(SerialAddress sa)
|
|
void |
setTrafficController(SerialTrafficController tc)
|
|
void |
setTurnoutManager(SerialTurnoutManager m)
|
|
| 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 |
| Constructor Detail |
|---|
public SerialSystemConnectionMemo()
| Method Detail |
|---|
public SerialTrafficController getTrafficController()
public void setTrafficController(SerialTrafficController tc)
public SerialAddress getSerialAddress()
public void setSerialAddress(SerialAddress sa)
public ProgrammerManager getProgrammerManager()
public void setProgrammerManager(ProgrammerManager p)
public boolean provides(Class<?> type)
provides in class SystemConnectionMemopublic <T> T get(Class<?> T)
get in class SystemConnectionMemopublic void configureManagers()
public SerialTurnoutManager getTurnoutManager()
public SerialLightManager getLightManager()
public SerialSensorManager getSensorManager()
public void setTurnoutManager(SerialTurnoutManager m)
public void setLightManager(SerialLightManager m)
public void setSensorManager(SerialSensorManager m)
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 | |||||||||