Package com.reportmill.panels
Class InspectorPanel
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.InspectorPanel
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
- Direct Known Subclasses:
- RBInspectorPanel
This class is responsible for the Swing GUI associated with the inspector window.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Closes the InspectorPanel and releases the UI.getUI()Returns the Swing UI panel for the inspector.intReturns the selected inspector index (or -1 if inspector not visible).booleanReturns whether the inspector updates itself.booleanReturns whether the inspector is showing the datasource inspector.booleanReturns whether the inspector is visible.voidChanges the selection path selection to the level of the string index in the action event.voidUpdates the selection path UI.voidresetUI()Refreshes the inspector for the current editor selection.voidHandles changes to the inspector Swing GUI controls.voidvoidEDIT- Added by CGvoidsetEnabled(boolean aValue) Sets whether the inpsector updates itself.voidSets the SWing GUI panel for the inspector.voidsetVisible(boolean aValue) Sets whether the inspector is visible.voidsetVisible(int anIndex) Sets the inspector to be visible, showing the specific sub-inspector at the given index.static InspectorPanelshared()Returns the shared instance of this class.static voidMethods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
InspectorPanelpublic InspectorPanel()Creates a new inspector manager.
 
- 
- 
Method Details
- 
getUIReturns the Swing UI panel for the inspector.
- 
setDatasourceEditorPanelEDIT- Added by CG- Parameters:
- comp-
 
- 
setUISets the SWing GUI panel for the inspector.
- 
isVisiblepublic boolean isVisible()Returns whether the inspector is visible.
- 
setVisiblepublic void setVisible(boolean aValue) Sets whether the inspector is visible.
- 
getVisiblepublic int getVisible()Returns the selected inspector index (or -1 if inspector not visible).
- 
setVisiblepublic void setVisible(int anIndex) Sets the inspector to be visible, showing the specific sub-inspector at the given index.
- 
isEnabledpublic boolean isEnabled()Returns whether the inspector updates itself.
- 
setEnabledpublic void setEnabled(boolean aValue) Sets whether the inpsector updates itself.
- 
resetUIpublic void resetUI()Refreshes the inspector for the current editor selection.
- 
respondUIHandles changes to the inspector Swing GUI controls.
- 
isShowingDataSourcepublic boolean isShowingDataSource()Returns whether the inspector is showing the datasource inspector.
- 
resetSelectionPathMatrixpublic void resetSelectionPathMatrix()Updates the selection path UI.
- 
popSelectionChanges the selection path selection to the level of the string index in the action event.
- 
selectRootpublic void selectRoot()
- 
showDocumentInspectorpublic static void showDocumentInspector()
- 
closepublic void close()Closes the InspectorPanel and releases the UI.