|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fife.ui.rsyntaxtextarea.parser.ToolTipInfo
public class ToolTipInfo
Wrapper for a tool tip and a listener for hyperlink events in the tool
tip (assuming the tip is HTML). If the RSyntaxTextArea
instance
has FocusableTip
s enabled, and the user clicks on a hyperlink in
the tool tip, the specified HyperlinkListener
will be called.
Constructor Summary | |
---|---|
ToolTipInfo(String text,
HyperlinkListener listener)
Constructor. |
|
ToolTipInfo(String text,
HyperlinkListener l,
URL imageBase)
Constructor. |
Method Summary | |
---|---|
HyperlinkListener |
getHyperlinkListener()
Returns the listener to call when hyperlinks are clicked in the tool tip. |
URL |
getImageBase()
Returns the base URL that any images in the HTML tool tip live in. |
String |
getToolTipText()
Returns the tool tip text to display. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolTipInfo(String text, HyperlinkListener listener)
text
- The tool tip text, or null
for none.listener
- The hyperlink listener, or null
for none.public ToolTipInfo(String text, HyperlinkListener l, URL imageBase)
text
- The tool tip text, or null
for none.l
- The hyperlink listener, or null
for none.imageBase
- The base URL for images in the HTML text
,
or null
for the default.Method Detail |
---|
public HyperlinkListener getHyperlinkListener()
null
for none.public URL getImageBase()
FocusableTip
s.
Note that if what getToolTipText()
returns isn't HTML, this
value is effectively ignored.
null
for the default.public String getToolTipText()
null
for none.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |