|
||||||||||
| 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
public class HideShowAction
Action that tells the viewer to show or hide fields.
| Field Summary | |
|---|---|
static String |
ACTION_TYPE_DESCRIPTION
|
| Constructor Summary | |
|---|---|
HideShowAction(Vector fieldNames,
boolean hide)
Constructs the action to work on the given field names. |
|
| Method Summary | |
|---|---|
String |
getActionType()
Returns the action type. |
String |
getActionTypeDesc()
Returns the action type description |
Vector |
getFieldNames()
Returns the field names that this action refers to. |
Vector |
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 fields)
Set the fields 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(Vector fieldNames,
boolean hide)
fieldNames - The names of the fields that this action works on.hide - Boolean variable that determines whether to hide or show the fields.| Method Detail |
|---|
public Vector getFieldNames()
public boolean isHide()
public String getActionType()
getActionType in class Actionpublic Vector getFields()
public void setFields(Vector fields)
public String getActionTypeDesc()
getActionTypeDesc in class Actionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||