Package org.xlsx4j.sml
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.StringactiveCellprotected java.lang.LongactiveCellIdprotected STPanepaneprotected java.util.List<java.lang.String>sqref -
Constructor Summary
Constructors Constructor Description CTSelection() -
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.java.lang.StringgetActiveCell()Gets the value of the activeCell property.longgetActiveCellId()Gets the value of the activeCellId property.STPanegetPane()Gets the value of the pane property.java.lang.ObjectgetParent()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.voidsetActiveCell(java.lang.String value)Sets the value of the activeCell property.voidsetActiveCellId(java.lang.Long value)Sets the value of the activeCellId property.voidsetPane(STPane value)Sets the value of the pane property.voidsetParent(java.lang.Object parent)
-
Field Details
-
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
Gets the value of the pane property.- Returns:
- possible object is
STPane
-
setPane
Sets the value of the pane property.- Parameters:
value- allowed object isSTPane
-
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 isString
-
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 isLong
-
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
setmethod 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. -
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.
-