Class Col

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

public class Col extends 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 Details

    • min

      protected long min
    • max

      protected long max
    • width

      protected Double width
    • style

      protected Long style
    • hidden

      protected Boolean hidden
    • bestFit

      protected Boolean bestFit
    • customWidth

      protected Boolean customWidth
    • phonetic

      protected Boolean phonetic
    • outlineLevel

      protected Short outlineLevel
    • collapsed

      protected 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 Double getWidth()
      Gets the value of the width property.
      Returns:
      possible object is Double
    • setWidth

      public void setWidth(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(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(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(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(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(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(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(Boolean value)
      Sets the value of the collapsed property.
      Parameters:
      value - allowed object is Boolean
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.