Package com.inductiveautomation.rm.app
Class SwingGallery
- java.lang.Object
-
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
-
- com.inductiveautomation.snap.swing.SwingOwner
-
- com.inductiveautomation.rm.app.Gallery
-
- com.inductiveautomation.rm.app.SwingGallery
-
public class SwingGallery extends Gallery
A gallery panel for ribs Swing components.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.rm.app.Gallery
Gallery.GViewer
-
-
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 Constructor Description SwingGallery()
Creates a new SwingGallery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RMParentShape
getDocument(int anIndex)
Returns the specific document at the given index.int
getDocumentCount()
Returns the number of document shown by the gallery.javax.swing.Icon
getDocumentIcon(int anIndex)
Returns the icon for the specific document at the given index.-
Methods inherited from class com.inductiveautomation.rm.app.Gallery
createUI, dropGalleryShape, getDragShape, getWindowTitle, respondUI
-
Methods inherited from class com.inductiveautomation.snap.swing.SwingOwner
addKeyActionEvent, 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.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, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, resetUI, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
-
-
-
-
Method Detail
-
getDocumentCount
public int getDocumentCount()
Returns the number of document shown by the gallery.- Overrides:
getDocumentCount
in classGallery
-
getDocument
public RMParentShape getDocument(int anIndex)
Returns the specific document at the given index.- Overrides:
getDocument
in classGallery
-
getDocumentIcon
public javax.swing.Icon getDocumentIcon(int anIndex)
Returns the icon for the specific document at the given index.- Overrides:
getDocumentIcon
in classGallery
-
-