jmri.jmrix.nce
Class NceSystemConnectionMemo

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.

Author:
Bob Jacobsen Copyright (C) 2010

Field Summary
 
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()
           
 NceLightManager getLightManager()
           
 NceTrafficController getNceTrafficController()
          Provides access to the TrafficController for this particular connection.
 int getNceUSB()
           
 NcePowerManager getPowerManager()
           
 ProgrammerManager getProgrammerManager()
           
 NceSensorManager getSensorManager()
           
 NceThrottleManager getThrottleManager()
           
 NceTurnoutManager getTurnoutManager()
           
 boolean provides(Class<?> type)
          Tells which managers this provides by class
 void setNceTrafficController(NceTrafficController tc)
           
 void setNceUSB(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
 

Constructor Detail

NceSystemConnectionMemo

public NceSystemConnectionMemo()
Method Detail

setNceUSB

public void setNceUSB(int result)

getNceUSB

public int getNceUSB()

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()

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