de.matthiasmann.twl
Interface TextArea.Callback2

All Superinterfaces:
TextArea.Callback
Enclosing class:
TextArea

public static interface TextArea.Callback2
extends TextArea.Callback


Method Summary
 void handleMouseButton(Event evt, TextAreaModel.Element element)
          Called for MOUSE_BTNDOWN, MOUSE_BTNUP and MOUSE_CLICKED events performed over elements.
 
Methods inherited from interface de.matthiasmann.twl.TextArea.Callback
handleLinkClicked
 

Method Detail

handleMouseButton

void handleMouseButton(Event evt,
                       TextAreaModel.Element element)
Called for MOUSE_BTNDOWN, MOUSE_BTNUP and MOUSE_CLICKED events performed over elements.

This callback is fired before TextArea.Callback.handleLinkClicked(java.lang.String)

This callback should not modify the model - if this feature is required use GUI.invokeLater(java.lang.Runnable).

Parameters:
evt - the mouse event
element - the element under the mouse
See Also:
Event.Type.MOUSE_BTNDOWN, Event.Type.MOUSE_BTNUP, Event.Type.MOUSE_CLICKED