swingwtx.swing
Interface ListSelectionModel

All Known Implementing Classes:
DefaultListSelectionModel

public interface ListSelectionModel


Field Summary
static int MULTIPLE_INTERVAL_SELECTION
           
static int SINGLE_INTERVAL_SELECTION
           
static int SINGLE_SELECTION
           
 
Method Summary
 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)
           
 void setValueIsAdjusting(boolean valueIsAdjusting)
           
 

Field Detail

SINGLE_SELECTION

public static final int SINGLE_SELECTION
See Also:
Constant Field Values

SINGLE_INTERVAL_SELECTION

public static final int SINGLE_INTERVAL_SELECTION
See Also:
Constant Field Values

MULTIPLE_INTERVAL_SELECTION

public static final int MULTIPLE_INTERVAL_SELECTION
See Also:
Constant Field Values
Method Detail

setSelectionInterval

public void setSelectionInterval(int index0,
                                 int index1)

addSelectionInterval

public void addSelectionInterval(int index0,
                                 int index1)

removeSelectionInterval

public void removeSelectionInterval(int index0,
                                    int index1)

getMinSelectionIndex

public int getMinSelectionIndex()

getMaxSelectionIndex

public int getMaxSelectionIndex()

isSelectedIndex

public boolean isSelectedIndex(int index)

getAnchorSelectionIndex

public int getAnchorSelectionIndex()

setAnchorSelectionIndex

public void setAnchorSelectionIndex(int index)

getLeadSelectionIndex

public int getLeadSelectionIndex()

setLeadSelectionIndex

public void setLeadSelectionIndex(int index)

clearSelection

public void clearSelection()

isSelectionEmpty

public boolean isSelectionEmpty()

insertIndexInterval

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

removeIndexInterval

public void removeIndexInterval(int index0,
                                int index1)

setValueIsAdjusting

public void setValueIsAdjusting(boolean valueIsAdjusting)

getValueIsAdjusting

public boolean getValueIsAdjusting()

setSelectionMode

public void setSelectionMode(int selectionMode)

getSelectionMode

public int getSelectionMode()

addListSelectionListener

public void addListSelectionListener(ListSelectionListener x)

removeListSelectionListener

public void removeListSelectionListener(ListSelectionListener x)