Package org.xlsx4j.sml
Class CTSelection
java.lang.Object
org.xlsx4j.sml.CTSelection
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the activeCell property.longGets the value of the activeCellId property.getPane()Gets the value of the pane property.Gets the parent object in the object tree representing the unmarshalled xml document.getSqref()Gets the value of the sqref property.voidsetActiveCell(String value) Sets the value of the activeCell property.voidsetActiveCellId(Long value) Sets the value of the activeCellId property.voidSets the value of the pane property.void
-
Field Details
-
pane
-
activeCell
-
activeCellId
-
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
Gets the value of the activeCell property.- Returns:
- possible object is
String
-
setActiveCell
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
Sets the value of the activeCellId property.- Parameters:
value- allowed object isLong
-
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
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-