public class DummyContactListener extends EventLogger implements ContactChangeListener, ContactCreationListener, ContactDeletionListener, ContactCategoriesAssignmentListener
EventLogger.Log| Modifier and Type | Method and Description |
|---|---|
void |
categoriesAssigned(Contact contact,
Category[] categories) |
void |
contactChanged(Contact contact,
Contact.Field field,
String newValue) |
void |
contactCreated(Contact contact) |
void |
contactDeleted(Contact contact) |
static DummyContactListener |
register(AddressBook book) |
assertEmpty, assertEquals, assertEquals, assertEquivalent, log, resetpublic static DummyContactListener register(AddressBook book)
public void contactChanged(Contact contact, Contact.Field field, String newValue)
contactChanged in interface ContactChangeListenerpublic void contactCreated(Contact contact)
contactCreated in interface ContactCreationListenerpublic void contactDeleted(Contact contact)
contactDeleted in interface ContactDeletionListenerpublic void categoriesAssigned(Contact contact, Category[] categories)
categoriesAssigned in interface ContactCategoriesAssignmentListenerCopyright © 2004–2016. All rights reserved.