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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the current document's datasource.Returns the current report document.static StringReturns 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 booleanReturns whether selected key path is to-many.voidresetUI()Updates the swing UI panel from the current selection.voidUpdates the current selection from the Swing UI controls.static voidsetDragKey(String aKey) Sets the current drag key.Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
KeysPanelpublic KeysPanel()Creates a new keys panel.
 
- 
- 
Method Details- 
getDocumentReturns the current report document.
- 
getDataSourceReturns the current document's datasource.
- 
getSelectedShapeReturns the current editor's selected shape.
- 
getWindowTitleReturns the window title for this panel.
- 
getDragKeyReturns the current drag key.
- 
setDragKeySets the current drag key.
- 
isSelectedToManypublic static boolean isSelectedToMany()Returns whether selected key path is to-many.
- 
getUIReturns the Swing UI panel.
- 
resetUIpublic void resetUI()Updates the swing UI panel from the current selection.
- 
respondUIUpdates the current selection from the Swing UI controls.
 
-