Class CTSelection

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

public class CTSelection
extends java.lang.Object
implements Child

Java class for CT_Selection complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Selection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="pane" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Pane" default="topLeft" />
       <attribute name="activeCell" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
       <attribute name="activeCellId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
       <attribute name="sqref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Sqref" default="A1" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String activeCell  
    protected java.lang.Long activeCellId  
    protected STPane pane  
    protected java.util.List<java.lang.String> sqref  
  • Constructor Summary

    Constructors
    Constructor Description
    CTSelection()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    java.lang.String getActiveCell()
    Gets the value of the activeCell property.
    long getActiveCellId()
    Gets the value of the activeCellId property.
    STPane getPane()
    Gets the value of the pane property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.util.List<java.lang.String> getSqref()
    Gets the value of the sqref property.
    void setActiveCell​(java.lang.String value)
    Sets the value of the activeCell property.
    void setActiveCellId​(java.lang.Long value)
    Sets the value of the activeCellId property.
    void setPane​(STPane value)
    Sets the value of the pane property.
    void setParent​(java.lang.Object parent)  

    Methods inherited from class java.lang.Object

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

    • pane

      protected STPane pane
    • activeCell

      protected java.lang.String activeCell
    • activeCellId

      protected java.lang.Long activeCellId
    • sqref

      protected java.util.List<java.lang.String> sqref
  • Constructor Details

    • CTSelection

      public CTSelection()
  • Method Details

    • getPane

      public STPane getPane()
      Gets the value of the pane property.
      Returns:
      possible object is STPane
    • setPane

      public void setPane​(STPane value)
      Sets the value of the pane property.
      Parameters:
      value - allowed object is STPane
    • getActiveCell

      public java.lang.String getActiveCell()
      Gets the value of the activeCell property.
      Returns:
      possible object is String
    • setActiveCell

      public void setActiveCell​(java.lang.String value)
      Sets the value of the activeCell property.
      Parameters:
      value - allowed object is String
    • getActiveCellId

      public long getActiveCellId()
      Gets the value of the activeCellId property.
      Returns:
      possible object is Long
    • setActiveCellId

      public void setActiveCellId​(java.lang.Long value)
      Sets the value of the activeCellId property.
      Parameters:
      value - allowed object is Long
    • getSqref

      public java.util.List<java.lang.String> getSqref()
      Gets the value of the sqref property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the sqref property.

      For example, to add a new item, do as follows:

          getSqref().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • 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​(jakarta.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.