Interface ToolTipSupplier
public interface ToolTipSupplier
A ToolTipSupplier can create tool tip text for an RTextArea
on its behalf. A text area will check its ToolTipSupplier for a
tool tip before calling the super class's implementation of
JComponent.getToolTipText(). This allows
applications to intercept tool tip events and provide the text for a tool
tip without subclassing RTextArea.- Version:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiongetToolTipText(RTextArea textArea, MouseEvent e) Returns the tool tip text to display for a given mouse event.
-
Method Details
-
getToolTipText
Returns the tool tip text to display for a given mouse event.- Parameters:
textArea- The text area.e- The mouse event.- Returns:
- The tool tip, or
nullif none.
-