Class ThrottlesPreferencesWindowKeyboardControls

java.lang.Object
jmri.jmrit.throttle.ThrottlesPreferencesWindowKeyboardControls
All Implemented Interfaces:
Cloneable

A class to store JMRI throttles keyboard shortcuts
  • Constructor Details

  • Method Details

    • getNextThrottleWindowKeys

      public int[][] getNextThrottleWindowKeys()
      Returns:
      the nextThrottleWindowKeys
    • getPrevThrottleWindowKeys

      public int[][] getPrevThrottleWindowKeys()
      Returns:
      the prevThrottleWindowKeys
    • getNextThrottleFrameKeys

      public int[][] getNextThrottleFrameKeys()
      Returns:
      the nextThrottleFrameKeys
    • getPrevThrottleFrameKeys

      public int[][] getPrevThrottleFrameKeys()
      Returns:
      the prevThrottleFrameKeys
    • getNextRunThrottleFrameKeys

      public int[][] getNextRunThrottleFrameKeys()
      Returns:
      the nextRunThrottleFrameKeys
    • getPrevRunThrottleFrameKeys

      public int[][] getPrevRunThrottleFrameKeys()
      Returns:
      the prevRunThrottleFrameKeys
    • getNextThrottleInternalWindowKeys

      Returns:
      the nextThrottleInternalWindowKeys
    • getPrevThrottleInternalWindowKeys

      Returns:
      the prevThrottleInternalWindowKeys
    • getMoveToControlPanelKeys

      public int[][] getMoveToControlPanelKeys()
      Returns:
      the moveToControlPanelKeys
    • getMoveToFunctionPanelKeys

      public int[][] getMoveToFunctionPanelKeys()
      Returns:
      the moveToFunctionPanelKeys
    • getMoveToAddressPanelKeys

      public int[][] getMoveToAddressPanelKeys()
      Returns:
      the moveToAddressPanelKeys
    • getReverseKeys

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

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

      public int[][] getSwitchDirectionKeys()
      Returns:
      the switchDirectionKeys
    • getIdleKeys

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

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

      public int[][] getAccelerateKeys()
      Returns:
      the accelerateKeys
    • getDecelerateKeys

      public int[][] getDecelerateKeys()
      Returns:
      the decelerateKeys
    • getAccelerateMoreKeys

      public int[][] getAccelerateMoreKeys()
      Returns:
      the accelerateMoreKeys
    • getDecelerateMoreKeys

      public int[][] getDecelerateMoreKeys()
      Returns:
      the decelerateMoreKeys
    • getFunctionsKeys

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

      public KeyStroke[] getKeyStrokes(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
    • getMoreSpeedMultiplier

      public float getMoreSpeedMultiplier()
      Returns:
      the moreSpeedMultiplier
    • 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
    • clone

      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • store

      org.jdom2.Element store()
    • load

      public void load(org.jdom2.Element e)