Package com.inductiveautomation.rm.app
Class AttributesPanel
- java.lang.Object
- 
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
- 
- com.inductiveautomation.snap.swing.SwingOwner
- 
- com.inductiveautomation.rm.app.AttributesPanel
 
 
 
- 
 public class AttributesPanel extends SwingOwner This class manages the attributes panel which holds the color panel, font panel, formatter panel and keys panel.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classAttributesPanel.APColorPanelThis inner class is a RJColorPanel suitable for manipulating colors in current RMEditor.
 - 
Field SummaryFields Modifier and Type Field Description static intCOLORstatic intFONTstatic intFORMATstatic intGALLERYstatic intKEYS- 
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 AttributesPanel()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.JComponentcreateUI()Returns the UI panel for the attributes panel.intgetVisible()Returns the index of the currently visible tab (or -1 if attributes panel not visible).protected voidinitUI()Initializes the UI panel.booleanisVisible()Returns 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, 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, respondUI, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
 
- 
 
- 
- 
- 
Field Detail- 
KEYSpublic static final int KEYS - See Also:
- Constant Field Values
 
 - 
COLORpublic static final int COLOR - See Also:
- Constant Field Values
 
 - 
FONTpublic static final int FONT - See Also:
- Constant Field Values
 
 - 
FORMATpublic static final int FORMAT - See Also:
- Constant Field Values
 
 - 
GALLERYpublic static final int GALLERY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createUIprotected javax.swing.JComponent createUI() Returns the UI panel for the attributes panel.- Overrides:
- createUIin class- SwingOwner
 
 - 
initUIprotected void initUI() Initializes the UI panel.- Overrides:
- initUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
resetUIpublic void resetUI() Updates the attributes panel UI (forwards on to inspector at selected tab).- Overrides:
- resetUIin class- UIOwner<SwingEvent,javax.swing.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.
 
- 
 
-