Class ChooserList

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class ChooserList extends JList
A Jlist in a scroller
See Also:
  • Constructor Details

    • ChooserList

      public ChooserList()
      Create a chooser list with the default mode
    • ChooserList

      public ChooserList(int mode)
      Create a chooser with a specific selection mode
      Parameters:
      mode - selection mode
  • Method Details

    • getScroller

      public JScrollPane getScroller()
      Get the scroller for this list
      Returns:
      the scroller
    • haveDataSelected

      public boolean haveDataSelected()
      Is there anything selected. If so if there is one thing selected and it is a String then return false. (We do this because the chooser's often put a String message into the list).
      Returns:
      _more_