Package org.xlsx4j.sml
Class CTPatternFill
java.lang.Object
org.xlsx4j.sml.CTPatternFill
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the bgColor property.Gets the value of the fgColor property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the patternType property.voidsetBgColor(CTColor value) Sets the value of the bgColor property.voidsetFgColor(CTColor value) Sets the value of the fgColor property.voidvoidsetPatternType(STPatternType value) Sets the value of the patternType property.
-
Field Details
-
fgColor
-
bgColor
-
patternType
-
-
Constructor Details
-
CTPatternFill
public CTPatternFill()
-
-
Method Details
-
getFgColor
Gets the value of the fgColor property.- Returns:
- possible object is
CTColor
-
setFgColor
Sets the value of the fgColor property.- Parameters:
value- allowed object isCTColor
-
getBgColor
Gets the value of the bgColor property.- Returns:
- possible object is
CTColor
-
setBgColor
Sets the value of the bgColor property.- Parameters:
value- allowed object isCTColor
-
getPatternType
Gets the value of the patternType property.- Returns:
- possible object is
STPatternType
-
setPatternType
Sets the value of the patternType property.- Parameters:
value- allowed object isSTPatternType
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-