Package jmri.jmrix.ieee802154.xbee
Class XBeeConnectionMemo
- java.lang.Object
-
- jmri.beans.UnboundBean
-
- jmri.beans.Bean
-
- jmri.jmrix.DefaultSystemConnectionMemo
-
- jmri.jmrix.ieee802154.IEEE802154SystemConnectionMemo
-
- jmri.jmrix.ieee802154.xbee.XBeeConnectionMemo
-
- All Implemented Interfaces:
BeanInterface
,PropertyChangeFirer
,PropertyChangeProvider
,Disposable
,ConfiguringSystemConnectionMemo
,SystemConnectionMemo
public class XBeeConnectionMemo extends IEEE802154SystemConnectionMemo
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
Fields Modifier and Type Field Description (package private) ComponentFactory
componentFactory
-
Fields inherited from class jmri.jmrix.DefaultSystemConnectionMemo
classObjectMap
-
Fields inherited from class jmri.beans.Bean
propertyChangeSupport
-
Fields inherited from interface jmri.SystemConnectionMemo
DEREGISTER, DISABLED, INTERVAL, STORE, SYSTEM_PREFIX, USER_NAME
-
-
Constructor Summary
Constructors Constructor Description XBeeConnectionMemo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureManagers()
Configure the common managers for XBee connections.void
dispose()
Dispose of System Connection.protected java.util.ResourceBundle
getActionModelResourceBundle()
LightManager
getLightManager()
SensorManager
getSensorManager()
TurnoutManager
getTurnoutManager()
XBeeNodeManager
getXBeeNodeManager()
protected void
init()
void
setLightManager(LightManager s)
void
setSensorManager(SensorManager s)
void
setTurnoutManager(TurnoutManager s)
void
setXBeeNodeManager(XBeeNodeManager manager)
-
Methods inherited from class jmri.jmrix.ieee802154.IEEE802154SystemConnectionMemo
getNamedBeanComparator, getTrafficController, setTrafficController
-
Methods inherited from class jmri.jmrix.DefaultSystemConnectionMemo
deregister, get, getActionFactory, getConsistManager, getDefaultOutputInterval, getDisabled, getOutputInterval, getSystemPrefix, getUserName, isDirty, isRestartRequired, provides, register, setConsistManager, setDisabled, setOutputInterval, setSystemPrefix, setUserName, store
-
Methods inherited from class jmri.beans.Bean
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, isNotifyOnEDT, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from class jmri.beans.UnboundBean
getIndexedProperty, getProperty, getPropertyNames, hasIndexedProperty, hasProperty, setIndexedProperty, setProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from interface jmri.SystemConnectionMemo
get, getActionFactory, getDefaultOutputInterval, getDisabled, getOutputInterval, getSystemPrefix, getUserName, isDirty, isRestartRequired, provides, register, setDisabled, setOutputInterval, setSystemPrefix, setUserName
-
-
-
-
Field Detail
-
componentFactory
ComponentFactory componentFactory
-
-
Constructor Detail
-
XBeeConnectionMemo
public XBeeConnectionMemo()
-
-
Method Detail
-
init
protected void init()
- Overrides:
init
in classIEEE802154SystemConnectionMemo
-
configureManagers
public void configureManagers()
Configure the common managers for XBee connections. This puts the common manager config in one place.- Specified by:
configureManagers
in interfaceConfiguringSystemConnectionMemo
- Overrides:
configureManagers
in classIEEE802154SystemConnectionMemo
-
getXBeeNodeManager
public XBeeNodeManager getXBeeNodeManager()
-
setXBeeNodeManager
public void setXBeeNodeManager(XBeeNodeManager manager)
-
getSensorManager
public SensorManager getSensorManager()
-
setSensorManager
public void setSensorManager(SensorManager s)
-
getLightManager
public LightManager getLightManager()
-
setLightManager
public void setLightManager(LightManager s)
-
getTurnoutManager
public TurnoutManager getTurnoutManager()
-
setTurnoutManager
public void setTurnoutManager(TurnoutManager s)
-
getActionModelResourceBundle
protected java.util.ResourceBundle getActionModelResourceBundle()
- Overrides:
getActionModelResourceBundle
in classIEEE802154SystemConnectionMemo
-
dispose
public void dispose()
Description copied from class:DefaultSystemConnectionMemo
Dispose of System Connection.Removes objects from classObjectMap after calling dispose if Disposable. Removes these objects from InstanceManager.
- Specified by:
dispose
in interfaceDisposable
- Specified by:
dispose
in interfaceSystemConnectionMemo
- Overrides:
dispose
in classIEEE802154SystemConnectionMemo
-
-