Package com.inductiveautomation.rm.app
Class AttributesPanel
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
 
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.app.AttributesPanel
This class manages the attributes panel which holds the color panel, font panel, formatter panel and keys panel.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionclassThis inner class is a RJColorPanel suitable for manipulating colors in current RMEditor.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields 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
- 
Method SummaryModifier and TypeMethodDescriptionprotected JComponentcreateUI()Returns the UI panel for the attributes panel.intReturns the index of the currently visible tab (or -1 if attributes panel not visible).protected voidinitUI()Initializes the UI panel.booleanReturns whether the attributes panel is visible.voidresetUI()Updates the attributes panel UI (forwards on to inspector at selected tab).voidsetVisible(boolean aValue) Sets the attributes panel visible.voidsetVisible(int anIndex) Sets the attributes panel visible, specifying a specific tab by the given index.Methods inherited from class com.inductiveautomation.snap.swing.SwingOwneraddKeyActionEvent, createTimer, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisibleMethods 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, respondUI, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
- 
Field Details- 
KEYSpublic static final int KEYS- See Also:
 
- 
COLORpublic static final int COLOR- See Also:
 
- 
FONTpublic static final int FONT- See Also:
 
- 
FORMATpublic static final int FORMAT- See Also:
 
- 
GALLERYpublic static final int GALLERY- See Also:
 
 
- 
- 
Constructor Details- 
AttributesPanelpublic AttributesPanel()
 
- 
- 
Method Details- 
createUIReturns the UI panel for the attributes panel.- Overrides:
- createUIin class- SwingOwner
 
- 
initUIprotected void initUI()Initializes the UI panel.- Overrides:
- initUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
resetUIpublic void resetUI()Updates the attributes panel UI (forwards on to inspector at selected tab).- Overrides:
- resetUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
isVisiblepublic boolean isVisible()Returns whether the attributes panel is visible.
- 
setVisiblepublic void setVisible(boolean aValue) Sets the attributes panel visible.
- 
getVisiblepublic int getVisible()Returns the index of the currently visible tab (or -1 if attributes panel not visible).
- 
setVisiblepublic void setVisible(int anIndex) Sets the attributes panel visible, specifying a specific tab by the given index.
 
-