|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qoppa.pdfViewer.actions.Action
com.qoppa.pdfViewer.actions.HideShowAction
Action that tells the viewer to show or hide a field.
| Field Summary | |
static String |
ACTION_TYPE_DESCRIPTION
|
| Constructor Summary | |
HideShowAction(String fieldName,
boolean hide)
Constructs the action to work on the given field name. |
|
| Method Summary | |
String |
getActionType()
Returns the action type. |
String |
getActionTypeDesc()
Returns the action type description |
FormField |
getField()
Returns field associated with this action. |
String |
getFieldName()
Returns the field name that this action refers to. |
boolean |
isHide()
Returns a boolean flag indicating wether to hide the field (true) or to show it (false). |
void |
setField(FormField field)
Set the field for this action. |
String |
toString()
Returns the description of the action. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static String ACTION_TYPE_DESCRIPTION
| Constructor Detail |
public HideShowAction(String fieldName,
boolean hide)
fieldName - The name of the field that this action works on.hide - Boolean variable that determines whether to hide or show the field.| Method Detail |
public String getFieldName()
public boolean isHide()
public String getActionType()
getActionType in class Actionpublic FormField getField()
public void setField(FormField field)
public String getActionTypeDesc()
getActionTypeDesc in class Actionpublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||