Class FocusableTip
java.lang.Object
org.fife.ui.rsyntaxtextarea.focusabletip.FocusableTip
A focusable tool tip, similar to those found in Eclipse. The user
can click in the tip and it becomes a "real," resizable window.
- Version:
- 1.0
- Author:
- Robert Futrell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the base URL to use when loading images in this focusable tip.The maximum size for unfocused tool tips.protected voidvoidDisposes of the focusable tip currently displayed, if any.voidsetImageBase(URL url) Sets the base URL to use when loading images in this focusable tip.voidsetMaxSize(Dimension maxSize) Sets the maximum size for unfocused tool tips.voidtoolTipRequested(MouseEvent e, String text) Callback called when this tool tip is requested.
-
Constructor Details
-
FocusableTip
-
-
Method Details
-
getImageBase
Returns the base URL to use when loading images in this focusable tip.- Returns:
- The base URL to use.
- See Also:
-
getMaxSize
The maximum size for unfocused tool tips.- Returns:
- The maximum size for unfocused tool tips. A value of
nullwill use a default size. - See Also:
-
invokeLater
-
possiblyDisposeOfTipWindow
public void possiblyDisposeOfTipWindow()Disposes of the focusable tip currently displayed, if any. -
setImageBase
Sets the base URL to use when loading images in this focusable tip.- Parameters:
url- The base URL to use.- See Also:
-
setMaxSize
Sets the maximum size for unfocused tool tips.- Parameters:
maxSize- The new maximum size. A value ofnullwill cause a default size to be used.- See Also:
-
toolTipRequested
Callback called when this tool tip is requested.- Parameters:
e- The mouse event that is triggering the tool tip.text- The text to display.
-