public class ToolTipText extends Value
String
value. ToolTipText
values are
significant relative to a particular component.Constructor and Description |
---|
ToolTipText(java.lang.String text)
Takes a required
String value. |
ToolTipText(java.lang.String text,
int index)
Takes the required
String value as
well as an index that specifies which subitem
should be used. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares
Text values. |
int |
getIndex()
Accesses the text
index value. |
java.lang.String |
getToolTipText()
Accesses the
ToolTipText value. |
java.lang.String |
toString()
Sets
toString to the value that this class represents. |
public ToolTipText(java.lang.String text)
String
value.public ToolTipText(java.lang.String text, int index)
String
value as
well as an index
that specifies which subitem
should be used. The index
value is zero based, that is, the first
instance of String
is 0
, the second is 1
, and so on.