|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextAttribute
Attribute bound to a CharSequence.
This class indicates getValue() returns a CharSequence using Java 5 type narrowing, for for those working against java 1.4 interfaces the additional methods getText() and setText have been introduced.
Method Summary | |
---|---|
CharSequence |
getText()
Java 1.4 type safe access to getValue |
CharSequence |
getValue()
Access to the content of this Attribute. |
void |
setText(CharSequence newValue)
Java 1.4 type safe access to setValue |
void |
setValue(CharSequence newValue)
|
Methods inherited from interface Attribute |
---|
getDescriptor, getID, getType, nillable, operation, setValue |
Methods inherited from interface Property |
---|
descriptor, name |
Method Detail |
---|
void setValue(CharSequence newValue)
CharSequence getValue()
Attribute
A subclass may define a more specific method to access this value, in order to improve readability or make allowances for Java 1.4 use.
getValue
in interface Attribute
CharSequence getText()
void setText(CharSequence newValue)
newValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |