com.bea.alsb.presentation
Class TextBoxObject

java.lang.Object
  extended by com.bea.alsb.presentation.TextBoxObject
All Implemented Interfaces:
Constants, ITextBoxObject, UIObject
Direct Known Subclasses:
HintTextBoxObject, TransportUIFactory.TextBoxObject

public class TextBoxObject
extends Object
implements UIObject, Constants, ITextBoxObject

Text Box Object


Field Summary
 
Fields inherited from interface com.bea.alsb.presentation.Constants
TYPE_BROWSER_TEXTBOX, TYPE_CHECKBOX, TYPE_CONFIRM, TYPE_DYN_TABLE, TYPE_EXPAND_TABLE, TYPE_HINT_TEXTAREA, TYPE_HINT_TEXTBOX, TYPE_PASSWORD, TYPE_SELECT, TYPE_SIMPLE_TABLE, TYPE_TEXTAREA, TYPE_TEXTBOX
 
Fields inherited from interface com.bea.alsb.presentation.ITextBoxObject
DEFAULT_SIZE
 
Constructor Summary
TextBoxObject(String value, int size, boolean readOnly)
          constructor
 
Method Summary
 int getSize()
          returns the textbox size
 int getType()
          returns the type
 String getValue()
          returns the value
 boolean isReadOnly()
          returns read-only state
 void setValue(String value)
          sets the value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextBoxObject

public TextBoxObject(String value,
                     int size,
                     boolean readOnly)
constructor

Method Detail

getType

public int getType()
returns the type

Specified by:
getType in interface UIObject

getValue

public String getValue()
returns the value

Specified by:
getValue in interface ITextBoxObject

setValue

public void setValue(String value)
sets the value

Specified by:
setValue in interface ITextBoxObject

getSize

public int getSize()
returns the textbox size

Specified by:
getSize in interface ITextBoxObject

isReadOnly

public boolean isReadOnly()
returns read-only state

Specified by:
isReadOnly in interface ITextBoxObject