public class Gallery extends SwingOwner
Modifier and Type | Class and Description |
---|---|
static class |
Gallery.GViewer
An inner class and RMViewer subclass for showing and dragging shapes in an RMDocument.
|
DragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
Constructor and Description |
---|
Gallery() |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JComponent |
createUI()
Creates UI panel.
|
static void |
dropGalleryShape(RMParentShape aShape,
java.awt.dnd.DropTargetDropEvent anEvent)
Handle drop of gallery shape onto editor.
|
RMParentShape |
getDocument(int anIndex)
Returns the specifc 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.
|
static RMShape |
getDragShape()
Returns the shape being dragged.
|
java.lang.String |
getWindowTitle()
Returns the name to be used in the inspector window.
|
void |
respondUI(SwingEvent anEvent)
Responds to UI controls.
|
addKeyActionEvent, createTimer, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisible
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
public java.lang.String getWindowTitle()
public static RMShape getDragShape()
protected javax.swing.JComponent createUI()
createUI
in class SwingOwner
public void respondUI(SwingEvent anEvent)
respondUI
in class UIOwner<SwingEvent,javax.swing.JComponent>
public int getDocumentCount()
public RMParentShape getDocument(int anIndex)
public javax.swing.Icon getDocumentIcon(int anIndex)
public static void dropGalleryShape(RMParentShape aShape, java.awt.dnd.DropTargetDropEvent anEvent)