JIDE 3.5.15

com.jidesoft.tooltip
Class ExpandedTipUtils

java.lang.Object
  extended by com.jidesoft.tooltip.ExpandedTipUtils

public class ExpandedTipUtils
extends Object

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

 ExpandedTipUtils.install(component);
 
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);
 // ...
 // Now disable it
 ExpandedTipUtils.uninstall(component);
 

Since:
3.3.0

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

ExpandedTipUtils

public ExpandedTipUtils()
Method Detail

install

public static TreeExpandedTip install(JTree tree)
Installs the ExpandedTip function onto a JTree.

Parameters:
tree - the JTree to install ExpandedTip
Returns:
A TreeExpandedTip

install

public static ListExpandedTip install(JList list)
Installs the ExpandedTip function onto a JList.

Parameters:
list - the JList to install ExpandedTip
Returns:
A ListExpandedTip

install

public static TableRowExpandedTip install(JTable table)
Installs the ExpandedTip function onto a JTable.

Parameters:
table - the JTable to install ExpandedTip
Returns:
A TableRowExpandedTip

install

public static TableHeaderExpandedTip install(JTableHeader tableHeader)
Installs the ExpandedTip function onto a JTableHeader.

Parameters:
tableHeader - the JTableHeader to install ExpandedTip
Returns:
A TableHeaderExpandedTip

uninstall

public static boolean uninstall(JComponent component)
Uninstall ExpandedTip feature from a component.

Parameters:
component - the JComponent that has installed ExpandedTip.
Returns:
true if the ExpandedTip has been uninstalled successfully. False if there is no ExpandedTip on the component.

JIDE 3.5.15