|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object corny.addressbook.gui.GroupTable.GroupTableHandler
public class GroupTableHandler
Handler class for the GroupTable
class.
Method Summary | |
---|---|
void |
addGroup()
Adds a new, empty Group without name. |
void |
addGroup(Group g,
boolean selectNewGroup)
Adds a Group to the table |
void |
fetchGroups(boolean restoreSelection)
Replaces the content of the table with the Groups of the NativeAddressBook |
Group |
getSelectedGroup()
|
Group[] |
getSelectedGroups()
|
void |
removeSelectedGroups()
Removes the currently selected Groups from the Address Book. |
void |
selectGroup(Group groupSelection)
Selects the given Group in the table. |
void |
setEditingEnabled(boolean editing)
Specifies whether the Table can be edited or not. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Group getSelectedGroup()
public Group[] getSelectedGroups()
public void fetchGroups(boolean restoreSelection)
restoreSelection
- true to restore the Group selection after replacing the
contentpublic void selectGroup(Group groupSelection)
groupSelection
- Group to selectpublic void addGroup(Group g, boolean selectNewGroup)
g
- New GroupselectNewGroup
- true to select the new Grouppublic void addGroup()
public void removeSelectedGroups()
public void setEditingEnabled(boolean editing)
editing
- true to enable editing, false to disable editing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |