|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jidesoft.tooltip.ExpandedTipUtils
public class ExpandedTipUtils
Utility class to make a component showing an expanded tooltip when the mouse is a node or a cell. It's very easy to
use this class. In order to make a component, all you need to do is to call
The component could be a JList or JTree. Usually you don't need to uninstall the ExpandedTip from the component. But
if for some reason, you need to disable the ExpandedTip feature of the component, you can call uninstall(component).
ExpandedTipUtils.install(component);
ExpandedTipUtils.install(component);
// ...
// Now disable it
ExpandedTipUtils.uninstall(component);
Constructor Summary | |
---|---|
ExpandedTipUtils()
|
Method Summary | |
---|---|
static ListExpandedTip |
install(JList list)
Installs the ExpandedTip function onto a JList. |
static TableRowExpandedTip |
install(JTable table)
Installs the ExpandedTip function onto a JTable. |
static TableHeaderExpandedTip |
install(JTableHeader tableHeader)
Installs the ExpandedTip function onto a JTableHeader. |
static TreeExpandedTip |
install(JTree tree)
Installs the ExpandedTip function onto a JTree. |
static boolean |
uninstall(JComponent component)
Uninstall ExpandedTip feature from a component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpandedTipUtils()
Method Detail |
---|
public static TreeExpandedTip install(JTree tree)
tree
- the JTree to install ExpandedTip
public static ListExpandedTip install(JList list)
list
- the JList to install ExpandedTip
public static TableRowExpandedTip install(JTable table)
table
- the JTable to install ExpandedTip
public static TableHeaderExpandedTip install(JTableHeader tableHeader)
tableHeader
- the JTableHeader to install ExpandedTip
public static boolean uninstall(JComponent component)
component
- the JComponent that has installed ExpandedTip.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |