Class ListSelector

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, wt.clients.widgets.SelectorInterface

public class ListSelector extends BaseSelector

This is a List Selector. The selection of the list can be set to single/multi selection mode. ListSelection events are transmitted to all the registered ListSelectionListeners.



Supported API:true

Extendable:false

See Also:
  • Method Details

    • setSelectionMode

      public void setSelectionMode(int mode)
      Determines whether single-item or multiple-item selections are allowed.

      Supported API:true
      Parameters:
      mode - an int specifying the type of selections Selection modes: SINGLE_SELECTION ListSelectionModel.SINGLE_SELECTION SINGLE_INTERVAL_SELECTION ListSelectionModel.SINGLE_INTERVAL_SELECTION MULTIPLE_INTERVAL_SELECTION ListSelectionModel.MULTIPLE_INTERVAL_SELECTION