|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.objects.PdfObjectWrapper<PdfDictionary> org.pdfclown.documents.contents.PropertyList org.pdfclown.documents.contents.layers.LayerEntity org.pdfclown.documents.contents.layers.Layer
@PDF(value=PDF15) public final class Layer
Optional content group [PDF:1.7:4.10.1].
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.pdfclown.documents.contents.layers.LayerEntity |
---|
LayerEntity.VisibilityPolicyEnum |
Field Summary | |
---|---|
static PdfName |
TypeName
|
Constructor Summary | |
---|---|
Layer(Document context,
String title)
|
Method Summary | |
---|---|
Layer |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
String |
getContentType()
Gets the name of the type of content controlled by the group. |
String |
getCreator()
Gets the name of the application that created this layer. |
String |
getLanguage()
Gets the language (and possibly locale) of the content controlled by this layer. |
Layers |
getLayers()
Gets the sublayers. |
LayerMembership |
getMembership()
Gets the default membership. |
String |
getTitle()
Gets the text label. |
List<Layer> |
getVisibilityLayers()
Gets the layers whose states determine the visibility of content controlled by this entity. |
LayerEntity.VisibilityPolicyEnum |
getVisibilityPolicy()
Gets the visibility policy of this entity. |
Interval<Double> |
getZoomRange()
Gets the range of magnifications at which the content in this layer is best viewed. |
boolean |
isExportable()
Gets whether this layer is visible when the document is saved by a viewer application to a format that does not support optional content. |
boolean |
isLocked()
Gets whether the default visibility of this layer cannot be changed through the user interface of a viewer application. |
boolean |
isPrintable()
Gets whether this layer is visible when the document is printed from a viewer application. |
boolean |
isViewable()
Gets whether this layer is visible when the document is opened in a viewer application. |
boolean |
isVisible()
Gets whether this layer is initially visible. |
void |
setContentType(String value)
|
void |
setCreator(String value)
|
void |
setExportable(boolean value)
|
void |
setLanguage(String value)
|
void |
setLayers(Layers value)
|
void |
setLocked(boolean value)
|
void |
setPrintable(boolean value)
|
void |
setTitle(String value)
|
void |
setViewable(boolean value)
|
void |
setVisibilityPolicy(LayerEntity.VisibilityPolicyEnum value)
|
void |
setVisible(boolean value)
|
void |
setZoomRange(Interval<Double> value)
|
String |
toString()
|
static Layer |
wrap(PdfDirectObject baseObject)
|
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.pdfclown.objects.IPdfObjectWrapper |
---|
getBaseObject |
Field Detail |
---|
public static final PdfName TypeName
Constructor Detail |
---|
public Layer(Document context, String title)
Method Detail |
---|
public static Layer wrap(PdfDirectObject baseObject)
public Layer clone(Document context)
PdfObjectWrapper
clone
in class PropertyList
context
- Which document the clone has to be registered in.public String getContentType()
public String getCreator()
public String getLanguage()
public Layers getLayers()
getLayers
in interface ILayerNode
public LayerMembership getMembership()
LayerEntity
getMembership
in class LayerEntity
public List<Layer> getVisibilityLayers()
LayerEntity
getVisibilityLayers
in class LayerEntity
public LayerEntity.VisibilityPolicyEnum getVisibilityPolicy()
LayerEntity
getVisibilityPolicy
in class LayerEntity
public Interval<Double> getZoomRange()
public boolean isExportable()
public boolean isLocked()
public boolean isPrintable()
public boolean isViewable()
public boolean isVisible()
public void setContentType(String value)
getContentType()
public void setCreator(String value)
getCreator()
public void setExportable(boolean value)
isExportable()
public void setLanguage(String value)
getLanguage()
public void setLayers(Layers value)
getLayers()
public void setLocked(boolean value)
isLocked()
public void setPrintable(boolean value)
isPrintable()
public void setViewable(boolean value)
isViewable()
public void setVisibilityPolicy(LayerEntity.VisibilityPolicyEnum value)
setVisibilityPolicy
in class LayerEntity
LayerEntity.getVisibilityPolicy()
public void setVisible(boolean value)
isVisible()
public void setZoomRange(Interval<Double> value)
public String toString()
toString
in class Object
public String getTitle()
ILayerNode
getTitle
in interface ILayerNode
public void setTitle(String value)
setTitle
in interface ILayerNode
ILayerNode.getTitle()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |