jmri.jmrix.nce
Class NceSystemConnectionMemo

Show UML class diagram
java.lang.Object
  extended by jmri.jmrix.SystemConnectionMemo
      extended by jmri.jmrix.nce.NceSystemConnectionMemo

public class NceSystemConnectionMemo
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.


Field Summary
(package private)  ComponentFactory componentFactory
           
 
Fields inherited from class jmri.jmrix.SystemConnectionMemo
sysPrefixes, userNames
 
Constructor Summary
NceSystemConnectionMemo()
           
 
Method Summary
 void configureCommandStation(int val)
          Sets the NCE message option.
 void configureManagers()
          Configure the common managers for NCE connections.
 void dispose()
           
<T> T
get(Class<?> T)
          Provide manager by class
protected  ResourceBundle getActionModelResourceBundle()
           
 NceClockControl getClockControl()
           
 NceConsistManager getConsistManager()
           
 NceLightManager getLightManager()
           
 long getNceCmdGroups()
           
 NceTrafficController getNceTrafficController()
          Provides access to the TrafficController for this particular connection.
 int getNceUsbSystem()
           
 NcePowerManager getPowerManager()
           
 ProgrammerManager getProgrammerManager()
           
 NceSensorManager getSensorManager()
           
 NceThrottleManager getThrottleManager()
           
 NceTurnoutManager getTurnoutManager()
           
 boolean provides(Class<?> type)
          Tells which managers this provides by class
 void setNceCmdGroups(long result)
           
 void setNceTrafficController(NceTrafficController tc)
           
 void setNceUsbSystem(int result)
           
 void setProgrammerManager(ProgrammerManager p)
           
 
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

ComponentFactory componentFactory
Constructor Detail

NceSystemConnectionMemo

public NceSystemConnectionMemo()
Method Detail

setNceUsbSystem

public void setNceUsbSystem(int result)

getNceUsbSystem

public int getNceUsbSystem()

setNceCmdGroups

public void setNceCmdGroups(long result)

getNceCmdGroups

public long getNceCmdGroups()

getNceTrafficController

public NceTrafficController getNceTrafficController()
Provides access to the TrafficController for this particular connection.


setNceTrafficController

public void setNceTrafficController(NceTrafficController tc)

getProgrammerManager

public ProgrammerManager getProgrammerManager()

setProgrammerManager

public void setProgrammerManager(ProgrammerManager p)

configureCommandStation

public void configureCommandStation(int val)
Sets the NCE message option.


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)
Provide manager by class

Overrides:
get in class SystemConnectionMemo

configureManagers

public void configureManagers()
Configure the common managers for NCE connections. This puts the common manager config in one place.


getPowerManager

public NcePowerManager getPowerManager()

getTurnoutManager

public NceTurnoutManager getTurnoutManager()

getLightManager

public NceLightManager getLightManager()

getSensorManager

public NceSensorManager getSensorManager()

getThrottleManager

public NceThrottleManager getThrottleManager()

getClockControl

public NceClockControl getClockControl()

getConsistManager

public NceConsistManager getConsistManager()

getActionModelResourceBundle

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

dispose

public void dispose()
Overrides:
dispose in class SystemConnectionMemo


Copyright © 1997-2013 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