Class Hidden
Represents a hidden field in an HTML form.
Constructors
Methods
Constructor Detail
Hidden
public Hidden()
Constructor for
Hidden
.
Hidden
Constructor for
Hidden
.
Parameters
- name
- name of the hidden field
Hidden
Constructor for
Hidden
.
Parameters
- name
- name of the hidden field
- value
- value of the hidden field
Method Detail
getDefaultValue
public
String getDefaultValue()
Gets the default value of the hidden field.
Return Value
the default value
getID
Gets the id of the hidden field.
Return Value
the id
getName
Gets the name of the hidden field.
Return Value
the name
getValue
Gets the value of the hidden field.
Return Value
the value
setDefaultValue
public void
setDefaultValue(
String defaultValue)
Sets the default value of the hidden field.
Parameters
- defaultValue
- default value to set
setID
Sets the id of the hidden field.
Parameters
- id
- id to set
setName
public void
setName(
String name)
Sets the name of the hidden field.
Parameters
- name
- name of the field
setValue
public void
setValue(
String value)
Sets the value of the hidden field.
Parameters
- value
- value to set