Class InspectorPanel


  • public class InspectorPanel
    extends SwingOwner
    This class is responsible for the Swing UI associated with the inspector window.
    • Constructor Detail

      • InspectorPanel

        public InspectorPanel()
    • Method Detail

      • initUI

        public void initUI()
        Initializes UI panel for the inspector.
        Overrides:
        initUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • resetUI

        public void resetUI()
        Refreshes the inspector for the current editor selection.
        Overrides:
        resetUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • respondUI

        public void respondUI​(SwingEvent anEvent)
        Handles changes to the inspector Swing UI controls.
        Overrides:
        respondUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • isVisible

        public boolean isVisible()
        Returns whether the inspector is visible.
      • setVisible

        public void setVisible​(boolean aValue)
        Sets whether the inspector is visible.
      • setVisible

        public void setVisible​(int anIndex)
        Sets the inspector to be visible, showing the specific sub-inspector at the given index.
      • isShowingDataSource

        public boolean isShowingDataSource()
        Returns whether the inspector is showing the datasource inspector.
      • getInspector

        public SwingOwner getInspector()
        Returns the inspector (owner) of the inspector pane.
      • setInspector

        public void setInspector​(SwingOwner anOwner)
        Sets the inspector in the inspector pane.
      • getInspectorPane

        protected javax.swing.JComponent getInspectorPane()
        Returns the inspector pane.
      • setInspectorPane

        protected void setInspectorPane​(javax.swing.JComponent aPanel)
        Sets the inspector panel UI to given panel.
      • resetSelectionPathMatrix

        public void resetSelectionPathMatrix()
        Updates the selection path UI.
      • popSelection

        public void popSelection​(java.awt.event.ActionEvent anEvent)
        Changes the selection path selection to the level of the string index in the action event.
      • showDocumentInspector

        public void showDocumentInspector()
        Makes the inspector panel show the document inspector.