corny.addressbook.gui.AddressBookEditor.AddressBookEditorPanel
Class AddressBookEditorPanelHandler

java.lang.Object
  extended by corny.addressbook.gui.AddressBookEditor.AddressBookEditorPanel.AddressBookEditorPanelHandler

public class AddressBookEditorPanelHandler
extends java.lang.Object

Handler class for the AddressBookEditorPanel class.

Author:
Corny

Method Summary
 void addContact()
          Adds a new, empty Contact to the currently selected Group.
 void addGroup()
          Adds a new, empty Group without name.
 boolean isEditing()
           
 void removeSelectedContacts()
          Removes the currently selected Contacts from the Address Book.
 void removeSelectedGroups()
          Removes the currently selected Groups from the Address Book.
 void searchAndReplaceAllContacts()
          Starts the search and replace process on all Contacts of the Address Book.
 void searchAndReplaceSelectedContacts()
          Starts the search and replace process on currently visible Contacts.
 void toggleEditing()
          Toggles the editing mode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addGroup

public void addGroup()
Adds a new, empty Group without name. The Group will be selected and the table cell editor will be started.


addContact

public void addContact()
Adds a new, empty Contact to the currently selected Group. The new Contact will be selected and editing will be enabled.


removeSelectedGroups

public void removeSelectedGroups()
Removes the currently selected Groups from the Address Book.


removeSelectedContacts

public void removeSelectedContacts()
Removes the currently selected Contacts from the Address Book.


toggleEditing

public void toggleEditing()
Toggles the editing mode


isEditing

public boolean isEditing()
Returns:
True, if editing is enabled

searchAndReplaceAllContacts

public void searchAndReplaceAllContacts()
Starts the search and replace process on all Contacts of the Address Book.


searchAndReplaceSelectedContacts

public void searchAndReplaceSelectedContacts()
Starts the search and replace process on currently visible Contacts.