public class Image extends Value
String value. Text values are
significant relative to a particular component.| Constructor and Description |
|---|
Image(java.lang.String tag)
Takes a required
String value. |
Image(java.lang.String tag,
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 |
getTag()
Accesses the
Text value. |
java.lang.String |
toString()
Sets
toString to the value that this class represents. |
public Image(java.lang.String tag)
String value.public Image(java.lang.String tag,
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.