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.Boolean bestFit  
    protected java.lang.Boolean collapsed  
    protected java.lang.Boolean customWidth  
    protected java.lang.Boolean hidden  
    protected long max  
    protected long min  
    protected java.lang.Short outlineLevel  
    protected java.lang.Boolean phonetic  
    protected java.lang.Long style  
    protected java.lang.Double width  
  • Constructor Summary

    Constructors 
    Constructor Description
    Col()  
  • 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.
    long getMax()
    Gets the value of the max property.
    long getMin()
    Gets the value of the min property.
    short getOutlineLevel()
    Gets the value of the outlineLevel property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    long getStyle()
    Gets the value of the style property.
    java.lang.Double getWidth()
    Gets the value of the width property.
    boolean isBestFit()
    Gets the value of the bestFit property.
    boolean isCollapsed()
    Gets the value of the collapsed property.
    boolean isCustomWidth()
    Gets the value of the customWidth property.
    boolean isHidden()
    Gets the value of the hidden property.
    boolean isPhonetic()
    Gets the value of the phonetic property.
    void setBestFit​(java.lang.Boolean value)
    Sets the value of the bestFit property.
    void setCollapsed​(java.lang.Boolean value)
    Sets the value of the collapsed property.
    void setCustomWidth​(java.lang.Boolean value)
    Sets the value of the customWidth property.
    void setHidden​(java.lang.Boolean value)
    Sets the value of the hidden property.
    void setMax​(long value)
    Sets the value of the max property.
    void setMin​(long value)
    Sets the value of the min property.
    void setOutlineLevel​(java.lang.Short value)
    Sets the value of the outlineLevel property.
    void setParent​(java.lang.Object parent)  
    void setPhonetic​(java.lang.Boolean value)
    Sets the value of the phonetic property.
    void setStyle​(java.lang.Long value)
    Sets the value of the style property.
    void setWidth​(java.lang.Double value)
    Sets the value of the width property.

    Methods inherited from class java.lang.Object

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

    • min

      protected long min
    • max

      protected long max
    • width

      protected java.lang.Double width
    • style

      protected java.lang.Long style
    • hidden

      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 is Double
    • 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 is Long
    • 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 is Boolean
    • 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 is Boolean
    • 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 is Boolean
    • 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 is Boolean
    • 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 is Short
    • 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 is Boolean
    • 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.