org.formaria.aria
Interface ValueHolder

All Superinterfaces:
TextHolder
All Known Implementing Classes:
Button, Button, Button, Checkbox, Checkbox, Checkbox, RadioButton, RadioButton, Spinner, ToolbarButton

public interface ValueHolder
extends TextHolder

A generic interface for components that display a text label

Copyright: Copyright (c) Formaria Ltd., 2008

$Revision: 2.2 $


Method Summary
 java.lang.Object getValue()
          Get the object's value if it has one or else get the text
 void setValue(java.lang.Object newValue)
          Set the value associated with this object
 
Methods inherited from interface org.formaria.aria.TextHolder
getText, setText
 

Method Detail

getValue

java.lang.Object getValue()
Get the object's value if it has one or else get the text

Returns:
the value for this object

setValue

void setValue(java.lang.Object newValue)
Set the value associated with this object

Parameters:
newValue - the new object value