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 SummaryNested ClassesModifier and TypeClassDescriptionclassAn inner class for GalleryUI.static classAn inner class and RMViewer subclass for showing and dragging shapes in an RMDocument.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetDocument(int anIndex) Returns the specifc document at the given index.intReturns the number of document shown by the gallery.getDocumentIcon(int anIndex) Returns the icon for the specific document at the given index.static RMShapeReturns the shape being dragged.getUI()Returns the Swing UI.Returns the name to be used in the inspector window.voidresetUI()Resets the Swing UI.voidResponds to control activity in the Swing UI.Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
Gallerypublic Gallery()Creates a new gallery.
 
- 
- 
Method Details- 
getWindowTitleReturns the name to be used in the inspector window.
- 
getDragShapeReturns the shape being dragged.
- 
getUIReturns the Swing UI.
- 
resetUIpublic void resetUI()Resets the Swing UI.
- 
respondUIResponds to control activity in the Swing UI.
- 
getDocumentCountpublic int getDocumentCount()Returns the number of document shown by the gallery.
- 
getDocumentReturns the specifc document at the given index.
- 
getDocumentIconReturns the icon for the specific document at the given index.
 
-