org.jivesoftware.spark.ui
Interface LinkInterceptor


public interface LinkInterceptor

Implementors of this interface wish to interecept link clicked events within an active chat.


Method Summary
 boolean handleLink(java.awt.event.MouseEvent mouseEvent, java.lang.String link)
          Returns true if you wish to handle this link, otherwise, will default to Spark.
 

Method Detail

handleLink

boolean handleLink(java.awt.event.MouseEvent mouseEvent,
                   java.lang.String link)
Returns true if you wish to handle this link, otherwise, will default to Spark.

Parameters:
mouseEvent - the MouseEvent.
link - the link that was clicked.
Returns:
true if the user wishes to handle the link.