oracle.javatools.editor.insight
Class TooltipDataItem
java.lang.Object
oracle.javatools.editor.insight.TooltipDataItem
- public abstract class TooltipDataItem
- extends java.lang.Object
The TooltipDataItem
can be used as an abstract starting point for data item objects stored in a TooltipInsightData
. Note that its use is optional, it is more for convenience and code resuse.
Note that data items that do extend this class can also make use of the TooltipDataItemCellRenderer
as a basic default cell renderer.
- See Also:
TooltipInsightData
, TooltipInsightView
, TooltipDataItemCellRenderer
Method Summary |
java.lang.String |
getAccessibleText()
Gets the text to use for accessibility purposes |
abstract java.lang.String |
getDisplayText()
Fetches a displayable text for this item that can be used as the visible text within a list cell. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TooltipDataItem
public TooltipDataItem()
getDisplayText
public abstract java.lang.String getDisplayText()
- Fetches a displayable text for this item that can be used as the visible text within a list cell. When using the
TooltipDataItemCellRenderer
, this display text is what is rendered visibly.
-
- Returns:
- a String with the displayable text
getAccessibleText
public java.lang.String getAccessibleText()
- Gets the text to use for accessibility purposes
-
- Returns:
- the text to use for accessibility
Copyright © 1997, 2004, Oracle. All rights reserved.