COSObjectablepublic class PDOptionalContentGroup extends PDPropertyList
dict| Constructor | Description |
|---|---|
PDOptionalContentGroup(java.lang.String name) |
Creates a new optional content group (OCG).
|
PDOptionalContentGroup(COSDictionary dict) |
Creates a new instance based on a given
COSDictionary. |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getName() |
Returns the name of the optional content group.
|
void |
setName(java.lang.String name) |
Sets the name of the optional content group.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, getCOSObjectpublic PDOptionalContentGroup(java.lang.String name)
name - the name of the content grouppublic PDOptionalContentGroup(COSDictionary dict)
COSDictionary.dict - the dictionarypublic java.lang.String getName()
public void setName(java.lang.String name)
name - the namepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002–2018. All rights reserved.