Package org.dwcj.interfaces
Interface HasControlText
- All Known Implementing Classes:
AbstractDwcControl,AbstractDwcjPanel,AbstractDwclistControl,AppPanel,BBjPanelAdapter,Button,CheckableMenuItem,CheckBox,ColorPicker,ComboBox,DateEditBox,Div,FileChooser,FontChooser,GridExWidget,HtmlContainer,HtmlEdit,ImageControl,Label,ListBox,MenuButton,MenuItem,Navigator,NumericBox,NumericBoxSpinner,OpenFileDialog,PopupMenu,PrintPreview,ProgressBar,RadioButton,ScrollBar,Slider,StringEditBox,TabControl,TextArea,TextBox,TextComboBox,TreeView
public interface HasControlText
Interface which facilitates controls that implement it the ability to
set the text of the control, if applicable, in a way that makes
sense for the specific control itself.
-
Method Summary
Modifier and TypeMethodDescriptiongetText()get the text property of the controlset the text of the control Each control implementing this interface has a text property, which might be visible in different ways (caption, title, contents of edit) or sometimes not visible at all
-
Method Details
-
getText
String getText()get the text property of the control- Returns:
- the text
-
setText
set the text of the control Each control implementing this interface has a text property, which might be visible in different ways (caption, title, contents of edit) or sometimes not visible at all- Parameters:
text-- Returns:
- the control itself
-