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 SummaryConstructors Constructor Description InspectorPanel()Creates a new inspector manager.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the InspectorPanel and releases the UI.RJPanelgetUI()Returns the Swing UI panel for the inspector.intgetVisible()Returns the selected inspector index (or -1 if inspector not visible).booleanisEnabled()Returns whether the inspector updates itself.booleanisShowingDataSource()Returns whether the inspector is showing the datasource inspector.booleanisVisible()Returns whether the inspector is visible.voidpopSelection(java.awt.event.ActionEvent e)Changes the selection path selection to the level of the string index in the action event.voidresetSelectionPathMatrix()Updates the selection path UI.voidresetUI()Refreshes the inspector for the current editor selection.voidrespondUI(java.lang.Object anObj)Handles changes to the inspector Swing GUI controls.voidselectRoot()voidsetDatasourceEditorPanel(javax.swing.JComponent comp)EDIT- Added by CGvoidsetEnabled(boolean aValue)Sets whether the inpsector updates itself.voidsetUI(RJPanel aPanel)Sets 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 voidshowDocumentInspector()- 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Method Detail- 
sharedpublic static InspectorPanel shared() Returns the shared instance of this class.
 - 
getUIpublic RJPanel getUI() Returns the Swing UI panel for the inspector.
 - 
setDatasourceEditorPanelpublic void setDatasourceEditorPanel(javax.swing.JComponent comp) EDIT- Added by CG- Parameters:
- comp-
 
 - 
setUIpublic void setUI(RJPanel aPanel) Sets 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.
 - 
respondUIpublic void respondUI(java.lang.Object anObj) Handles 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.
 - 
popSelectionpublic void popSelection(java.awt.event.ActionEvent e) Changes 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.
 
- 
 
-