Package org.xlsx4j.sml
Class Col
java.lang.Object
org.xlsx4j.sml.Col
- All Implemented Interfaces:
Child
Java class for CT_Col complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Col">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="min" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="width" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="style" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
<attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="bestFit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="customWidth" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="phonetic" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="outlineLevel" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
<attribute name="collapsed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</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.longgetMax()Gets the value of the max property.longgetMin()Gets the value of the min property.shortGets the value of the outlineLevel property.Gets the parent object in the object tree representing the unmarshalled xml document.longgetStyle()Gets the value of the style property.getWidth()Gets the value of the width property.booleanGets the value of the bestFit property.booleanGets the value of the collapsed property.booleanGets the value of the customWidth property.booleanisHidden()Gets the value of the hidden property.booleanGets the value of the phonetic property.voidsetBestFit(Boolean value) Sets the value of the bestFit property.voidsetCollapsed(Boolean value) Sets the value of the collapsed property.voidsetCustomWidth(Boolean value) Sets the value of the customWidth property.voidSets the value of the hidden property.voidsetMax(long value) Sets the value of the max property.voidsetMin(long value) Sets the value of the min property.voidsetOutlineLevel(Short value) Sets the value of the outlineLevel property.voidvoidsetPhonetic(Boolean value) Sets the value of the phonetic property.voidSets the value of the style property.voidSets the value of the width property.
-
Field Details
-
min
protected long min -
max
protected long max -
width
-
style
-
bestFit
-
customWidth
-
phonetic
-
outlineLevel
-
collapsed
-
-
Constructor Details
-
Col
public Col()
-
-
Method Details
-
getMin
public long getMin()Gets the value of the min property. -
setMin
public void setMin(long value) Sets the value of the min property. -
getMax
public long getMax()Gets the value of the max property. -
setMax
public void setMax(long value) Sets the value of the max property. -
getWidth
Gets the value of the width property.- Returns:
- possible object is
Double
-
setWidth
Sets the value of the width property.- Parameters:
value- allowed object isDouble
-
getStyle
public long getStyle()Gets the value of the style property.- Returns:
- possible object is
Long
-
setStyle
Sets the value of the style property.- Parameters:
value- allowed object isLong
-
isHidden
public boolean isHidden()Gets the value of the hidden property.- Returns:
- possible object is
Boolean
-
setHidden
Sets the value of the hidden property.- Parameters:
value- allowed object isBoolean
-
isBestFit
public boolean isBestFit()Gets the value of the bestFit property.- Returns:
- possible object is
Boolean
-
setBestFit
Sets the value of the bestFit property.- Parameters:
value- allowed object isBoolean
-
isCustomWidth
public boolean isCustomWidth()Gets the value of the customWidth property.- Returns:
- possible object is
Boolean
-
setCustomWidth
Sets the value of the customWidth property.- Parameters:
value- allowed object isBoolean
-
isPhonetic
public boolean isPhonetic()Gets the value of the phonetic property.- Returns:
- possible object is
Boolean
-
setPhonetic
Sets the value of the phonetic property.- Parameters:
value- allowed object isBoolean
-
getOutlineLevel
public short getOutlineLevel()Gets the value of the outlineLevel property.- Returns:
- possible object is
Short
-
setOutlineLevel
Sets the value of the outlineLevel property.- Parameters:
value- allowed object isShort
-
isCollapsed
public boolean isCollapsed()Gets the value of the collapsed property.- Returns:
- possible object is
Boolean
-
setCollapsed
Sets the value of the collapsed property.- Parameters:
value- allowed object isBoolean
-
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.
-