Package org.xlsx4j.sml
Class CTObjectAnchor
java.lang.Object
org.xlsx4j.sml.CTObjectAnchor
- All Implemented Interfaces:
Child
public class CTObjectAnchor extends java.lang.Object implements Child
Java class for CT_ObjectAnchor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_ObjectAnchor">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}from"/>
<element ref="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}to"/>
</sequence>
<attribute name="moveWithCells" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="sizeWithCells" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTMarkerfromprotected java.lang.BooleanmoveWithCellsprotected java.lang.BooleansizeWithCellsprotected CTMarkerto -
Constructor Summary
Constructors Constructor Description CTObjectAnchor() -
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.CTMarkergetFrom()Gets the value of the from property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTMarkergetTo()Gets the value of the to property.booleanisMoveWithCells()Gets the value of the moveWithCells property.booleanisSizeWithCells()Gets the value of the sizeWithCells property.voidsetFrom(CTMarker value)Sets the value of the from property.voidsetMoveWithCells(java.lang.Boolean value)Sets the value of the moveWithCells property.voidsetParent(java.lang.Object parent)voidsetSizeWithCells(java.lang.Boolean value)Sets the value of the sizeWithCells property.voidsetTo(CTMarker value)Sets the value of the to property.
-
Field Details
-
from
-
to
-
moveWithCells
protected java.lang.Boolean moveWithCells -
sizeWithCells
protected java.lang.Boolean sizeWithCells
-
-
Constructor Details
-
CTObjectAnchor
public CTObjectAnchor()
-
-
Method Details
-
getFrom
Gets the value of the from property.- Returns:
- possible object is
CTMarker
-
setFrom
Sets the value of the from property.- Parameters:
value- allowed object isCTMarker
-
getTo
Gets the value of the to property.- Returns:
- possible object is
CTMarker
-
setTo
Sets the value of the to property.- Parameters:
value- allowed object isCTMarker
-
isMoveWithCells
public boolean isMoveWithCells()Gets the value of the moveWithCells property.- Returns:
- possible object is
Boolean
-
setMoveWithCells
public void setMoveWithCells(java.lang.Boolean value)Sets the value of the moveWithCells property.- Parameters:
value- allowed object isBoolean
-
isSizeWithCells
public boolean isSizeWithCells()Gets the value of the sizeWithCells property.- Returns:
- possible object is
Boolean
-
setSizeWithCells
public void setSizeWithCells(java.lang.Boolean value)Sets the value of the sizeWithCells property.- Parameters:
value- allowed object isBoolean
-
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.
-