chrriis.dj.swingsuite
Interface LinkListener<T>

All Superinterfaces:
EventListener

public interface LinkListener<T>
extends EventListener

A listener for links.

Author:
Christopher Deckers

Method Summary
 boolean linkActivated(JLink<T> link, T target)
          Invoked when a link is activated, it returns true if the other listeners and potentially the default handler should be invoked.
 

Method Detail

linkActivated

boolean linkActivated(JLink<T> link,
                      T target)
Invoked when a link is activated, it returns true if the other listeners and potentially the default handler should be invoked.
Note that the default handler is only invoked if the object is of a recognized type and the Java version supports it (Java 6+).

Parameters:
link - the link which was activated.
target - the target of the link.
Returns:
true if the other listeners and the default handler should be invoked, false otherwise.