Class CTFill

java.lang.Object
org.xlsx4j.sml.CTFill
All Implemented Interfaces:
Child

public class CTFill
extends java.lang.Object
implements Child

Java class for CT_Fill complex type.

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

 <complexType name="CT_Fill">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="patternFill" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PatternFill" minOccurs="0"/>
         <element name="gradientFill" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_GradientFill" minOccurs="0"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected CTGradientFill gradientFill  
    protected CTPatternFill patternFill  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTFill()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    CTGradientFill getGradientFill()
    Gets the value of the gradientFill property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    CTPatternFill getPatternFill()
    Gets the value of the patternFill property.
    void setGradientFill​(CTGradientFill value)
    Sets the value of the gradientFill property.
    void setParent​(java.lang.Object parent)  
    void setPatternFill​(CTPatternFill value)
    Sets the value of the patternFill property.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • getPatternFill

      public CTPatternFill getPatternFill()
      Gets the value of the patternFill property.
      Returns:
      possible object is CTPatternFill
    • setPatternFill

      public void setPatternFill​(CTPatternFill value)
      Sets the value of the patternFill property.
      Parameters:
      value - allowed object is CTPatternFill
    • getGradientFill

      public CTGradientFill getGradientFill()
      Gets the value of the gradientFill property.
      Returns:
      possible object is CTGradientFill
    • setGradientFill

      public void setGradientFill​(CTGradientFill value)
      Sets the value of the gradientFill property.
      Parameters:
      value - allowed object is CTGradientFill
    • 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​(javax.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.