Package com.reportmill.panels
Class InspectorPanel
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.panels.InspectorPanel
-
- All Implemented Interfaces:
RMArchiver.Archiving
,java.lang.Cloneable
- Direct Known Subclasses:
RBInspectorPanel
public class InspectorPanel extends RMObject
This class is responsible for the Swing GUI associated with the inspector window.
-
-
Constructor Summary
Constructors Constructor Description InspectorPanel()
Creates a new inspector manager.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the InspectorPanel and releases the UI.RJPanel
getUI()
Returns the Swing UI panel for the inspector.int
getVisible()
Returns the selected inspector index (or -1 if inspector not visible).boolean
isEnabled()
Returns whether the inspector updates itself.boolean
isShowingDataSource()
Returns whether the inspector is showing the datasource inspector.boolean
isVisible()
Returns whether the inspector is visible.void
popSelection(java.awt.event.ActionEvent e)
Changes the selection path selection to the level of the string index in the action event.void
resetSelectionPathMatrix()
Updates the selection path UI.void
resetUI()
Refreshes the inspector for the current editor selection.void
respondUI(java.lang.Object anObj)
Handles changes to the inspector Swing GUI controls.void
selectRoot()
void
setDatasourceEditorPanel(javax.swing.JComponent comp)
EDIT- Added by CGvoid
setEnabled(boolean aValue)
Sets whether the inpsector updates itself.void
setUI(RJPanel aPanel)
Sets the SWing GUI panel for the inspector.void
setVisible(boolean aValue)
Sets whether the inspector is visible.void
setVisible(int anIndex)
Sets the inspector to be visible, showing the specific sub-inspector at the given index.static InspectorPanel
shared()
Returns the shared instance of this class.static void
showDocumentInspector()
-
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
-
-
-
Method Detail
-
shared
public static InspectorPanel shared()
Returns the shared instance of this class.
-
getUI
public RJPanel getUI()
Returns the Swing UI panel for the inspector.
-
setDatasourceEditorPanel
public void setDatasourceEditorPanel(javax.swing.JComponent comp)
EDIT- Added by CG- Parameters:
comp
-
-
setUI
public void setUI(RJPanel aPanel)
Sets the SWing GUI panel for the inspector.
-
isVisible
public boolean isVisible()
Returns whether the inspector is visible.
-
setVisible
public void setVisible(boolean aValue)
Sets whether the inspector is visible.
-
getVisible
public int getVisible()
Returns the selected inspector index (or -1 if inspector not visible).
-
setVisible
public void setVisible(int anIndex)
Sets the inspector to be visible, showing the specific sub-inspector at the given index.
-
isEnabled
public boolean isEnabled()
Returns whether the inspector updates itself.
-
setEnabled
public void setEnabled(boolean aValue)
Sets whether the inpsector updates itself.
-
resetUI
public void resetUI()
Refreshes the inspector for the current editor selection.
-
respondUI
public void respondUI(java.lang.Object anObj)
Handles changes to the inspector Swing GUI controls.
-
isShowingDataSource
public boolean isShowingDataSource()
Returns whether the inspector is showing the datasource inspector.
-
resetSelectionPathMatrix
public void resetSelectionPathMatrix()
Updates the selection path UI.
-
popSelection
public void popSelection(java.awt.event.ActionEvent e)
Changes the selection path selection to the level of the string index in the action event.
-
selectRoot
public void selectRoot()
-
showDocumentInspector
public static void showDocumentInspector()
-
close
public void close()
Closes the InspectorPanel and releases the UI.
-
-