public interface ToolTipProvider<T extends javax.swing.JComponent>
| Modifier and Type | Method and Description |
|---|---|
long |
getDelay()
Returns tooltip display delay.
|
java.awt.Rectangle |
getSourceBounds(T component,
java.lang.Object value,
int index,
int column,
boolean isSelected)
Returns custom WebLaF tooltip source bounds.
|
WebCustomTooltip |
getToolTip(T component,
java.lang.Object value,
int index,
int column,
boolean isSelected)
Return custom WebLaF tooltip for the specified cell.
|
void |
hoverCellChanged(T component,
int oldIndex,
int oldColumn,
int newIndex,
int newColumn)
Forces tooltip to update when hover cell changes.
|
long getDelay()
java.awt.Rectangle getSourceBounds(T component, java.lang.Object value, int index, int column, boolean isSelected)
component - component to provide tooltip forvalue - cell valueindex - cell indexcolumn - cell column indexisSelected - whether the cell is selected or notWebCustomTooltip getToolTip(T component, java.lang.Object value, int index, int column, boolean isSelected)
component - component to provide tooltip forvalue - cell valueindex - cell indexcolumn - cell column indexisSelected - whether the cell is selected or notvoid hoverCellChanged(T component, int oldIndex, int oldColumn, int newIndex, int newColumn)
component - component to provide tooltip foroldIndex - old hover cell indexoldColumn - old hover cell columnnewIndex - new hover cell indexnewColumn - new hover cell column