|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.form.BaseInput
public abstract class BaseInput
The BaseInput is an abstract TransformationBean for creating INPUT elements.
Note that subclasses of this bean actually provide the markup rendering used in/with Servlet and JavaServer Pages technologies. If you need to add support for a markup language that is not explicitly provided with AppDev Studio, then you must extend this class.
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:Input custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
Field Summary |
---|
Fields inherited from class com.sas.servlet.tbeans.form.BaseFormElement |
---|
RB_KEY |
Constructor Summary | |
---|---|
BaseInput()
Construct a new Input control |
Method Summary | |
---|---|
java.lang.String |
getInitialText()
Gets the initial text attribute |
int |
getMaximumLength()
Gets the maximum number of characters permitted in a input field. |
int |
getSize()
Gets the visible size of input fields to a given number of average character widths. |
java.lang.String |
getText()
Gets the text, or value, attribute |
boolean |
isReadOnly()
Determines the readOnly value associated with the input field. |
void |
setInitialText(java.lang.String value)
Sets the initial text attribute. |
void |
setMaximumLength(int value)
Sets the maximum number of characters permitted in a input field. |
void |
setReadOnly(boolean value)
Sets the readOnly attribute associated with the input field. |
void |
setSize(int value)
Sets the visible size of input fields to a given number of average character widths. |
void |
setText(java.lang.String value)
Sets the text, or value, attribute. |
Constructor Detail |
---|
public BaseInput()
Method Detail |
---|
public void setSize(int value)
size
- The size of the input fieldpublic int getSize()
public void setText(java.lang.String value)
value
- The text valuepublic java.lang.String getText()
public void setMaximumLength(int value)
value
- The maximum number of characterspublic int getMaximumLength()
public void setReadOnly(boolean value)
value
- The readOnly valuepublic boolean isReadOnly()
public void setInitialText(java.lang.String value)
value
- The initial text valuepublic java.lang.String getInitialText()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |