Class SwingGallery


public class SwingGallery extends Gallery
A gallery panel for ribs Swing components.
  • Constructor Details

    • SwingGallery

      public SwingGallery()
      Creates a new SwingGallery.
  • Method Details

    • getDocumentCount

      public int getDocumentCount()
      Returns the number of document shown by the gallery.
      Overrides:
      getDocumentCount in class Gallery
    • getDocument

      public RMParentShape getDocument(int anIndex)
      Returns the specific document at the given index.
      Overrides:
      getDocument in class Gallery
    • getDocumentIcon

      public Icon getDocumentIcon(int anIndex)
      Returns the icon for the specific document at the given index.
      Overrides:
      getDocumentIcon in class Gallery