Package jmri.jmrix.roco.z21
Class Z21XNetProgrammerManager
- java.lang.Object
-
- jmri.beans.PropertyChangeSupport
-
- jmri.managers.DefaultProgrammerManager
-
- jmri.jmrix.lenz.XNetProgrammerManager
-
- jmri.jmrix.roco.z21.Z21XNetProgrammerManager
-
- All Implemented Interfaces:
AddressedProgrammerManager
,PropertyChangeFirer
,PropertyChangeProvider
,GlobalProgrammerManager
public class Z21XNetProgrammerManager extends XNetProgrammerManager
Extend XNetProgrammerManager for Z21.- See Also:
XNetProgrammerManager
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.lenz.XNetProgrammerManager
tc
-
Fields inherited from class jmri.beans.PropertyChangeSupport
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description Z21XNetProgrammerManager(Programmer pProgrammer, XNetSystemConnectionMemo memo)
Z21XNetProgrammerManager(Programmer pProgrammer, XNetSystemConnectionMemo xnetMemo, LocoNetSystemConnectionMemo loconetMemo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressedProgrammer
getAddressedProgrammer(boolean pLongAddress, int pAddress)
Gain access to a Addressed Mode Programmer without reservation.boolean
isAddressedModePossible()
Z21 Command stations do provide Ops Mode.void
setLocoNetMemo(LocoNetSystemConnectionMemo loconetMemo)
-
Methods inherited from class jmri.jmrix.lenz.XNetProgrammerManager
reserveAddressedProgrammer
-
Methods inherited from class jmri.managers.DefaultProgrammerManager
dispose, getDefaultModes, getGlobalProgrammer, getUserName, isAddressedModePossible, isGlobalProgrammerAvailable, releaseAddressedProgrammer, releaseGlobalProgrammer, reserveGlobalProgrammer, toString
-
Methods inherited from class jmri.beans.PropertyChangeSupport
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jmri.AddressedProgrammerManager
getAddressedProgrammer, reserveAddressedProgrammer
-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Constructor Detail
-
Z21XNetProgrammerManager
public Z21XNetProgrammerManager(Programmer pProgrammer, XNetSystemConnectionMemo memo)
-
Z21XNetProgrammerManager
public Z21XNetProgrammerManager(Programmer pProgrammer, XNetSystemConnectionMemo xnetMemo, LocoNetSystemConnectionMemo loconetMemo)
-
-
Method Detail
-
isAddressedModePossible
public boolean isAddressedModePossible()
Z21 Command stations do provide Ops Mode.- Specified by:
isAddressedModePossible
in interfaceAddressedProgrammerManager
- Overrides:
isAddressedModePossible
in classXNetProgrammerManager
- Returns:
- true
-
getAddressedProgrammer
public AddressedProgrammer getAddressedProgrammer(boolean pLongAddress, int pAddress)
Description copied from interface:AddressedProgrammerManager
Gain access to a Addressed Mode Programmer without reservation.- Specified by:
getAddressedProgrammer
in interfaceAddressedProgrammerManager
- Overrides:
getAddressedProgrammer
in classXNetProgrammerManager
- Parameters:
pLongAddress
- true if this is a long (14 bit) address, else falsepAddress
- specific decoder address to use- Returns:
- null only if there isn't an Ops Mode Programmer in the system
-
setLocoNetMemo
public void setLocoNetMemo(LocoNetSystemConnectionMemo loconetMemo)
-
-