Class CTPatternFill

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

public class CTPatternFill
extends java.lang.Object
implements Child

Java class for CT_PatternFill complex type.

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

 <complexType name="CT_PatternFill">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="fgColor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" minOccurs="0"/>
         <element name="bgColor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" minOccurs="0"/>
       </sequence>
       <attribute name="patternType" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_PatternType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected CTColor bgColor  
    protected CTColor fgColor  
    protected STPatternType patternType  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTPatternFill()  
  • 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.
    CTColor getBgColor()
    Gets the value of the bgColor property.
    CTColor getFgColor()
    Gets the value of the fgColor property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    STPatternType getPatternType()
    Gets the value of the patternType property.
    void setBgColor​(CTColor value)
    Sets the value of the bgColor property.
    void setFgColor​(CTColor value)
    Sets the value of the fgColor property.
    void setParent​(java.lang.Object parent)  
    void setPatternType​(STPatternType value)
    Sets the value of the patternType 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

    • getFgColor

      public CTColor getFgColor()
      Gets the value of the fgColor property.
      Returns:
      possible object is CTColor
    • setFgColor

      public void setFgColor​(CTColor value)
      Sets the value of the fgColor property.
      Parameters:
      value - allowed object is CTColor
    • getBgColor

      public CTColor getBgColor()
      Gets the value of the bgColor property.
      Returns:
      possible object is CTColor
    • setBgColor

      public void setBgColor​(CTColor value)
      Sets the value of the bgColor property.
      Parameters:
      value - allowed object is CTColor
    • getPatternType

      public STPatternType getPatternType()
      Gets the value of the patternType property.
      Returns:
      possible object is STPatternType
    • setPatternType

      public void setPatternType​(STPatternType value)
      Sets the value of the patternType property.
      Parameters:
      value - allowed object is STPatternType
    • 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.