Package com.reportmill.panels
Class Gallery
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.panels.Gallery
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 - Direct Known Subclasses:
- RibsGallery
 
 public class Gallery extends RMObject This class provides Swing UI for showing a RMDocument and allowing drag and drop from it.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classGallery.GalleryUIAn inner class for GalleryUI.static classGallery.GViewerAn inner class and RMViewer subclass for showing and dragging shapes in an RMDocument.
 - 
Constructor SummaryConstructors Constructor Description Gallery()Creates a new gallery.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RMDocumentgetDocument(int anIndex)Returns the specifc document at the given index.intgetDocumentCount()Returns the number of document shown by the gallery.javax.swing.IcongetDocumentIcon(int anIndex)Returns the icon for the specific document at the given index.static RMShapegetDragShape()Returns the shape being dragged.Gallery.GalleryUIgetUI()Returns the Swing UI.java.lang.StringgetWindowTitle()Returns the name to be used in the inspector window.voidresetUI()Resets the Swing UI.voidrespondUI(java.lang.Object anObj)Responds to control activity in the Swing UI.- 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Method Detail- 
getWindowTitlepublic java.lang.String getWindowTitle() Returns the name to be used in the inspector window.
 - 
getDragShapepublic static RMShape getDragShape() Returns the shape being dragged.
 - 
getUIpublic Gallery.GalleryUI getUI() Returns the Swing UI.
 - 
resetUIpublic void resetUI() Resets the Swing UI.
 - 
respondUIpublic void respondUI(java.lang.Object anObj) Responds to control activity in the Swing UI.
 - 
getDocumentCountpublic int getDocumentCount() Returns the number of document shown by the gallery.
 - 
getDocumentpublic RMDocument getDocument(int anIndex) Returns the specifc document at the given index.
 - 
getDocumentIconpublic javax.swing.Icon getDocumentIcon(int anIndex) Returns the icon for the specific document at the given index.
 
- 
 
-