public static interface IlvJTable.ToolTipPolicy
ToolTipPolicy defines the strategy that a
JTable uses to compute the text and positioning of its
tooltips.| Modifier and Type | Method and Description |
|---|---|
Point |
getToolTipLocation(IlvJTable table,
MouseEvent event,
int rowIndex,
int columnIndex)
Returns the tooltip location in the coordinate system of the table.
|
String |
getToolTipText(IlvJTable table,
MouseEvent event,
IlvHierarchyNode row,
String value,
int rowIndex,
int columnIndex)
Returns the string to be used as the tooltip for the specified mouse
event.
|
String getToolTipText(IlvJTable table, MouseEvent event, IlvHierarchyNode row, String value, int rowIndex, int columnIndex)
table - The table.event - The mouse event that caused the
ToolTipManager to show the tooltip.row - The row that the mouse is over. The type of the
row matches the row organization of the
Gantt configuration of which the table is a member. In
other words, if the
row type of
the Gantt configuration is
ACTIVITY_ROWS,
then the row will be an
IlvActivity. Otherwise, the
rowtype of
the Gantt configuration is
RESOURCE_ROWS
and the row will be an
IlvResource.value - The text value being rendered in the table cell at the
mouse position.rowIndex - The index of the row at the mouse position.columnIndex - The index of the column at the mouse position.Point getToolTipLocation(IlvJTable table, MouseEvent event, int rowIndex, int columnIndex)
null is returned, the Swing
ToolTipManager chooses a location.table - The table.event - The mouse event that caused the
ToolTipManager to show the tooltip.rowIndex - The index of the row at the mouse position.columnIndex - The index of the column at the mouse position.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.