Class KeysPanel

java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.KeysPanel
All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
Direct Known Subclasses:
RBKeysPanel

public class KeysPanel extends RMObject
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

    • KeysPanel

      public KeysPanel()
      Creates a new keys panel.
  • Method Details

    • getDocument

      public RMDocument getDocument()
      Returns the current report document.
    • getDataSource

      public RMDataSource getDataSource()
      Returns the current document's datasource.
    • getSelectedShape

      public RMShape getSelectedShape()
      Returns the current editor's selected shape.
    • getWindowTitle

      public String getWindowTitle()
      Returns the window title for this panel.
    • getDragKey

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

      public static void setDragKey(String aKey)
      Sets the current drag key.
    • isSelectedToMany

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

      public RJPanel getUI()
      Returns the Swing UI panel.
    • resetUI

      public void resetUI()
      Updates the swing UI panel from the current selection.
    • respondUI

      public void respondUI(Object anObj)
      Updates the current selection from the Swing UI controls.