org.formaria.aria
Interface TextHolder

All Known Subinterfaces:
ValueHolder
All Known Implementing Classes:
AnimatedText, AnimationSurface, Button, Button, Button, CalendarPanel, Checkbox, Checkbox, Checkbox, ComponentProxy, CompositeProxy, CreditsText, DateChooser, DateEdit, DateEdit, Edit, Edit, Edit, EditorPane, FlowedTextComponent, GraphicButton, GraphicButton, HtmlText, HyperLabel, ImageButton, Keypad, Keypad, Label, Label, Label, MarqueeText, Menu, Menu, Menu, MenuBar, MenuItem, MenuItem, MenuItem, MoneyEdit, MoneyEdit, Password, Password, Password, PolygonalTextArea, PopUpWindow, ProgressIndicator, RadioButton, RadioButton, RadioButton, ReflectedText, RotatedText, Spinner, Tab, TextArea, TextArea, TextArea, TextPane, TimeChooser, ToolbarButton, ToolTip, Unknown, Unknown, YearDateChooser

public interface TextHolder

A generic interface for components that display a text label

Copyright: Copyright (c) Formaria Ltd., 2008

$Revision: 2.2 $


Method Summary
 java.lang.String getText()
          Get the text/label of a component
 void setText(java.lang.String text)
          Set the text/label of a component
 

Method Detail

setText

void setText(java.lang.String text)
Set the text/label of a component

Parameters:
text - the new text

getText

java.lang.String getText()
Get the text/label of a component

Returns:
the component's text