Package jmri.implementation
Class PermissionAddressedProgrammer
- java.lang.Object
-
- jmri.implementation.PermissionProgrammer
-
- jmri.implementation.PermissionAddressedProgrammer
-
- All Implemented Interfaces:
AddressedProgrammer
,Disposable
,Programmer
public class PermissionAddressedProgrammer extends PermissionProgrammer implements AddressedProgrammer
An addressed programmer which supports permissions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jmri.Programmer
Programmer.Configurator, Programmer.WriteConfirmMode
-
-
Field Summary
-
Fields inherited from class jmri.implementation.PermissionProgrammer
_programmer
-
-
Constructor Summary
Constructors Constructor Description PermissionAddressedProgrammer(AddressedProgrammer programmer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAddress()
int
getAddressNumber()
boolean
getLongAddress()
protected Permission
getPermission()
-
Methods inherited from class jmri.implementation.PermissionProgrammer
addPropertyChangeListener, confirmCV, decodeErrorCode, getCanRead, getCanRead, getCanWrite, getCanWrite, getConfigurator, getMode, getSupportedModes, getWriteConfirmMode, readCV, removePropertyChangeListener, setMode, throttleUserRequest, writeCV
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jmri.Programmer
addPropertyChangeListener, confirmCV, decodeErrorCode, dispose, getCanRead, getCanRead, getCanWrite, getCanWrite, getConfigurator, getMode, getSupportedModes, getWriteConfirmMode, notifyProgListenerEnd, readCV, readCV, removePropertyChangeListener, setMode, writeCV
-
-
-
-
Constructor Detail
-
PermissionAddressedProgrammer
public PermissionAddressedProgrammer(AddressedProgrammer programmer)
-
-
Method Detail
-
getPermission
protected Permission getPermission()
- Overrides:
getPermission
in classPermissionProgrammer
-
getLongAddress
public boolean getLongAddress()
- Specified by:
getLongAddress
in interfaceAddressedProgrammer
-
getAddressNumber
public int getAddressNumber()
- Specified by:
getAddressNumber
in interfaceAddressedProgrammer
-
getAddress
public java.lang.String getAddress()
- Specified by:
getAddress
in interfaceAddressedProgrammer
-
-