java.text
Class Annotation
java.lang.Object
|
+--java.text.Annotation
public class
Annotationextends
Object This class is used as a wrapper for a text attribute object. Annotation
objects are associated with a specific range of text. Changing either
the text range or the underlying text invalidates the object.
Author:- Aaron M. Renn (arenn@urbanophile.com)
Annotation
public Annotation(java.lang.Object attrib)
This method initializes a new instance of Annotation
to
wrapper the specified text attribute object.
Parameters:
getValue
public Object getValue()
This method returns the text attribute object this Annotation
instance is wrappering.
Returns:
- The text attribute object for this
Annotation
.
toString
public String toString()
This method returns a String
representation of this
object.
Returns: