Package com.reportmill.panels
Class DataSource
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.panels.DataSource
-
- All Implemented Interfaces:
RMArchiver.Archiving
,java.lang.Cloneable
public class DataSource extends RMObject
This class manages Swing GUI display and editing of editor's datasource.
-
-
Constructor Summary
Constructors Constructor Description DataSource()
Creates a new datasource inspector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RMShape
getSelectedShape()
Returns the currently selected shape.javax.swing.JPanel
getUI()
Returns the Swing UI panel for the datasource inspector.java.lang.String
getWindowTitle()
Returns the name to be used in the inspector panel window title.void
resetUI()
Resets the Swing UI from the current editor's datasource.void
respondUI(java.lang.Object anObj)
Responds to changes from the datasource inspector panel's controls.-
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
-
-
-
Method Detail
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the name to be used in the inspector panel window title.
-
getSelectedShape
public RMShape getSelectedShape()
Returns the currently selected shape.
-
getUI
public javax.swing.JPanel getUI()
Returns the Swing UI panel for the datasource inspector.
-
resetUI
public void resetUI()
Resets the Swing UI from the current editor's datasource.
-
respondUI
public void respondUI(java.lang.Object anObj)
Responds to changes from the datasource inspector panel's controls.
-
-