public abstract class FormElementBase
extends java.lang.Object
Represents base class for form elements.
Modifier | Constructor and Description |
---|---|
protected |
FormElementBase(int type)
Initializes a new instance of the
FormElementBase class. |
Modifier and Type | Method and Description |
---|---|
int |
getElementType()
Gets the type of the element.
|
java.lang.String |
getId()
Gets or sets the identifier of the form element.
|
java.lang.String |
getName()
Gets or sets the name of the form element.
|
java.lang.String |
getValue()
The value of field
|
void |
setId(java.lang.String value)
Gets or sets the identifier of the form element.
|
void |
setName(java.lang.String value)
Gets or sets the name of the form element.
|
void |
setValue(java.lang.String value)
The value of field
|
protected FormElementBase(int type)
Initializes a new instance of the FormElementBase
class.
type
- The form element type.public int getElementType()
Gets the type of the element.
Value: The type of the element.public java.lang.String getName()
Gets or sets the name of the form element.
Value: The name.public void setName(java.lang.String value)
Gets or sets the name of the form element.
Value: The name.public java.lang.String getId()
Gets or sets the identifier of the form element.
Value: The identifier.public void setId(java.lang.String value)
Gets or sets the identifier of the form element.
Value: The identifier.public java.lang.String getValue()
The value of field
public void setValue(java.lang.String value)
The value of field