Package com.inductiveautomation.rm.app
Class SwingGallery
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.app.Gallery
com.inductiveautomation.rm.app.SwingGallery
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 -
Method Summary
Modifier and TypeMethodDescriptiongetDocument
(int anIndex) Returns the specific document at the given index.int
Returns the number of document shown by the gallery.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
-
Constructor Details
-
SwingGallery
public SwingGallery()Creates a new SwingGallery.
-
-
Method Details
-
getDocumentCount
public int getDocumentCount()Returns the number of document shown by the gallery.- Overrides:
getDocumentCount
in classGallery
-
getDocument
Returns the specific document at the given index.- Overrides:
getDocument
in classGallery
-
getDocumentIcon
Returns the icon for the specific document at the given index.- Overrides:
getDocumentIcon
in classGallery
-