Class Gallery

java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Gallery
All Implemented Interfaces:
RMArchiver.Archiving, 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.
  • Constructor Details

    • Gallery

      public Gallery()
      Creates a new gallery.
  • Method Details

    • getWindowTitle

      public String getWindowTitle()
      Returns the name to be used in the inspector window.
    • getDragShape

      public static RMShape getDragShape()
      Returns the shape being dragged.
    • getUI

      public Gallery.GalleryUI getUI()
      Returns the Swing UI.
    • resetUI

      public void resetUI()
      Resets the Swing UI.
    • respondUI

      public void respondUI(Object anObj)
      Responds to control activity in the Swing UI.
    • getDocumentCount

      public int getDocumentCount()
      Returns the number of document shown by the gallery.
    • getDocument

      public RMDocument getDocument(int anIndex)
      Returns the specifc document at the given index.
    • getDocumentIcon

      public Icon getDocumentIcon(int anIndex)
      Returns the icon for the specific document at the given index.