public class TableModel.Annot
extends java.lang.Object
Constructor and Description |
---|
Annot(java.lang.String key,
java.lang.Object value)
Constructs an annotation with the given key and value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
key()
Returns the annotation's key.
|
java.lang.Object |
value()
Returns the annotation's value.
|
java.lang.String |
valueAsString()
Returns the value as a string.
|
public Annot(java.lang.String key, java.lang.Object value)
key
- the keyvalue
- the valuepublic java.lang.String key()
public java.lang.Object value()
public java.lang.String valueAsString()