Class RBKeysPanel

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class RBKeysPanel extends KeysPanel
This class shows the current set of keys relative to the current editor selection in a browser and lets users drag and drop them to the editor.
  • Constructor Details

    • RBKeysPanel

      public RBKeysPanel()
      Returns a new keys panel.
  • Method Details

    • getDataSource

      public RMDataSource getDataSource()
      Returns the current document's datasource.
      Overrides:
      getDataSource in class KeysPanel
    • getUI

      public RJPanel getUI()
      Returns the Swing UI for this panel.
      Overrides:
      getUI in class KeysPanel
    • resetUI

      public void resetUI()
      Called to update the UI for this panel.
      Overrides:
      resetUI in class KeysPanel
    • respondUI

      public void respondUI(Object anObj)
      Called by the UI to respond to user actions.
      Overrides:
      respondUI in class KeysPanel
    • getDragKey

      public static String getDragKey()
      Returns the current drag key.
    • isSelectedToMany

      public static boolean isSelectedToMany()
      Returns whether selected key path is to-many.