|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ToolTipSupport
This is an interface that can be implemented on a table model. If you use JideTable or its subclasses and you does
use the default table header created by those tables, the tooltip returned from getToolTipText(int)
method
will be used as the table header tooltip. If you have to use your own TableHeader, make sure you override
getToolTipText(MouseEvent) method and call JideTable's getTableHeaderToolTipText(MouseEvent) method.
public String getToolTipText(MouseEvent event) {
String toolTipText = getTableHeaderToolTipText(event);
if(toolTipText != null) {
return toolTipText;
}
else {
return super.getToolTipText(event);
}
}
Method Summary | |
---|---|
String |
getToolTipText(int columnIndex)
Gets the tooltip for the column. |
Method Detail |
---|
String getToolTipText(int columnIndex)
columnIndex
- the column index.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |