Package jmri
Interface DccThrottle
-
- All Superinterfaces:
PropertyChangeProvider
,Throttle
- All Known Implementing Classes:
AbstractThrottle
,BiDiBThrottle
,CbusThrottle
,DCCppThrottle
,DebugThrottle
,EasyDccThrottle
,EcosDccThrottle
,EliteXNetThrottle
,Ib1Throttle
,Ib2Throttle
,LocoNetThrottle
,MarklinThrottle
,MqttThrottle
,MrcThrottle
,Mx1Throttle
,NceThrottle
,OlcbThrottle
,Pr2Throttle
,RocoXNetThrottle
,SerialThrottle
,SprogCSThrottle
,SprogThrottle
,SRCPThrottle
,TamsThrottle
,Throttle
,XNetThrottle
,XpaThrottle
,Z21XNetThrottle
public interface DccThrottle extends Throttle
Provide DCC-specific extensions to Throttle interface.
This file is part of JMRI.JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- See Also:
Throttle
-
-
Field Summary
-
Fields inherited from interface jmri.Throttle
F0, F0Momentary, F1, F10, F10Momentary, F11, F11Momentary, F12, F12Momentary, F13, F13Momentary, F14, F14Momentary, F15, F15Momentary, F16, F16Momentary, F17, F17Momentary, F18, F18Momentary, F19, F19Momentary, F1Momentary, F2, F20, F20Momentary, F21, F21Momentary, F22, F22Momentary, F23, F23Momentary, F24, F24Momentary, F25, F25Momentary, F26, F26Momentary, F27, F27Momentary, F28, F28Momentary, F2Momentary, F3, F3Momentary, F4, F4Momentary, F5, F5Momentary, F6, F6Momentary, F7, F7Momentary, F8, F8Momentary, F9, F9Momentary, ISFORWARD, SPEEDINCREMENT, SPEEDSETTING, SPEEDSTEPMODE, SPEEDSTEPS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getSpeedIncrement()
SpeedStepMode
getSpeedStepMode()
Get the current speed step value.void
setSpeedStepMode(SpeedStepMode Mode)
Set the speed step value.-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from interface jmri.Throttle
dispatch, dispose, getF0, getF0Momentary, getF1, getF10, getF10Momentary, getF11, getF11Momentary, getF12, getF12Momentary, getF13, getF13Momentary, getF14, getF14Momentary, getF15, getF15Momentary, getF16, getF16Momentary, getF17, getF17Momentary, getF18, getF18Momentary, getF19, getF19Momentary, getF1Momentary, getF2, getF20, getF20Momentary, getF21, getF21Momentary, getF22, getF22Momentary, getF23, getF23Momentary, getF24, getF24Momentary, getF25, getF25Momentary, getF26, getF26Momentary, getF27, getF27Momentary, getF28, getF28Momentary, getF2Momentary, getF3, getF3Momentary, getF4, getF4Momentary, getF5, getF5Momentary, getF6, getF6Momentary, getF7, getF7Momentary, getF8, getF8Momentary, getF9, getF9Momentary, getFunction, getFunctionMomentary, getFunctions, getFunctionsMomentary, getIsForward, getLocoAddress, getRosterEntry, getSpeedSetting, notifyThrottleDispatchEnabled, notifyThrottleReleaseEnabled, release, setF0, setF0Momentary, setF1, setF10, setF10Momentary, setF11, setF11Momentary, setF12, setF12Momentary, setF13, setF13Momentary, setF14, setF14Momentary, setF15, setF15Momentary, setF16, setF16Momentary, setF17, setF17Momentary, setF18, setF18Momentary, setF19, setF19Momentary, setF1Momentary, setF2, setF20, setF20Momentary, setF21, setF21Momentary, setF22, setF22Momentary, setF23, setF23Momentary, setF24, setF24Momentary, setF25, setF25Momentary, setF26, setF26Momentary, setF27, setF27Momentary, setF28, setF28Momentary, setF2Momentary, setF3, setF3Momentary, setF4, setF4Momentary, setF5, setF5Momentary, setF6, setF6Momentary, setF7, setF7Momentary, setF8, setF8Momentary, setF9, setF9Momentary, setFunction, setFunctionMomentary, setIsForward, setRosterEntry, setSpeedSetting, setSpeedSetting, setSpeedSettingAgain
-
-
-
-
Method Detail
-
getSpeedIncrement
float getSpeedIncrement()
-
setSpeedStepMode
void setSpeedStepMode(SpeedStepMode Mode)
Set the speed step value. Default should be 128 speed step mode in most cases- Parameters:
Mode
- the current speed step mode
-
getSpeedStepMode
SpeedStepMode getSpeedStepMode()
Get the current speed step value.- Returns:
- the current speed step mode
-
-