|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GroupableListModel
GroupableListModel is the model used by GroupList. It extends ListModel by
adding group information to each row. With the information provided by this interface, GroupList knows
how to display the rows in groups.
| Method Summary | |
|---|---|
void |
addListGroupChangeListener(ListGroupChangeListener listener)
Adds a listener to the list which s notified each time a change to the group information occurs. |
Object |
getGroupAt(int index)
Returns the group of the element at the specified index. |
Object[] |
getGroups()
Returns all groups, which control the order of appearance. |
void |
removeListGroupChangeListener(ListGroupChangeListener listener)
Removes a listener from the list which is notified each time a change to the group information occurs. |
| Methods inherited from interface javax.swing.ListModel |
|---|
addListDataListener, getElementAt, getSize, removeListDataListener |
| Method Detail |
|---|
Object getGroupAt(int index)
index - the index of element
getGroups()Object[] getGroups()
getGroupAt(int)void addListGroupChangeListener(ListGroupChangeListener listener)
listener - the ListGroupChangeListener to be addedvoid removeListGroupChangeListener(ListGroupChangeListener listener)
listener - the ListGroupChangeListener to be removed
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||