com.qoppa.pdfViewer.actions
Class SetOCGState

java.lang.Object
  extended by com.qoppa.pdfViewer.actions.Action
      extended by com.qoppa.pdfViewer.actions.SetOCGState

public class SetOCGState
extends Action

Action that changes an optional content group's (layer) visibility.

Author:
Qoppa Software

Nested Class Summary
static class SetOCGState.Sequence
          Class that contains a list of layers and an action for that list.
 
Field Summary
static String ACTION_TYPE_DESCRIPTION
           
static int OCG_ACTION_OFF
           
static int OCG_ACTION_ON
           
static int OCG_ACTION_TOGGLE
           
 
Constructor Summary
SetOCGState(Vector seqList)
          Constructs a SetOCGState action with a sequence list.
 
Method Summary
 String getActionType()
          Returns the action type.
 String getActionTypeDesc()
          Returns the action type description.
 Vector getSequenceList()
          Returns the list of sequences in 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

ACTION_TYPE_DESCRIPTION

public static String ACTION_TYPE_DESCRIPTION

OCG_ACTION_ON

public static int OCG_ACTION_ON

OCG_ACTION_OFF

public static int OCG_ACTION_OFF

OCG_ACTION_TOGGLE

public static int OCG_ACTION_TOGGLE
Constructor Detail

SetOCGState

public SetOCGState(Vector seqList)
Constructs a SetOCGState action with a sequence list.

Parameters:
seqList -
Method Detail

getActionType

public String getActionType()
Returns the action type.

Specified by:
getActionType in class Action
Returns:
The action type.

getActionTypeDesc

public String getActionTypeDesc()
Returns the action type description.

Specified by:
getActionTypeDesc in class Action

getSequenceList

public Vector getSequenceList()
Returns the list of sequences in this action

Returns:
The list of Sequence objects.

toString

public String toString()
Returns the description of the action.

Overrides:
toString in class Object