public class FormParameter
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
class |
FormParameter.UnusedParameterValueException |
This exception is thrown on an attempt to set a parameter to a value not permitted to it by the form.
|
Constructor | Description |
---|---|
FormParameter() |
Modifier and Type | Method | Description |
---|---|---|
FormControl |
getControl() |
get the control for this form Parameter (assuming it
has only one as for a text control
|
FormControl[] |
getControls() |
get the controls for this form Parameter
|
boolean |
isHiddenParameter() |
|
void |
setValue(boolean state) |
|
void |
setValue(java.lang.String value,
boolean state) |
|
void |
toggleCheckbox() |
|
void |
toggleCheckbox(java.lang.String value) |
public FormControl[] getControls()
public FormControl getControl()
public void toggleCheckbox()
public void toggleCheckbox(java.lang.String value)
public void setValue(boolean state)
public void setValue(java.lang.String value, boolean state)
public boolean isHiddenParameter()