Package com.reportmill.panels
Class KeysPanel
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.KeysPanel
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
- Direct Known Subclasses:
RBKeysPanel
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the current document's datasource.Returns the current report document.static String
Returns the current drag key.Returns the current editor's selected shape.getUI()
Returns the Swing UI panel.Returns the window title for this panel.static boolean
Returns whether selected key path is to-many.void
resetUI()
Updates the swing UI panel from the current selection.void
Updates the current selection from the Swing UI controls.static void
setDragKey
(String aKey) Sets the current drag key.Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
KeysPanel
public KeysPanel()Creates a new keys panel.
-
-
Method Details
-
getDocument
Returns the current report document. -
getDataSource
Returns the current document's datasource. -
getSelectedShape
Returns the current editor's selected shape. -
getWindowTitle
Returns the window title for this panel. -
getDragKey
Returns the current drag key. -
setDragKey
Sets the current drag key. -
isSelectedToMany
public static boolean isSelectedToMany()Returns whether selected key path is to-many. -
getUI
Returns the Swing UI panel. -
resetUI
public void resetUI()Updates the swing UI panel from the current selection. -
respondUI
Updates the current selection from the Swing UI controls.
-