|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.swing.flextree.ToolTipFeature
public class ToolTipFeature
A flextree feature used to activate tooltips for a FlexibleTree
. It is used in
conjunction with TreeModule
s implementing TreeTipProvider
.
Method Summary | |
---|---|
static ToolTipFeature |
install(FlexibleTree flextree)
Install this feature on the given flextree. |
void |
setTreeTooltip(String tooltipText)
Sets the tooltip text to be displayed for this tree. |
void |
uninstall()
Uninstall the feature from the flextree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@CallOnEDT public static ToolTipFeature install(FlexibleTree flextree)
uninstall()
on the returned instance.
flextree
- the FlexibleTree
on which this feature will be installed
ToolTipFeature
which is created and installed@CallOnEDT public void setTreeTooltip(String tooltipText)
TreeTipProvider
.
tooltipText
- The text to be displayed when hovering over the tree.TreeTipProvider
@CallOnEDT public void uninstall()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |