Class CTColorChangeEffect

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

public class CTColorChangeEffect extends Object implements Child

Java class for CT_ColorChangeEffect complex type.

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

 <complexType name="CT_ColorChangeEffect">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="clrFrom" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="clrTo" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
       </sequence>
       <attribute name="useA" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTColorChangeEffect

      public CTColorChangeEffect()
  • Method Details

    • getClrFrom

      public CTColor getClrFrom()
      Gets the value of the clrFrom property.
      Returns:
      possible object is CTColor
    • setClrFrom

      public void setClrFrom(CTColor value)
      Sets the value of the clrFrom property.
      Parameters:
      value - allowed object is CTColor
    • getClrTo

      public CTColor getClrTo()
      Gets the value of the clrTo property.
      Returns:
      possible object is CTColor
    • setClrTo

      public void setClrTo(CTColor value)
      Sets the value of the clrTo property.
      Parameters:
      value - allowed object is CTColor
    • isUseA

      public boolean isUseA()
      Gets the value of the useA property.
      Returns:
      possible object is Boolean
    • setUseA

      public void setUseA(Boolean value)
      Sets the value of the useA property.
      Parameters:
      value - allowed object is Boolean
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.