Package com.inductiveautomation.rm.app
Class InspectorPanel
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.app.InspectorPanel
This class is responsible for the Swing UI associated with the inspector window.
-
Field Summary
Fields inherited from class com.inductiveautomation.snap.ui.UIOwner
DragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the inspector (owner) of the inspector pane.protected JComponentReturns the inspector pane.voidinitUI()Initializes UI panel for the inspector.booleanReturns whether the inspector is showing the datasource inspector.booleanReturns whether the inspector is visible.voidpopSelection(ActionEvent anEvent) Changes 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.voidrespondUI(SwingEvent anEvent) Handles changes to the inspector Swing UI controls.voidsetInspector(SwingOwner anOwner) Sets the inspector in the inspector pane.protected voidsetInspectorPane(JComponent aPanel) Sets the inspector panel UI to given panel.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.voidMakes the inspector panel show the document inspector.Methods inherited from class com.inductiveautomation.snap.swing.SwingOwner
addKeyActionEvent, createTimer, createUI, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisibleMethods inherited from class com.inductiveautomation.snap.ui.UIOwner
addNodeBinding, disableEvents, enableEvents, getBindingModelValue, getBindingNodeValue, getConversionMap, getConversionMapKey, getConversionMaps, getConversionMapValue, getFirstFocus, getModelValue, getNode, getNodeAction, getNodeBoolValue, getNodeFloatValue, getNodeIntValue, getNodeItemDisplayKey, getNodeItems, getNodeSelectedIndex, getNodeSelectedItem, getNodeStringValue, getNodeText, getNodeValue, getUI, getUIHpr, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
-
Constructor Details
-
InspectorPanel
public InspectorPanel()
-
-
Method Details
-
initUI
public void initUI()Initializes UI panel for the inspector.- Overrides:
initUIin classUIOwner<SwingEvent,JComponent>
-
resetUI
public void resetUI()Refreshes the inspector for the current editor selection.- Overrides:
resetUIin classUIOwner<SwingEvent,JComponent>
-
respondUI
Handles changes to the inspector Swing UI controls.- Overrides:
respondUIin classUIOwner<SwingEvent,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
Returns the inspector (owner) of the inspector pane. -
setInspector
Sets the inspector in the inspector pane. -
getInspectorPane
Returns the inspector pane. -
setInspectorPane
Sets the inspector panel UI to given panel. -
resetSelectionPathMatrix
public void resetSelectionPathMatrix()Updates the selection path UI. -
popSelection
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.
-