|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object corny.addressbook.gui.PeoplePicker.PeoplePickerPanel.PeoplePickerPanelHandler
public class PeoplePickerPanelHandler
Handler class for the PeoplePickerPanel
class
Method Summary | |
---|---|
void |
addContact()
Adds a new, empty Contact. |
void |
addGroup()
Adds a new, empty Group without name. |
Contact[] |
getSelectedContacts()
Returns all currently selected Contacts. |
int |
getSelectedContactsCount()
Returns the count of the currently selected Contacts. |
void |
removeSelectedContacts()
Removes the currently selected Contacts from the Address book. |
void |
removeSelectedGroups()
Removes the currently selected Groups from the Address book. |
void |
revealSelectionInAddressBook()
Opens Apple's Address Book interface and selects the first Contact of the current selection. |
void |
selectMe()
Changes the current selection to select the "Me" Contact. |
void |
setEditingEnabled(boolean enable)
Sets the editing capabilities of the PeoplePickerPanel on or off. |
void |
setLastNameFirst(boolean lastNameFirst)
Specifies whether the name column of the ContactTable should display the last name first or not. |
boolean |
toggleContactInfo()
Toggles the visibility of the ContactDisplayOverlay. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void selectMe()
public boolean toggleContactInfo()
public void setLastNameFirst(boolean lastNameFirst)
lastNameFirst
- true to display the last name first, false to display the
first name firstpublic void revealSelectionInAddressBook()
public int getSelectedContactsCount()
public final Contact[] getSelectedContacts()
public void setEditingEnabled(boolean enable)
enable
- true to enable editing, false to disable editingpublic void addGroup()
public void addContact()
public void removeSelectedGroups()
public void removeSelectedContacts()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |