|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.AbstractThrottleManager
jmri.jmrix.xpa.XpaThrottleManager
public class XpaThrottleManager
XPA implementation of a ThrottleManager
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jmri.jmrix.AbstractThrottleManager |
|---|
AbstractThrottleManager.Addresses |
| Constructor Summary | |
|---|---|
XpaThrottleManager()
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
addressTypeUnique()
Are there any ambiguous addresses (short vs long) on this system? |
boolean |
canBeLongAddress(int address)
Address 100 and above is a long address |
boolean |
canBeShortAddress(int address)
Address 99 and below is a short address |
boolean |
hasDispatchFunction()
Check to see if the Dispatch Button should be enabled or not Default to true, override if necessary |
void |
requestThrottleSetup(LocoAddress address,
boolean control)
Request a new throttle object be creaetd for the address, and let the throttle listeners know about it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jmri.ThrottleManager |
|---|
addressStillRequired, attachListener, cancelThrottleRequest, cancelThrottleRequest, dispatchThrottle, disposeThrottle, getThrottleInfo, releaseThrottle, removeListener, requestThrottle, requestThrottle, requestThrottle, supportedSpeedModes |
| Constructor Detail |
|---|
public XpaThrottleManager()
| Method Detail |
|---|
public void requestThrottleSetup(LocoAddress address,
boolean control)
requestThrottleSetup in class AbstractThrottleManagerpublic boolean hasDispatchFunction()
AbstractThrottleManager
hasDispatchFunction in interface ThrottleManagerhasDispatchFunction in class AbstractThrottleManagerpublic boolean canBeLongAddress(int address)
canBeLongAddress in interface ThrottleManagerpublic boolean canBeShortAddress(int address)
canBeShortAddress in interface ThrottleManagerpublic boolean addressTypeUnique()
addressTypeUnique in interface ThrottleManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||