public class HideShowAction extends Action
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_TYPE_DESCRIPTION |
| Constructor and Description |
|---|
HideShowAction(Vector<String> fieldNames,
boolean hide)
Constructs the action to work on the given field names.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActionType()
Returns the action type.
|
String |
getActionTypeDesc()
Returns the action type description
|
Vector<String> |
getFieldNames()
Returns the field names that this action refers to.
|
Vector<FormField> |
getFields()
Returns fields associated with this action.
|
boolean |
isHide()
Returns a boolean flag indicating whether to hide the fields (true) or to show them (false).
|
void |
setFields(Vector<FormField> fields)
Set the fields for this action.
|
String |
toString()
Returns the description of the action.
|
getNextAction, setNextActionpublic static String ACTION_TYPE_DESCRIPTION
public Vector<String> getFieldNames()
public boolean isHide()
public String getActionType()
getActionType in class Actionpublic Vector<FormField> getFields()
public String getActionTypeDesc()
getActionTypeDesc in class Action