net.xoetrope.xui
Interface XTextHolder

All Known Implementing Classes:
XButton, XButton, XButton, XButton, XCheckbox, XCheckbox, XCheckbox, XCheckbox, XEdit, XEdit, XEdit, XEdit, XEditorPane, XLabel, XLabel, XLabel, XLabel, XMenu, XMenu, XMenu, XMenu, XMenuItem, XMenuItem, XMenuItem, XMenuItem, XPassword, XPassword, XPassword, XPassword, XRadioButton, XRadioButton, XRadioButton, XRadioButton, XTab, XTextArea, XTextArea, XTextArea, XTextArea, XTextPane, XToolbarButton, XUnknown, XUnknown

public interface XTextHolder

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
 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