public class CTSelection extends 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>
Modifier and Type | Field and Description |
---|---|
protected String |
activeCell |
protected Long |
activeCellId |
protected STPane |
pane |
protected List<String> |
sqref |
Constructor and Description |
---|
CTSelection() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
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.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
List<String> |
getSqref()
Gets the value of the sqref property.
|
void |
setActiveCell(String value)
Sets the value of the activeCell property.
|
void |
setActiveCellId(Long value)
Sets the value of the activeCellId property.
|
void |
setPane(STPane value)
Sets the value of the pane property.
|
void |
setParent(Object parent) |
protected STPane pane
protected String activeCell
protected Long activeCellId
public STPane getPane()
STPane
public void setPane(STPane value)
value
- allowed object is
STPane
public String getActiveCell()
String
public void setActiveCell(String value)
value
- allowed object is
String
public long getActiveCellId()
Long
public void setActiveCellId(Long value)
value
- allowed object is
Long
public List<String> getSqref()
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
public Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.Copyright © 2007-2014. All Rights Reserved.