Package com.inductiveautomation.rm.app
Class InspectorPanel
- java.lang.Object
- 
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
- 
- com.inductiveautomation.snap.swing.SwingOwner
- 
- com.inductiveautomation.rm.app.InspectorPanel
 
 
 
- 
 public class InspectorPanel extends SwingOwner This class is responsible for the Swing UI associated with the inspector window.
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.snap.ui.UIOwnerDragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
 
- 
 - 
Constructor SummaryConstructors Constructor Description InspectorPanel()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SwingOwnergetInspector()Returns the inspector (owner) of the inspector pane.protected javax.swing.JComponentgetInspectorPane()Returns the inspector pane.voidinitUI()Initializes UI panel for the inspector.booleanisShowingDataSource()Returns whether the inspector is showing the datasource inspector.booleanisVisible()Returns whether the inspector is visible.voidpopSelection(java.awt.event.ActionEvent anEvent)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(SwingEvent anEvent)Handles changes to the inspector Swing UI controls.voidsetInspector(SwingOwner anOwner)Sets the inspector in the inspector pane.protected voidsetInspectorPane(javax.swing.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.voidshowDocumentInspector()Makes the inspector panel show the document inspector.- 
Methods inherited from class com.inductiveautomation.snap.swing.SwingOwneraddKeyActionEvent, createTimer, createUI, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisible
 - 
Methods inherited from class com.inductiveautomation.snap.ui.UIOwneraddNodeBinding, 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
 
- 
 
- 
- 
- 
Method Detail- 
initUIpublic void initUI() Initializes UI panel for the inspector.- Overrides:
- initUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
resetUIpublic void resetUI() Refreshes the inspector for the current editor selection.- Overrides:
- resetUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
respondUIpublic void respondUI(SwingEvent anEvent) Handles changes to the inspector Swing UI controls.- Overrides:
- respondUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
isVisiblepublic boolean isVisible() Returns whether the inspector is visible.
 - 
setVisiblepublic void setVisible(boolean aValue) Sets whether the inspector is visible.
 - 
setVisiblepublic void setVisible(int anIndex) Sets the inspector to be visible, showing the specific sub-inspector at the given index.
 - 
isShowingDataSourcepublic boolean isShowingDataSource() Returns whether the inspector is showing the datasource inspector.
 - 
getInspectorpublic SwingOwner getInspector() Returns the inspector (owner) of the inspector pane.
 - 
setInspectorpublic void setInspector(SwingOwner anOwner) Sets the inspector in the inspector pane.
 - 
getInspectorPaneprotected javax.swing.JComponent getInspectorPane() Returns the inspector pane.
 - 
setInspectorPaneprotected void setInspectorPane(javax.swing.JComponent aPanel) Sets the inspector panel UI to given panel.
 - 
resetSelectionPathMatrixpublic void resetSelectionPathMatrix() Updates the selection path UI.
 - 
popSelectionpublic void popSelection(java.awt.event.ActionEvent anEvent) Changes the selection path selection to the level of the string index in the action event.
 - 
showDocumentInspectorpublic void showDocumentInspector() Makes the inspector panel show the document inspector.
 
- 
 
-