Package com.reportmill.panels
Class Gallery
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Gallery
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
- Direct Known Subclasses:
RibsGallery
This class provides Swing UI for showing a RMDocument and allowing drag and drop from it.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
An inner class for GalleryUI.static class
An inner class and RMViewer subclass for showing and dragging shapes in an RMDocument. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDocument
(int anIndex) Returns the specifc 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.static RMShape
Returns the shape being dragged.getUI()
Returns the Swing UI.Returns the name to be used in the inspector window.void
resetUI()
Resets the Swing UI.void
Responds to control activity in the Swing UI.Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
Gallery
public Gallery()Creates a new gallery.
-
-
Method Details
-
getWindowTitle
Returns the name to be used in the inspector window. -
getDragShape
Returns the shape being dragged. -
getUI
Returns the Swing UI. -
resetUI
public void resetUI()Resets the Swing UI. -
respondUI
Responds to control activity in the Swing UI. -
getDocumentCount
public int getDocumentCount()Returns the number of document shown by the gallery. -
getDocument
Returns the specifc document at the given index. -
getDocumentIcon
Returns the icon for the specific document at the given index.
-