DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class AnnotationShowHideAction

java.lang.Object
  extended by com.cete.dynamicpdf.Action
      extended by com.cete.dynamicpdf.OutlineAnnotationAction
          extended by com.cete.dynamicpdf.AnnotationShowHideAction

public class AnnotationShowHideAction
extends OutlineAnnotationAction

Represents annotation show hide action

Licensing:
This class is a DynamicPDF Generator Enterprise Edition feature.

View Example


Field Summary
 
Fields inherited from class com.cete.dynamicpdf.Action
text_A, text_Next, text_S, text_Type
 
Constructor Summary
AnnotationShowHideAction(java.lang.String fieldName)
          Initializes a new instance of the AnnotationShowHideAction class.
 
Method Summary
 void draw(DocumentWriter writer)
          Draws the action to the specified DocumentWriter object.
 boolean getShowField()
          Gets field to hide or show.
 void setShowField(boolean value)
          Sets field to hide or show.
 
Methods inherited from class com.cete.dynamicpdf.OutlineAnnotationAction
getNextAction, setNextAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationShowHideAction

public AnnotationShowHideAction(java.lang.String fieldName)
Initializes a new instance of the AnnotationShowHideAction class.

Parameters:
fieldName - represents the field name to hide or show.
See Also:
AnnotationShowHideAction
Method Detail

getShowField

public boolean getShowField()
Gets field to hide or show. By default field will be hide.

Returns:
field to hide or show.

setShowField

public void setShowField(boolean value)
Sets field to hide or show. By default field will be hide.

Parameters:
value - field to hide or show.

draw

public void draw(DocumentWriter writer)
Draws the action to the specified DocumentWriter object.

Specified by:
draw in class Action
Parameters:
writer - DocumentWriter object to receive the actions output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software