Package com.ribsapp.panels
Class RBKeysPanel
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.KeysPanel
com.ribsapp.panels.RBKeysPanel
- All Implemented Interfaces:
RMArchiver.Archiving,Cloneable
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.static StringReturns the current drag key.getUI()Returns the Swing UI for this panel.static booleanReturns whether selected key path is to-many.voidresetUI()Called to update the UI for this panel.voidCalled by the UI to respond to user actions.Methods inherited from class com.reportmill.panels.KeysPanel
getDocument, getSelectedShape, getWindowTitle, setDragKeyMethods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
RBKeysPanel
public RBKeysPanel()Returns a new keys panel.
-
-
Method Details
-
getDataSource
Returns the current document's datasource.- Overrides:
getDataSourcein classKeysPanel
-
getUI
Returns the Swing UI for this panel. -
resetUI
public void resetUI()Called to update the UI for this panel. -
respondUI
Called by the UI to respond to user actions. -
getDragKey
Returns the current drag key. -
isSelectedToMany
public static boolean isSelectedToMany()Returns whether selected key path is to-many.
-