com.jivesoftware.spark.ui
Interface ContactItemHandler


public interface ContactItemHandler

The ContactItemHandler allows users to customize the actions that take place within a ContactItem within a users presence changes or the item is double clicked.


Method Summary
 boolean handleDoubleClick()
          The ContactItem has been double-clicked by the user.
 void handlePresence(org.jivesoftware.smack.packet.Presence presence)
          The users presence has been changed.
 

Method Detail

handlePresence

public void handlePresence(org.jivesoftware.smack.packet.Presence presence)
The users presence has been changed.

Parameters:
presence - the users new presence.

handleDoubleClick

public boolean handleDoubleClick()
The ContactItem has been double-clicked by the user.

Returns:
true if you wish to handle the double-click event.