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, reset
public static DummyContactListener register(AddressBook book)
public void contactChanged(Contact contact, Contact.Field field, String newValue)
contactChanged
in interface ContactChangeListener
public void contactCreated(Contact contact)
contactCreated
in interface ContactCreationListener
public void contactDeleted(Contact contact)
contactDeleted
in interface ContactDeletionListener
public void categoriesAssigned(Contact contact, Category[] categories)
categoriesAssigned
in interface ContactCategoriesAssignmentListener
Copyright © 2004–2016. All rights reserved.