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
,java.lang.Cloneable
public class RBKeysPanel extends KeysPanel
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 Constructor Description RBKeysPanel()
Returns a new keys panel.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RMDataSource
getDataSource()
Returns the current document's datasource.static java.lang.String
getDragKey()
Returns the current drag key.RJPanel
getUI()
Returns the Swing UI for this panel.static boolean
isSelectedToMany()
Returns whether selected key path is to-many.void
resetUI()
Called to update the UI for this panel.void
respondUI(java.lang.Object anObj)
Called by the UI to respond to user actions.-
Methods inherited from class com.reportmill.panels.KeysPanel
getDocument, getSelectedShape, getWindowTitle, setDragKey
-
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
-
-
-
Method Detail
-
getDataSource
public RMDataSource getDataSource()
Returns the current document's datasource.- Overrides:
getDataSource
in classKeysPanel
-
getUI
public RJPanel getUI()
Returns the Swing UI for this panel.
-
resetUI
public void resetUI()
Called to update the UI for this panel.
-
respondUI
public void respondUI(java.lang.Object anObj)
Called by the UI to respond to user actions.
-
getDragKey
public static java.lang.String getDragKey()
Returns the current drag key.
-
isSelectedToMany
public static boolean isSelectedToMany()
Returns whether selected key path is to-many.
-
-