jmri.jmrix.srcp
Class SRCPSystemConnectionMemo

java.lang.Object
  extended by jmri.jmrix.SystemConnectionMemo
      extended by jmri.jmrix.srcp.SRCPSystemConnectionMemo

public class SRCPSystemConnectionMemo
extends SystemConnectionMemo

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.

Author:
Bob Jacobsen Copyright (C) 2010

Field Summary
 
Fields inherited from class jmri.jmrix.SystemConnectionMemo
sysPrefixes, userNames
 
Constructor Summary
SRCPSystemConnectionMemo()
           
SRCPSystemConnectionMemo(SRCPTrafficController et)
           
 
Method Summary
 void configureCommandStation()
          Configure the programming manager and "command station" objects
 void configureManagers()
          Configure the common managers for Internal connections.
 void dispose()
           
protected  ResourceBundle getActionModelResourceBundle()
           
 PowerManager getPowerManager()
           
 ProgrammerManager getProgrammerManager()
          Provides access to the Programmer for this particular connection.
 SensorManager getSensorManager()
           
 ThrottleManager getThrottleManager()
           
 SRCPTrafficController getTrafficController()
          Provides access to the TrafficController for this particular connection.
 TurnoutManager getTurnoutManager()
           
 void setPowerManager(PowerManager p)
           
 void setProgrammerManager(ProgrammerManager p)
           
 void setSensorManager(SensorManager s)
           
 void setThrottleManager(ThrottleManager t)
           
 void setTrafficController(SRCPTrafficController et)
           
 void setTurnoutManager(TurnoutManager t)
           
 
Methods inherited from class jmri.jmrix.SystemConnectionMemo
addPropertyChangeListener, addToActionList, get, getDisabled, getSystemPrefix, getUserName, notifyPropertyChangeListener, provides, 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

SRCPSystemConnectionMemo

public SRCPSystemConnectionMemo(SRCPTrafficController et)

SRCPSystemConnectionMemo

public SRCPSystemConnectionMemo()
Method Detail

getTrafficController

public SRCPTrafficController getTrafficController()
Provides access to the TrafficController for this particular connection.


setTrafficController

public void setTrafficController(SRCPTrafficController et)

configureManagers

public void configureManagers()
Configure the common managers for Internal connections. This puts the common manager config in one place. This method is static so that it can be referenced from classes that don't inherit, including hexfile.HexFileFrame and locormi.LnMessageClient


configureCommandStation

public void configureCommandStation()
Configure the programming manager and "command station" objects


getProgrammerManager

public ProgrammerManager getProgrammerManager()
Provides access to the Programmer for this particular connection. NOTE: Programmer defaults to null


setProgrammerManager

public void setProgrammerManager(ProgrammerManager p)

getThrottleManager

public ThrottleManager getThrottleManager()

setThrottleManager

public void setThrottleManager(ThrottleManager t)

getPowerManager

public PowerManager getPowerManager()

setPowerManager

public void setPowerManager(PowerManager p)

getSensorManager

public SensorManager getSensorManager()

setSensorManager

public void setSensorManager(SensorManager s)

getTurnoutManager

public TurnoutManager getTurnoutManager()

setTurnoutManager

public void setTurnoutManager(TurnoutManager t)

getActionModelResourceBundle

protected ResourceBundle getActionModelResourceBundle()
Specified by:
getActionModelResourceBundle in class SystemConnectionMemo

dispose

public void dispose()
Overrides:
dispose in class SystemConnectionMemo


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads