Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.contactlist
Class CallHistoryFilter

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.contactlist.CallHistoryFilter
All Implemented Interfaces:
ContactListFilter

public class CallHistoryFilter
extends Object
implements ContactListFilter

The CallHistoryFilter is a filter over the history contact sources.

Author:
Yana Stamcheva

Constructor Summary
CallHistoryFilter()
           
 
Method Summary
 void applyFilter(FilterQuery filterQuery)
          Applies this filter and stores the result in the given treeModel.
 boolean isMatching(UIContact uiContact)
          Indicates if the given uiContact is matching this filter.
 boolean isMatching(UIGroup uiGroup)
          No group could match this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallHistoryFilter

public CallHistoryFilter()
Method Detail

applyFilter

public void applyFilter(FilterQuery filterQuery)
Applies this filter and stores the result in the given treeModel.

Specified by:
applyFilter in interface ContactListFilter
Parameters:
filterQuery - the FilterQuery that tracks the results of this filtering

isMatching

public boolean isMatching(UIContact uiContact)
Indicates if the given uiContact is matching this filter.

Specified by:
isMatching in interface ContactListFilter
Parameters:
uiContact - the UIContact to check for match
Returns:
true if the given uiContact is matching this filter, false otherwise

isMatching

public boolean isMatching(UIGroup uiGroup)
No group could match this filter.

Specified by:
isMatching in interface ContactListFilter
Parameters:
uiGroup - the UIGroup to check for match
Returns:
false to indicate that no group could match this filter

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.