jmri.jmrix.ecos
Class EcosSystemConnectionMemo

java.lang.Object
  extended by jmri.jmrix.SystemConnectionMemo
      extended by jmri.jmrix.ecos.EcosSystemConnectionMemo

public class EcosSystemConnectionMemo
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
EcosSystemConnectionMemo()
           
EcosSystemConnectionMemo(EcosTrafficController et)
           
 
Method Summary
 void configureManagers()
          This puts the common manager config in one place.
 void dispose()
           
<T> T
get(Class<?> T)
          Does this connection provide a manager of this type?
protected  ResourceBundle getActionModelResourceBundle()
           
 EcosLocoAddressManager getLocoAddressManager()
           
 EcosPowerManager getPowerManager()
           
 EcosPreferences getPreferenceManager()
           
 EcosSensorManager getSensorManager()
           
 EcosDccThrottleManager getThrottleManager()
           
 EcosTrafficController getTrafficController()
          Provides access to the TrafficController for this particular connection.
 EcosTurnoutManager getTurnoutManager()
           
 boolean provides(Class<?> type)
          Tells which managers this provides by class
 void setEcosTrafficController(EcosTrafficController et)
           
 
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

EcosSystemConnectionMemo

public EcosSystemConnectionMemo(EcosTrafficController et)

EcosSystemConnectionMemo

public EcosSystemConnectionMemo()
Method Detail

getTrafficController

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


setEcosTrafficController

public void setEcosTrafficController(EcosTrafficController et)

configureManagers

public void configureManagers()
This puts the common manager config in one place.


getActionModelResourceBundle

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

getLocoAddressManager

public EcosLocoAddressManager getLocoAddressManager()

getTurnoutManager

public EcosTurnoutManager getTurnoutManager()

getSensorManager

public EcosSensorManager getSensorManager()

getPreferenceManager

public EcosPreferences getPreferenceManager()

getThrottleManager

public EcosDccThrottleManager getThrottleManager()

getPowerManager

public EcosPowerManager getPowerManager()

provides

public boolean provides(Class<?> type)
Tells which managers this provides by class

Overrides:
provides in class SystemConnectionMemo

get

public <T> T get(Class<?> T)
Description copied from class: SystemConnectionMemo
Does this connection provide a manager of this type?

Overrides:
get 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