Class CTCamera

java.lang.Object
org.docx4j.dml.CTCamera
All Implemented Interfaces:
Child

public class CTCamera
extends java.lang.Object
implements Child

Java class for CT_Camera complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Camera">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="rot" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_SphereCoords" minOccurs="0"/>
       </sequence>
       <attribute name="prst" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PresetCameraType" />
       <attribute name="fov" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FOVAngle" />
       <attribute name="zoom" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PositivePercentage" default="100000" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.Integer fov  
    protected STPresetCameraType prst  
    protected CTSphereCoords rot  
    protected java.lang.Integer zoom  
  • Constructor Summary

    Constructors
    Constructor Description
    CTCamera()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    java.lang.Integer getFov()
    Gets the value of the fov property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    STPresetCameraType getPrst()
    Gets the value of the prst property.
    CTSphereCoords getRot()
    Gets the value of the rot property.
    int getZoom()
    Gets the value of the zoom property.
    void setFov​(java.lang.Integer value)
    Sets the value of the fov property.
    void setParent​(java.lang.Object parent)  
    void setPrst​(STPresetCameraType value)
    Sets the value of the prst property.
    void setRot​(CTSphereCoords value)
    Sets the value of the rot property.
    void setZoom​(java.lang.Integer value)
    Sets the value of the zoom property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CTCamera

      public CTCamera()
  • Method Details

    • getRot

      public CTSphereCoords getRot()
      Gets the value of the rot property.
      Returns:
      possible object is CTSphereCoords
    • setRot

      public void setRot​(CTSphereCoords value)
      Sets the value of the rot property.
      Parameters:
      value - allowed object is CTSphereCoords
    • getPrst

      public STPresetCameraType getPrst()
      Gets the value of the prst property.
      Returns:
      possible object is STPresetCameraType
    • setPrst

      public void setPrst​(STPresetCameraType value)
      Sets the value of the prst property.
      Parameters:
      value - allowed object is STPresetCameraType
    • getFov

      public java.lang.Integer getFov()
      Gets the value of the fov property.
      Returns:
      possible object is Integer
    • setFov

      public void setFov​(java.lang.Integer value)
      Sets the value of the fov property.
      Parameters:
      value - allowed object is Integer
    • getZoom

      public int getZoom()
      Gets the value of the zoom property.
      Returns:
      possible object is Integer
    • setZoom

      public void setZoom​(java.lang.Integer value)
      Sets the value of the zoom property.
      Parameters:
      value - allowed object is Integer
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.