Class DataTipManager
- java.lang.Object
-
- org.nuiton.jaxx.widgets.extra.datatips.DataTipManager
-
public class DataTipManager extends Object
DataTipManager
provides data tips for tree, table and list components. Whenever the mouse cursor is over a cell whose content is partially hidden a popup with the complete cell content is shown. The cell content can be hidden because it is clipped at either the parent component bounds (e.g. scrollpane) or at the cell bounds (e.g. table row height is too small).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataTipManager
get()
void
handleEventFromDataTipComponent(MouseEvent mouseEvent)
boolean
handleEventFromParentComponent(MouseEvent mouseEvent)
void
register(JList list)
Enable data tips for a list component.void
register(JTable table)
Enable data tips for a list component.void
register(JTree tree)
Enable data tips for a tree component.
-
-
-
Method Detail
-
get
public static DataTipManager get()
- Returns:
- the single, shared instance of the DataTipmanager
-
register
public void register(JList list)
Enable data tips for a list component.- Parameters:
list
- the list which should be enhanced with data tips.
-
register
public void register(JTree tree)
Enable data tips for a tree component.- Parameters:
tree
- the tree which should be enhanced with data tips.
-
register
public void register(JTable table)
Enable data tips for a list component.- Parameters:
table
- the table which should be enhanced with data tips.
-
handleEventFromParentComponent
public boolean handleEventFromParentComponent(MouseEvent mouseEvent)
-
handleEventFromDataTipComponent
public void handleEventFromDataTipComponent(MouseEvent mouseEvent)
-
-