swingwtx.swing
Interface ListSelectionModel
- All Known Implementing Classes:
- DefaultListSelectionModel
- public interface ListSelectionModel
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
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)