Class SwingGallery


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

      • SwingGallery

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

      • 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 javax.swing.Icon getDocumentIcon​(int anIndex)
        Returns the icon for the specific document at the given index.
        Overrides:
        getDocumentIcon in class Gallery