jmri.jmrit.withrottle
Class TrackPowerController

Show UML class diagram
java.lang.Object
  extended by jmri.jmrit.withrottle.AbstractController
      extended by jmri.jmrit.withrottle.TrackPowerController
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class TrackPowerController
extends AbstractController
implements PropertyChangeListener


Field Summary
(package private) static org.slf4j.Logger log
           
 
Fields inherited from class jmri.jmrit.withrottle.AbstractController
canBuildList, isValid, listeners, sysNameList
 
Constructor Summary
TrackPowerController()
           
 
Method Summary
 void deregister()
          Deregister as listener of NamedBeans
 void handleMessage(String message)
          Break down a message and use it.
 void propertyChange(PropertyChangeEvent event)
           
 void register()
          Register as listener of NamedBeans to be updated of changes.
 void sendCurrentState()
           
 boolean verifyCreation()
          isValid is used to indicate if the Controller is created.
 
Methods inherited from class jmri.jmrit.withrottle.AbstractController
addControllerListener, buildList, checkCanBuildList, filterList, removeControllerListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.slf4j.Logger log
Constructor Detail

TrackPowerController

public TrackPowerController()
Method Detail

verifyCreation

public boolean verifyCreation()
Description copied from class: AbstractController
isValid is used to indicate if the Controller is created. If false, we can null the controller and reduce overhead.

Specified by:
verifyCreation in class AbstractController
Returns:
isValid

handleMessage

public void handleMessage(String message)
Description copied from class: AbstractController
Break down a message and use it.

Specified by:
handleMessage in class AbstractController

sendCurrentState

public void sendCurrentState()

propertyChange

public void propertyChange(PropertyChangeEvent event)
Specified by:
propertyChange in interface PropertyChangeListener

register

public void register()
Description copied from class: AbstractController
Register as listener of NamedBeans to be updated of changes.

Specified by:
register in class AbstractController

deregister

public void deregister()
Description copied from class: AbstractController
Deregister as listener of NamedBeans

Specified by:
deregister in class AbstractController


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