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).| Modifier and Type | Method and 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.
|
public static DataTipManager get()
public void register(JList list)
list - the list which should be enhanced with data tips.public void register(JTree tree)
tree - the tree which should be enhanced with data tips.public void register(JTable table)
table - the table which should be enhanced with data tips.public boolean handleEventFromParentComponent(MouseEvent mouseEvent)
public void handleEventFromDataTipComponent(MouseEvent mouseEvent)
Copyright © 2004–2017 Ultreia.io. All rights reserved.