Package jmri.jmrix.lenz.hornbyelite
Class EliteXNetSystemConnectionMemo
- java.lang.Object
-
- jmri.beans.UnboundBean
-
- jmri.beans.Bean
-
- jmri.jmrix.DefaultSystemConnectionMemo
-
- jmri.jmrix.lenz.XNetSystemConnectionMemo
-
- jmri.jmrix.lenz.hornbyelite.EliteXNetSystemConnectionMemo
-
- All Implemented Interfaces:
BeanInterface
,PropertyChangeFirer
,PropertyChangeProvider
,Disposable
,SystemConnectionMemo
public class EliteXNetSystemConnectionMemo extends XNetSystemConnectionMemo
Lightweight class to denote that a system is active and provide general informationObjects of specific subtypes are registered in the instance manager to activate their particular system.
-
-
Field Summary
-
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 EliteXNetSystemConnectionMemo()
EliteXNetSystemConnectionMemo(XNetTrafficController xt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
provides(java.lang.Class<?> type)
Check if this connection provides a specific manager type.-
Methods inherited from class jmri.jmrix.lenz.XNetSystemConnectionMemo
dispose, getActionModelResourceBundle, getCommandStation, getLenzCommandStation, getLightManager, getNamedBeanComparator, getPowerManager, getProgrammerManager, getSensorManager, getThrottleManager, getTurnoutManager, getXNetTrafficController, setCommandStation, setLenzCommandStation, setLightManager, setPowerManager, setProgrammerManager, setSensorManager, setThrottleManager, setTurnoutManager, setXNetTrafficController
-
Methods inherited from class jmri.jmrix.DefaultSystemConnectionMemo
deregister, get, getActionFactory, getConsistManager, getDefaultOutputInterval, getDisabled, getOutputInterval, getSystemPrefix, getUserName, isDirty, isRestartRequired, 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
-
-
-
-
Constructor Detail
-
EliteXNetSystemConnectionMemo
public EliteXNetSystemConnectionMemo(XNetTrafficController xt)
-
EliteXNetSystemConnectionMemo
public EliteXNetSystemConnectionMemo()
-
-
Method Detail
-
provides
public boolean provides(java.lang.Class<?> type)
Description copied from class:DefaultSystemConnectionMemo
Check if this connection provides a specific manager type. This method must return false if a manager for the specific type is not provided, and must return true if a manager for the specific type is provided.- Specified by:
provides
in interfaceSystemConnectionMemo
- Overrides:
provides
in classDefaultSystemConnectionMemo
- Parameters:
type
- The class type for the manager to be provided- Returns:
- true if the specified manager is provided
- See Also:
DefaultSystemConnectionMemo.get(java.lang.Class)
-
-