|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListSelectionModel
This interface defines the methods needed to implement a ListSelectionModel. Note that this comes almost directly from javax.swing.ListSelectionModel. The only thing that is different is that we've dropped the isAdjusting stuff.
Field Summary | |
---|---|
static int |
MULTIPLE_INTERVAL_SELECTION
A value for the selectionMode property: select one or more contiguous ranges of indices at a time. |
static int |
SINGLE_INTERVAL_SELECTION
A value for the selectionMode property: select one contiguous range of indices at a time. |
static int |
SINGLE_SELECTION
A value for the selectionMode property: select one list index at a time. |
Method Summary | |
---|---|
void |
addSelectionInterval(int index0,
int index1)
|
void |
clearSelection()
|
int |
getMaxSelectionIndex()
|
int |
getMinSelectionIndex()
|
int |
getSelectionMode()
|
boolean |
isSelectedIndex(int index)
|
boolean |
isSelectionEmpty()
|
void |
removeSelectionInterval(int index0,
int index1)
|
void |
setSelectionInterval(int index0,
int index1)
|
void |
setSelectionMode(int selectionMode)
|
Methods inherited from interface org.barracudamvc.core.comp.model.Model |
---|
addModelListener, removeModelListener |
Field Detail |
---|
static final int SINGLE_SELECTION
setSelectionMode(int)
,
Constant Field Valuesstatic final int SINGLE_INTERVAL_SELECTION
setSelectionMode(int)
,
Constant Field Valuesstatic final int MULTIPLE_INTERVAL_SELECTION
setSelectionMode(int)
,
Constant Field ValuesMethod Detail |
---|
void setSelectionMode(int selectionMode)
int getSelectionMode()
void setSelectionInterval(int index0, int index1)
void addSelectionInterval(int index0, int index1)
void removeSelectionInterval(int index0, int index1)
int getMinSelectionIndex()
int getMaxSelectionIndex()
boolean isSelectedIndex(int index)
boolean isSelectionEmpty()
void clearSelection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |