Class InspectorPanel

java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.InspectorPanel
All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
Direct Known Subclasses:
RBInspectorPanel

public class InspectorPanel extends RMObject
This class is responsible for the Swing GUI associated with the inspector window.
  • Constructor Details

    • InspectorPanel

      public InspectorPanel()
      Creates a new inspector manager.
  • Method Details

    • 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(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(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(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.