Class AceCommandDescription.KeyBinding

java.lang.Object
cn.mapway.document.ui.client.component.ace.AceCommandDescription.KeyBinding
Enclosing class:
AceCommandDescription

public static class AceCommandDescription.KeyBinding extends Object
Key binding description.
  • Constructor Details

    • KeyBinding

      public KeyBinding(String allPlatforms)
      Constructor for key bindings for all platforms.
      Parameters:
      allPlatforms - key bindings (e.g. "shift-esc|ctrl-`" or "Command+Alt+C")
    • KeyBinding

      public KeyBinding(String exceptMac, String mac)
      Constructor for separate key bindings for Mac and other platforms.
      Parameters:
      exceptMac - key bindings for all other than Mac (e.g. "shift-esc|ctrl-`")
      mac - key bindings for Mac (e.g. "Command+Alt+C")
  • Method Details

    • getAllPlatforms

      public String getAllPlatforms()
    • getMac

      public String getMac()
    • getExceptMac

      public String getExceptMac()
    • toString

      public String toString()
      Overrides:
      toString in class Object