thinwire.ui
Interface TextComponent

All Superinterfaces:
Component
All Known Subinterfaces:
AlignTextComponent, CheckedComponent, EditorComponent, MaskEditorComponent
All Known Implementing Classes:
Button, CheckBox, DropDown, DropDownDateBox, DropDownGridBox, Hyperlink, Label, RadioButton, TabSheet, TextArea, TextField

public interface TextComponent
extends Component


Field Summary
static java.lang.String PROPERTY_TEXT
           
 
Fields inherited from interface thinwire.ui.Component
ACTION_CLICK, ACTION_DOUBLE_CLICK, PROPERTY_ENABLED, PROPERTY_FOCUS, PROPERTY_FOCUS_CAPABLE, PROPERTY_HEIGHT, PROPERTY_LIMIT, PROPERTY_USER_OBJECT, PROPERTY_VISIBLE, PROPERTY_WIDTH, PROPERTY_X, PROPERTY_Y
 
Method Summary
 java.lang.String getText()
          This method will return the text in the field as a String.
 void setText(java.lang.String text)
          This method places the text in the String passed into the text field.
 
Methods inherited from interface thinwire.ui.Component
addActionListener, addActionListener, addDropListener, addDropListener, addKeyPressListener, addKeyPressListener, addPropertyChangeListener, addPropertyChangeListener, fireAction, fireAction, fireAction, fireDrop, fireDrop, fireDrop, fireKeyPress, fireKeyPress, getContainer, getHeight, getLabel, getLimit, getParent, getStyle, getUserObject, getWidth, getX, getY, isEnabled, isFocus, isFocusCapable, isVisible, removeActionListener, removeDropListener, removeKeyPressListener, removePropertyChangeListener, setBounds, setEnabled, setFocus, setFocusCapable, setHeight, setLimit, setPosition, setSize, setUserObject, setVisible, setWidth, setX, setY
 

Field Detail

PROPERTY_TEXT

static final java.lang.String PROPERTY_TEXT
See Also:
Constant Field Values
Method Detail

getText

java.lang.String getText()
This method will return the text in the field as a String.

Returns:
the text in this Field

setText

void setText(java.lang.String text)
This method places the text in the String passed into the text field.

Parameters:
text - the text to place in this TextField


ThinWire® is a registered of Custom Credit Systems  Copyright © 2007 All rights reserved.
ThinWire_is_Open_Source_under_the_terms_of_the_LGPLv2.1 SourceForge.net_Project_Page java.net_Member Support_ThinWire,_Digg_our_Story