Class ThrottlesPreferencesWindowKeyboardControls

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class ThrottlesPreferencesWindowKeyboardControls
    extends java.lang.Object
    implements java.lang.Cloneable
    A class to store JMRI throttles keyboard shortcuts
    • Method Detail

      • getReverseKeys

        public int[][] getReverseKeys()
        Returns:
        the reverseKeys
      • getForwardKeys

        public int[][] getForwardKeys()
        Returns:
        the forwardKeys
      • getIdleKeys

        public int[][] getIdleKeys()
        Returns:
        the idleKeys
      • getStopKeys

        public int[][] getStopKeys()
        Returns:
        the stopKeys
      • getFunctionsKeys

        public int[][] getFunctionsKeys​(int fn)
        Parameters:
        fn - function number
        Returns:
        the functionsKeys
      • getKeyStrokes

        public javax.swing.KeyStroke[] getKeyStrokes​(java.lang.String evtString)
      • getNbFunctionsKeys

        public int getNbFunctionsKeys()
        Returns:
        the number of functions shortcuts
      • setFunctionsKeys

        public void setFunctionsKeys​(int fn,
                                     int[][] aFunctionsKeys)
        Parameters:
        fn - the function numbers
        aFunctionsKeys - the functionsKeys to set
      • setMoreSpeedMultiplier

        public void setMoreSpeedMultiplier​(float moreSpeedMultiplier)
        Parameters:
        moreSpeedMultiplier - the moreSpeedMultiplier to set
      • setNextThrottleWindowKeys

        public void setNextThrottleWindowKeys​(int[][] nextThrottleWindowKeys)
        Parameters:
        nextThrottleWindowKeys - the nextThrottleWindowKeys to set
      • setPrevThrottleWindowKeys

        public void setPrevThrottleWindowKeys​(int[][] prevThrottleWindowKeys)
        Parameters:
        prevThrottleWindowKeys - the prevThrottleWindowKeys to set
      • setNextTrottleFrameKeys

        public void setNextTrottleFrameKeys​(int[][] nextTrottleFrameKeys)
        Parameters:
        nextTrottleFrameKeys - the nextThrottleFrameKeys to set
      • setPrevThrottleFrameKeys

        public void setPrevThrottleFrameKeys​(int[][] prevThrottleFrameKeys)
        Parameters:
        prevThrottleFrameKeys - the prevThrottleFrameKeys to set
      • setNextRunThrottleFrameKeys

        public void setNextRunThrottleFrameKeys​(int[][] nextRunThrottleFrameKeys)
        Parameters:
        nextRunThrottleFrameKeys - the nextRunThrottleFrameKeys to set
      • setPrevRunThrottleFrameKeys

        public void setPrevRunThrottleFrameKeys​(int[][] prevRunThrottleFrameKeys)
        Parameters:
        prevRunThrottleFrameKeys - the prevRunThrottleFrameKeys to set
      • setNextThrottleInternalWindowKeys

        public void setNextThrottleInternalWindowKeys​(int[][] nextThrottleInternalWindowKeys)
        Parameters:
        nextThrottleInternalWindowKeys - the nextThrottleInternalWindowKeys to set
      • setPrevThrottleInternalWindowKeys

        public void setPrevThrottleInternalWindowKeys​(int[][] prevThrottleInternalWindowKeys)
        Parameters:
        prevThrottleInternalWindowKeys - the prevThrottleInternalWindowKeys to set
      • setMoveToControlPanelKeys

        public void setMoveToControlPanelKeys​(int[][] moveToControlPanelKeys)
        Parameters:
        moveToControlPanelKeys - the moveToControlPanelKeys to set
      • setMoveToFunctionPanelKeys

        public void setMoveToFunctionPanelKeys​(int[][] moveToFunctionPanelKeys)
        Parameters:
        moveToFunctionPanelKeys - the moveToFunctionPanelKeys to set
      • setMoveToAddressPanelKeys

        public void setMoveToAddressPanelKeys​(int[][] moveToAddressPanelKeys)
        Parameters:
        moveToAddressPanelKeys - the moveToAddressPanelKeys to set
      • setReverseKeys

        public void setReverseKeys​(int[][] reverseKeys)
        Parameters:
        reverseKeys - the reverseKeys to set
      • setForwardKeys

        public void setForwardKeys​(int[][] forwardKeys)
        Parameters:
        forwardKeys - the forwardKeys to set
      • setSwitchDirectionKeys

        public void setSwitchDirectionKeys​(int[][] switchDirectionKeys)
        Parameters:
        switchDirectionKeys - the switchDirectionKeys to set
      • setIdleKeys

        public void setIdleKeys​(int[][] idleKeys)
        Parameters:
        idleKeys - the idleKeys to set
      • setStopKeys

        public void setStopKeys​(int[][] stopKeys)
        Parameters:
        stopKeys - the stopKeys to set
      • setAccelerateKeys

        public void setAccelerateKeys​(int[][] accelerateKeys)
        Parameters:
        accelerateKeys - the accelerateKeys to set
      • setDecelerateKeys

        public void setDecelerateKeys​(int[][] decelerateKeys)
        Parameters:
        decelerateKeys - the decelerateKeys to set
      • setAccelerateMoreKeys

        public void setAccelerateMoreKeys​(int[][] accelerateMoreKeys)
        Parameters:
        accelerateMoreKeys - the accelerateMoreKeys to set
      • setDecelerateMoreKeys

        public void setDecelerateMoreKeys​(int[][] decelerateMoreKeys)
        Parameters:
        decelerateMoreKeys - the decelerateMoreKeys to set