Package jmri.jmrit.throttle
Class ThrottlesPreferencesWindowKeyboardControls
java.lang.Object
jmri.jmrit.throttle.ThrottlesPreferencesWindowKeyboardControls
- All Implemented Interfaces:
Cloneable
A class to store JMRI throttles keyboard shortcuts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()int[][]int[][]int[][]int[][]int[][]int[][]getFunctionsKeys(int fn) int[][]getKeyStrokes(String evtString) floatint[][]int[][]int[][]intint[][]int[][]int[][]int[][]int[][]int[][]int[][]int[][]int[][]int[][]int[][]voidload(org.jdom2.Element e) voidsetAccelerateKeys(int[][] accelerateKeys) voidsetAccelerateMoreKeys(int[][] accelerateMoreKeys) voidsetDecelerateKeys(int[][] decelerateKeys) voidsetDecelerateMoreKeys(int[][] decelerateMoreKeys) voidsetForwardKeys(int[][] forwardKeys) voidsetFunctionsKeys(int fn, int[][] aFunctionsKeys) voidsetIdleKeys(int[][] idleKeys) voidsetMoreSpeedMultiplier(float moreSpeedMultiplier) voidsetMoveToAddressPanelKeys(int[][] moveToAddressPanelKeys) voidsetMoveToControlPanelKeys(int[][] moveToControlPanelKeys) voidsetMoveToFunctionPanelKeys(int[][] moveToFunctionPanelKeys) voidsetNextRunThrottleFrameKeys(int[][] nextRunThrottleFrameKeys) voidsetNextThrottleInternalWindowKeys(int[][] nextThrottleInternalWindowKeys) voidsetNextThrottleWindowKeys(int[][] nextThrottleWindowKeys) voidsetNextTrottleFrameKeys(int[][] nextTrottleFrameKeys) voidsetPrevRunThrottleFrameKeys(int[][] prevRunThrottleFrameKeys) voidsetPrevThrottleFrameKeys(int[][] prevThrottleFrameKeys) voidsetPrevThrottleInternalWindowKeys(int[][] prevThrottleInternalWindowKeys) voidsetPrevThrottleWindowKeys(int[][] prevThrottleWindowKeys) voidsetReverseKeys(int[][] reverseKeys) voidsetStopKeys(int[][] stopKeys) voidsetSwitchDirectionKeys(int[][] switchDirectionKeys) (package private) org.jdom2.Elementstore()
-
Constructor Details
-
ThrottlesPreferencesWindowKeyboardControls
-
-
Method Details
-
getNextThrottleWindowKeys
- Returns:
- the nextThrottleWindowKeys
-
getPrevThrottleWindowKeys
- Returns:
- the prevThrottleWindowKeys
-
getNextThrottleFrameKeys
- Returns:
- the nextThrottleFrameKeys
-
getPrevThrottleFrameKeys
- Returns:
- the prevThrottleFrameKeys
-
getNextRunThrottleFrameKeys
- Returns:
- the nextRunThrottleFrameKeys
-
getPrevRunThrottleFrameKeys
- Returns:
- the prevRunThrottleFrameKeys
-
getNextThrottleInternalWindowKeys
- Returns:
- the nextThrottleInternalWindowKeys
-
getPrevThrottleInternalWindowKeys
- Returns:
- the prevThrottleInternalWindowKeys
-
getMoveToControlPanelKeys
- Returns:
- the moveToControlPanelKeys
-
getMoveToFunctionPanelKeys
- Returns:
- the moveToFunctionPanelKeys
-
getMoveToAddressPanelKeys
- Returns:
- the moveToAddressPanelKeys
-
getReverseKeys
- Returns:
- the reverseKeys
-
getForwardKeys
- Returns:
- the forwardKeys
-
getSwitchDirectionKeys
- Returns:
- the switchDirectionKeys
-
getIdleKeys
- Returns:
- the idleKeys
-
getStopKeys
- Returns:
- the stopKeys
-
getAccelerateKeys
- Returns:
- the accelerateKeys
-
getDecelerateKeys
- Returns:
- the decelerateKeys
-
getAccelerateMoreKeys
- Returns:
- the accelerateMoreKeys
-
getDecelerateMoreKeys
- Returns:
- the decelerateMoreKeys
-
getFunctionsKeys
- Parameters:
fn- function number- Returns:
- the functionsKeys
-
getKeyStrokes
-
getNbFunctionsKeys
- Returns:
- the number of functions shortcuts
-
setFunctionsKeys
- Parameters:
fn- the function numbersaFunctionsKeys- the functionsKeys to set
-
getMoreSpeedMultiplier
- Returns:
- the moreSpeedMultiplier
-
setMoreSpeedMultiplier
- Parameters:
moreSpeedMultiplier- the moreSpeedMultiplier to set
-
setNextThrottleWindowKeys
- Parameters:
nextThrottleWindowKeys- the nextThrottleWindowKeys to set
-
setPrevThrottleWindowKeys
- Parameters:
prevThrottleWindowKeys- the prevThrottleWindowKeys to set
-
setNextTrottleFrameKeys
- Parameters:
nextTrottleFrameKeys- the nextThrottleFrameKeys to set
-
setPrevThrottleFrameKeys
- Parameters:
prevThrottleFrameKeys- the prevThrottleFrameKeys to set
-
setNextRunThrottleFrameKeys
- Parameters:
nextRunThrottleFrameKeys- the nextRunThrottleFrameKeys to set
-
setPrevRunThrottleFrameKeys
- Parameters:
prevRunThrottleFrameKeys- the prevRunThrottleFrameKeys to set
-
setNextThrottleInternalWindowKeys
- Parameters:
nextThrottleInternalWindowKeys- the nextThrottleInternalWindowKeys to set
-
setPrevThrottleInternalWindowKeys
- Parameters:
prevThrottleInternalWindowKeys- the prevThrottleInternalWindowKeys to set
-
setMoveToControlPanelKeys
- Parameters:
moveToControlPanelKeys- the moveToControlPanelKeys to set
-
setMoveToFunctionPanelKeys
- Parameters:
moveToFunctionPanelKeys- the moveToFunctionPanelKeys to set
-
setMoveToAddressPanelKeys
- Parameters:
moveToAddressPanelKeys- the moveToAddressPanelKeys to set
-
setReverseKeys
- Parameters:
reverseKeys- the reverseKeys to set
-
setForwardKeys
- Parameters:
forwardKeys- the forwardKeys to set
-
setSwitchDirectionKeys
- Parameters:
switchDirectionKeys- the switchDirectionKeys to set
-
setIdleKeys
- Parameters:
idleKeys- the idleKeys to set
-
setStopKeys
- Parameters:
stopKeys- the stopKeys to set
-
setAccelerateKeys
- Parameters:
accelerateKeys- the accelerateKeys to set
-
setDecelerateKeys
- Parameters:
decelerateKeys- the decelerateKeys to set
-
setAccelerateMoreKeys
- Parameters:
accelerateMoreKeys- the accelerateMoreKeys to set
-
setDecelerateMoreKeys
- Parameters:
decelerateMoreKeys- the decelerateMoreKeys to set
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
store
org.jdom2.Element store() -
load
-