javax > javax.swing > javax.swing.listselectionmodel >

Interface: javax.swing.ListSelectionModel
    javax.swing.ListSelectionModel


public interface ListSelectionModel


FIELDS:
static final int MULTIPLE_INTERVAL_SELECTION : 2
static final int SINGLE_INTERVAL_SELECTION : 1
static final int SINGLE_SELECTION : 0

CONSTRUCTORS:

METHODS:
void addListSelectionListener(ListSelectionListener x)

void addSelectionInterval(int index0, int index1)

void clearSelection()

int getAnchorSelectionIndex()

int getLeadSelectionIndex()

int getMaxSelectionIndex()

int getMinSelectionIndex()

int getSelectionMode()

boolean getValueIsAdjusting()

void insertIndexInterval(int index, int length, boolean before)

boolean isSelectedIndex(int index)

boolean isSelectionEmpty()

void removeIndexInterval(int index0, int index1)

void removeListSelectionListener(ListSelectionListener x)

void removeSelectionInterval(int index0, int index1)

void setAnchorSelectionIndex(int index)

void setLeadSelectionIndex(int index)

void setSelectionInterval(int index0, int index1)

void setSelectionMode(int selectionMode)
Throws: IllegalArgumentException

void setValueIsAdjusting(boolean valueIsAdjusting)


INHERITED METHODS:

SUBINTERFACES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net