Class KeyboardLayoutEditor

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
KeyboardEditor, KeyboardEditor

public abstract class KeyboardLayoutEditor extends BrandedFrame
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • preview

      protected abstract void preview(com.inductiveautomation.ignition.common.i18n.keyboard.KeyboardLayout layout)
    • onLayoutSelected

      protected void onLayoutSelected(com.inductiveautomation.ignition.common.i18n.keyboard.KeyboardLayout layout)
      Called when a different layout is selected in the list. Subclasses can override this to update previews when selection changes.
      Parameters:
      layout - The newly selected layout
    • onLayoutEdited

      protected void onLayoutEdited()
      Called when the current layout is edited (JSON changes). Subclasses can override this to provide real-time preview updates. Use getCurrentLayoutIfValid() to get the edited layout if validation passes.
    • getCurrentLayoutIfValid

      protected com.inductiveautomation.ignition.common.i18n.keyboard.KeyboardLayout getCurrentLayoutIfValid()
      Attempts to get the current layout as a KeyboardLayout object if validation passes.
      Returns:
      The current keyboard layout, or null if validation fails or no layout is selected