|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XValueHolder
A generic interface for components that display a text label
Copyright: Copyright (c) Xoetrope Ltd., 2002-2004
$Revision: 2.2 $| Method Summary | |
|---|---|
java.lang.String |
getText()Get the text/label of a component |
java.lang.Object |
getValue()Get the object's value if it has one or else get the text |
void |
setText(java.lang.String text)Set the text/label of a component |
void |
setValue(java.lang.Object newValue)Set the value associated with this object |
| Method Detail |
|---|
void setText(java.lang.String text)
text - the new textjava.lang.String getText()
java.lang.Object getValue()
void setValue(java.lang.Object newValue)
newValue - the new object value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||