|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.grid.TableSelectionModelGroup
public class TableSelectionModelGroup
This class is used to create a multiple-exclusion scope for a set of TableSelectionModel so that one TableSelectionModel can have selected index at a time.
To use this class, you just need to add the TableSelectionModel of the non-contiguous JideTable to the group by callingadd(TableSelectionModel). To remove from the group, call remove(TableSelectionModel).
| Field Summary | |
|---|---|
protected List<TableSelectionModel> |
_models
|
protected TableSelectionListener |
_tableSelectionListener
|
| Constructor Summary | |
|---|---|
TableSelectionModelGroup()
Creates a new ButtonGroup. |
|
| Method Summary | |
|---|---|
void |
add(int index,
TableSelectionModel model)
Adds the TableSelectionModel to the group. |
void |
add(TableSelectionModel model)
Adds the TableSelectionModel to the group. |
Enumeration<TableSelectionModel> |
getElements()
Returns all the TableSelectionModel that are participating in this group. |
int |
getModelCount()
Returns the number of TableSelectionModel in the group. |
TableSelectionModel[] |
getTableModels()
Returns all the TableSelectionModel that are participating in this group. |
void |
remove(TableSelectionModel model)
Removes the TableSelectionModel from the group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<TableSelectionModel> _models
protected TableSelectionListener _tableSelectionListener
| Constructor Detail |
|---|
public TableSelectionModelGroup()
ButtonGroup.
| Method Detail |
|---|
public void add(TableSelectionModel model)
model - the TableSelectionModel to be added
public void add(int index,
TableSelectionModel model)
index - the positionmodel - the TableSelectionModel to be addedpublic void remove(TableSelectionModel model)
model - the TableSelectionModel to be removedpublic TableSelectionModel[] getTableModels()
public Enumeration<TableSelectionModel> getElements()
Enumeration of the buttons in this grouppublic int getModelCount()
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||