org.icepdf.core.pobjects.graphics
Class OptionalContentState

java.lang.Object
  extended by org.icepdf.core.pobjects.graphics.OptionalContentState

public class OptionalContentState
extends java.lang.Object

OptionalContentState stores the state of the currently in play OptionalContent if specified. If now optional content is present then this class will simply return true when isVisible() is called. This class handles embedded optionalContentState correctly.

Since:
5.0

Constructor Summary
OptionalContentState()
           
 
Method Summary
 void add(OptionalContents optionContent)
           
 boolean isVisible()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionalContentState

public OptionalContentState()
Method Detail

add

public void add(OptionalContents optionContent)

remove

public void remove()

isVisible

public boolean isVisible()