Package com.reportmill.panels
Class KeysPanel
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.panels.KeysPanel
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.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 SummaryConstructors Constructor Description KeysPanel()Creates a new keys panel.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RMDataSourcegetDataSource()Returns the current document's datasource.RMDocumentgetDocument()Returns the current report document.static java.lang.StringgetDragKey()Returns the current drag key.RMShapegetSelectedShape()Returns the current editor's selected shape.RJPanelgetUI()Returns the Swing UI panel.java.lang.StringgetWindowTitle()Returns the window title for this panel.static booleanisSelectedToMany()Returns whether selected key path is to-many.voidresetUI()Updates the swing UI panel from the current selection.voidrespondUI(java.lang.Object anObj)Updates the current selection from the Swing UI controls.static voidsetDragKey(java.lang.String aKey)Sets the current drag key.- 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Method Detail- 
getDocumentpublic RMDocument getDocument() Returns the current report document.
 - 
getDataSourcepublic RMDataSource getDataSource() Returns the current document's datasource.
 - 
getSelectedShapepublic RMShape getSelectedShape() Returns the current editor's selected shape.
 - 
getWindowTitlepublic java.lang.String getWindowTitle() Returns the window title for this panel.
 - 
getDragKeypublic static java.lang.String getDragKey() Returns the current drag key.
 - 
setDragKeypublic static void setDragKey(java.lang.String aKey) Sets the current drag key.
 - 
isSelectedToManypublic static boolean isSelectedToMany() Returns whether selected key path is to-many.
 - 
getUIpublic RJPanel getUI() Returns the Swing UI panel.
 - 
resetUIpublic void resetUI() Updates the swing UI panel from the current selection.
 - 
respondUIpublic void respondUI(java.lang.Object anObj) Updates the current selection from the Swing UI controls.
 
- 
 
-