|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.text.Annotation
public class Annotation
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.
| Constructor Summary | |
|---|---|
Annotation(Object attrib)
This method initializes a new instance of Annotation to
wrapper the specified text attribute object. |
|
| Method Summary | |
|---|---|
Object |
getValue()
This method returns the text attribute object this Annotation
instance is wrappering. |
String |
toString()
This method returns a String representation of this
object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Annotation(Object attrib)
Annotation to
wrapper the specified text attribute object.
attrib - The text attribute Object to wrapper.| Method Detail |
|---|
public Object getValue()
Annotation
instance is wrappering.
Annotation.public String toString()
String representation of this
object.
toString in class ObjectString.Object.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||