Package org.xlsx4j.sml
Class Col
java.lang.Object
org.xlsx4j.sml.Col
- All Implemented Interfaces:
Child
public class Col extends java.lang.Object implements 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 Modifier and Type Field Description protected java.lang.BooleanbestFitprotected java.lang.Booleancollapsedprotected java.lang.BooleancustomWidthprotected java.lang.Booleanhiddenprotected longmaxprotected longminprotected java.lang.ShortoutlineLevelprotected java.lang.Booleanphoneticprotected java.lang.Longstyleprotected java.lang.Doublewidth -
Constructor Summary
Constructors Constructor Description Col() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.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.shortgetOutlineLevel()Gets the value of the outlineLevel property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.longgetStyle()Gets the value of the style property.java.lang.DoublegetWidth()Gets the value of the width property.booleanisBestFit()Gets the value of the bestFit property.booleanisCollapsed()Gets the value of the collapsed property.booleanisCustomWidth()Gets the value of the customWidth property.booleanisHidden()Gets the value of the hidden property.booleanisPhonetic()Gets the value of the phonetic property.voidsetBestFit(java.lang.Boolean value)Sets the value of the bestFit property.voidsetCollapsed(java.lang.Boolean value)Sets the value of the collapsed property.voidsetCustomWidth(java.lang.Boolean value)Sets the value of the customWidth property.voidsetHidden(java.lang.Boolean value)Sets 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(java.lang.Short value)Sets the value of the outlineLevel property.voidsetParent(java.lang.Object parent)voidsetPhonetic(java.lang.Boolean value)Sets the value of the phonetic property.voidsetStyle(java.lang.Long value)Sets the value of the style property.voidsetWidth(java.lang.Double value)Sets the value of the width property.
-
Field Details
-
min
protected long min -
max
protected long max -
width
protected java.lang.Double width -
style
protected java.lang.Long style -
protected java.lang.Boolean hidden
-
bestFit
protected java.lang.Boolean bestFit -
customWidth
protected java.lang.Boolean customWidth -
phonetic
protected java.lang.Boolean phonetic -
outlineLevel
protected java.lang.Short outlineLevel -
collapsed
protected java.lang.Boolean 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
public java.lang.Double getWidth()Gets the value of the width property.- Returns:
- possible object is
Double
-
setWidth
public void setWidth(java.lang.Double value)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
public void setStyle(java.lang.Long value)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
public void setHidden(java.lang.Boolean value)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
public void setBestFit(java.lang.Boolean value)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
public void setCustomWidth(java.lang.Boolean value)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
public void setPhonetic(java.lang.Boolean value)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
public void setOutlineLevel(java.lang.Short value)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
public void setCollapsed(java.lang.Boolean value)Sets the value of the collapsed property.- Parameters:
value- allowed object isBoolean
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-