|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.graphics.optionalcontent.PDOptionalContentGroup
public class PDOptionalContentGroup
This class represents an optional content group (OCG).
Constructor Summary | |
---|---|
PDOptionalContentGroup(COSDictionary dict)
Creates a new instance based on a given COSDictionary . |
|
PDOptionalContentGroup(String name)
Creates a new optional content group (OCG). |
Method Summary | |
---|---|
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
String |
getName()
Returns the name of the optional content group. |
void |
setName(String name)
Sets the name of the optional content group. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PDOptionalContentGroup(String name)
name
- the name of the content grouppublic PDOptionalContentGroup(COSDictionary dict)
COSDictionary
.
dict
- the dictionaryMethod Detail |
---|
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public String getName()
public void setName(String name)
name
- the namepublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |