Class Mtable
java.lang.Object
org.apache.batik.dom.AbstractNode
org.apache.batik.dom.AbstractParentNode
org.apache.batik.dom.AbstractParentChildNode
org.apache.batik.dom.AbstractElement
org.apache.batik.dom.AbstractElementNS
org.apache.batik.dom.GenericElementNS
net.sourceforge.jeuclid.elements.AbstractJEuclidElement
net.sourceforge.jeuclid.elements.presentation.AbstractContainer
net.sourceforge.jeuclid.elements.presentation.table.AbstractTableElement
net.sourceforge.jeuclid.elements.presentation.table.Mtable
- All Implemented Interfaces:
Serializable,JEuclidElement,JEuclidNode,LayoutableNode,org.apache.batik.dom.events.NodeEventTarget,org.apache.batik.dom.ExtendedNode,org.apache.batik.dom.xbl.NodeXBL,org.apache.batik.dom.xbl.XBLManagerData,org.apache.batik.w3c.dom.ElementTraversal,Element,EventTarget,MathMLContainer,MathMLElement,MathMLPresentationContainer,MathMLPresentationElement,MathMLTableElement,Node
This class presents a table.
- Version:
- $Revision: bc1d5fde7b73 $
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.batik.dom.AbstractElement
org.apache.batik.dom.AbstractElement.ElementTypeInfo, org.apache.batik.dom.AbstractElement.Entry, org.apache.batik.dom.AbstractElement.NamedNodeHashMapNested classes/interfaces inherited from class org.apache.batik.dom.AbstractParentNode
org.apache.batik.dom.AbstractParentNode.ChildNodes, org.apache.batik.dom.AbstractParentNode.ElementsByTagName, org.apache.batik.dom.AbstractParentNode.ElementsByTagNameNS -
Field Summary
FieldsFields inherited from class net.sourceforge.jeuclid.elements.AbstractJEuclidElement
ATTR_CLASS, ATTR_DEPRECATED_BACKGROUND, ATTR_DEPRECATED_COLOR, ATTR_DEPRECATED_FONTFAMILY, ATTR_DEPRECATED_FONTSIZE, ATTR_DEPRECATED_FONTSTYLE, ATTR_DEPRECATED_FONTWEIGHT, ATTR_HREF, ATTR_ID, ATTR_MATHBACKGROUND, ATTR_MATHCOLOR, ATTR_MATHSIZE, ATTR_MATHVARIANT, ATTR_STYLE, ATTR_XREF, TRIVIAL_SPACE_MAX, URIFields inherited from class org.apache.batik.dom.GenericElementNS
nodeName, readonlyFields inherited from class org.apache.batik.dom.AbstractElementNS
namespaceURIFields inherited from class org.apache.batik.dom.AbstractElement
attributes, typeInfoFields inherited from class org.apache.batik.dom.AbstractParentChildNode
nextSibling, parentNode, previousSiblingFields inherited from class org.apache.batik.dom.AbstractParentNode
childNodesFields inherited from class org.apache.batik.dom.AbstractNode
DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EMPTY_NODE_LIST, eventSupport, managerData, ownerDocument, userData, userDataHandlersFields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteRow(int index) voiddeleteRow(long index) A convenience method to delete the row of the table at the specified index.getAlign()A string representing the vertical alignment of the table with the adjacent text.A string consisting of the values true or false indicating, for each column, whether it can be used as an alignment scope.getChildLayoutContext(int childNum, LayoutContext context) get the layout context for the given child.A string specifying whether and what kind of lines should be added between each column.A string consisting of a space-separated sequence of specifiers of the form number h-unit representing the space to be added between columns.A string consisting of a space-separated sequence of specifiers, each of which can have one of the following forms: auto, number h-unit, namedspace, or fit.A string with the values true or false.A string with the values true or false.A string with the values true or false.getFrame()A string specifying a frame around the table.A string of the form number h-unit number v-unit specifying the spacing between table and its frame.A string of the form number h-unit, specifying the minimum space between a label and the adjacent entry in the labeled row.getRow(int index) getRow(long index) A convenience method to retrieve the index-th row from the table.A string specifying whether and what kind of lines should be added between each row.getRows()A MathMLNodeList consisting of MathMLTableRowElements and MathMLLabeledRowElements representing the rows of the table.A string consisting of a space-separated sequence of specifiers of the form number v-unit representing the space to be added between rows.getSide()A string with the values left, right, leftoverlap, or rightoverlap.getWidth()A string that is either of the form number h-unit or is the string auto.insertEmptyLabeledRow(int index) insertEmptyLabeledRow(long index) A convenience method to insert a new (empty) labeled row (mlabeledtr) in the table before the current index-th row.insertEmptyRow(int index) insertEmptyRow(long index) A convenience method to insert a new (empty) row (mtr) in the table before the current index-th row.insertRow(int index, MathMLTableRowElement newRow) insertRow(long index, MathMLTableRowElement newRow) A convenience method to insert the new row or labeled row (mtr or mlabeledtr) represented by newRow in the table before the current index-th row.voidlayoutStageInvariant(LayoutView view, LayoutInfo info, LayoutStage stage, LayoutContext context) Layout for elements which are stage independent.protected NodenewNode()removeRow(int index) removeRow(long index) A convenience method to delete the row of the table at the specified index and return it to the caller.voidsetter for the align attribute.voidsetAlignmentscope(String alignmentscope) setter for the alignmentscope attribute.voidsetColumnlines(String columnlines) setter for the columnlines attribute.voidsetColumnspacing(String columnspacing) setter for the columnspacing attribute.voidsetColumnwidth(String columnwidth) setter for the columnwidth attribute.voidsetDisplaystyle(String displaystyle) setter for the displaystyle attribute.voidsetEqualcolumns(String equalcolumns) setter for the equalcolumns attribute.voidsetEqualrows(String equalrows) setter for the equalrows attribute.voidsetter for the frame attribute.voidsetFramespacing(String framespacing) setter for the framespacing attribute.voidsetMinlabelspacing(String minlabelspacing) setter for the minlabelspacing attribute.setRow(int index, MathMLTableRowElement newRow) setRow(long index, MathMLTableRowElement newRow) A method to set the value of the row in the table at the specified index to the mtr or mlabeledtr represented by newRow.voidsetRowlines(String rowlines) setter for the rowlines attribute.voidsetRowspacing(String rowspacing) setter for the rowspacing attribute.voidsetter for the side attribute.voidsetter for the width attribute.Methods inherited from class net.sourceforge.jeuclid.elements.presentation.table.AbstractTableElement
getColumnalign, getGroupalign, getRowalign, setColumnalign, setGroupalign, setRowalignMethods inherited from class net.sourceforge.jeuclid.elements.presentation.AbstractContainer
deleteArgument, deleteDeclaration, getArgument, getArguments, getDeclaration, getDeclarations, getNArguments, insertArgument, insertDeclaration, removeArgument, removeDeclaration, setArgument, setDeclarationMethods inherited from class net.sourceforge.jeuclid.elements.AbstractJEuclidElement
addMathElement, applyLocalAttributesToContext, changeHook, dispatchEvent, getChildrenToDraw, getChildrenToLayout, getClassName, getContents, getFont, getFontMetrics, getHref, getId, getIndexOfMathElement, getMathAttribute, getMathAttribute, getMathbackground, getMathcolor, getMathElement, getMathElementCount, getMathElementStyle, getMathsize, getMathvariant, getMathvariantAsVariant, getMiddleShift, getOwnerMathElement, getParent, getText, getXref, hasChildPostscripts, hasChildPrescripts, layoutStage1, layoutStage2, setClassName, setDefaultMathAttribute, setFakeParent, setHref, setId, setMathbackground, setMathcolor, setMathElement, setMathElementStyle, setMathsize, setMathvariant, setXrefMethods inherited from class org.apache.batik.dom.GenericElementNS
copyInto, deepCopyInto, deepExport, export, getNodeName, isReadonly, setNodeName, setReadonlyMethods inherited from class org.apache.batik.dom.AbstractElementNS
getNamespaceURIMethods inherited from class org.apache.batik.dom.AbstractElement
attrAdded, attrModified, attrRemoved, checkChildType, createAttributes, fireDOMAttrModifiedEvent, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getFirstElementChild, getIdAttribute, getLastElementChild, getNextElementSibling, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, nodeAdded, nodeToBeRemoved, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from class org.apache.batik.dom.AbstractParentChildNode
getNextSibling, getParentNode, getPreviousSibling, setNextSibling, setParentNode, setPreviousSiblingMethods inherited from class org.apache.batik.dom.AbstractParentNode
appendChild, checkAndRemove, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, removeChild, replaceChildMethods inherited from class org.apache.batik.dom.AbstractNode
addEventListener, addEventListenerNS, cloneNode, compareDocumentPosition, compareNamedNodeMaps, compareStrings, createDOMException, fireDOMCharacterDataModifiedEvent, fireUserDataHandlers, getBaseURI, getBaseURI, getCascadedXMLBase, getCurrentDocument, getEventSupport, getFeature, getLocalName, getManagerData, getNodeValue, getOwnerDocument, getParentNodeEventTarget, getPrefix, getUserData, getXblBoundElement, getXblChildNodes, getXblDefinitions, getXblFirstChild, getXblFirstElementChild, getXblLastChild, getXblLastElementChild, getXblNextElementSibling, getXblNextSibling, getXblParentNode, getXblPreviousElementSibling, getXblPreviousSibling, getXblScopedChildNodes, getXblShadowTree, hasEventListenerNS, initializeEventSupport, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, removeEventListener, removeEventListenerNS, setManagerData, setNodeValue, setOwnerDocument, setPrefix, setSpecified, setTextContent, setUserData, willTriggerNSMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface org.w3c.dom.mathml.MathMLElement
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXrefMethods inherited from interface org.w3c.dom.mathml.MathMLTableElement
getColumnalign, getGroupalign, getRowalign, setColumnalign, setGroupalign, setRowalignMethods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Field Details
-
ELEMENT
The XML element from this class.- See Also:
-
-
Constructor Details
-
Mtable
Default constructor. Sets MathML Namespace.- Parameters:
qname- Qualified name.odoc- Owner Document.
-
-
Method Details
-
newNode
- Overrides:
newNodein classorg.apache.batik.dom.GenericElementNS
-
getChildLayoutContext
get the layout context for the given child.- Specified by:
getChildLayoutContextin interfaceJEuclidNode- Overrides:
getChildLayoutContextin classAbstractJEuclidElement- Parameters:
childNum- 0-based number of the child to check.context- external context.- Returns:
- layout context to use.
-
getRowlines
A string specifying whether and what kind of lines should be added between each row. The string consists of a space-separated sequence of specifiers, each of which can have the following values: none, solid, or dashed.- Specified by:
getRowlinesin interfaceMathMLTableElement- Returns:
- value of the rowlines attribute.
-
setRowlines
setter for the rowlines attribute.- Specified by:
setRowlinesin interfaceMathMLTableElement- Parameters:
rowlines- new value for rowlines.- See Also:
-
getColumnlines
A string specifying whether and what kind of lines should be added between each column. The string consists of a space-separated sequence of specifiers, each of which can have the following values: none, solid, or dashed.- Specified by:
getColumnlinesin interfaceMathMLTableElement- Returns:
- value of the columnlines attribute.
-
setColumnlines
setter for the columnlines attribute.- Specified by:
setColumnlinesin interfaceMathMLTableElement- Parameters:
columnlines- new value for columnlines.- See Also:
-
getColumnwidth
A string consisting of a space-separated sequence of specifiers, each of which can have one of the following forms: auto, number h-unit, namedspace, or fit. (A value of the form namedspace is one of veryverythinmathspace, verythinmathspace, thinmathspace, mediummathspace, thickmathspace, verythickmathspace, or veryverythickmathspace.) This represents the element's columnwidth attribute.- Specified by:
getColumnwidthin interfaceMathMLTableElement- Returns:
- value of the columnwidth attribute.
-
setColumnwidth
setter for the columnwidth attribute.- Specified by:
setColumnwidthin interfaceMathMLTableElement- Parameters:
columnwidth- new value for columnwidth.- See Also:
-
getWidth
A string that is either of the form number h-unit or is the string auto. This represents the element's width attribute.- Specified by:
getWidthin interfaceMathMLTableElement- Returns:
- value of the width attribute.
-
setWidth
setter for the width attribute.- Specified by:
setWidthin interfaceMathMLTableElement- Parameters:
width- new value for width.- See Also:
-
getAlign
A string representing the vertical alignment of the table with the adjacent text. Allowed values are (top | bottom | center | baseline | axis)[rownumber], where rownumber is between 1 and n (for a table with n rows) or -1 and -n.- Specified by:
getAlignin interfaceMathMLTableElement- Returns:
- value of the align attribute.
-
setAlign
setter for the align attribute.- Specified by:
setAlignin interfaceMathMLTableElement- Parameters:
align- new value for align.- See Also:
-
getAlignmentscope
A string consisting of the values true or false indicating, for each column, whether it can be used as an alignment scope.- Specified by:
getAlignmentscopein interfaceMathMLTableElement- Returns:
- value of the alignmentscope attribute.
-
setAlignmentscope
setter for the alignmentscope attribute.- Specified by:
setAlignmentscopein interfaceMathMLTableElement- Parameters:
alignmentscope- new value for alignmentscope.- See Also:
-
getRowspacing
A string consisting of a space-separated sequence of specifiers of the form number v-unit representing the space to be added between rows.- Specified by:
getRowspacingin interfaceMathMLTableElement- Returns:
- value of the rowspacing attribute.
-
setRowspacing
setter for the rowspacing attribute.- Specified by:
setRowspacingin interfaceMathMLTableElement- Parameters:
rowspacing- new value for rowspacing.- See Also:
-
getColumnspacing
A string consisting of a space-separated sequence of specifiers of the form number h-unit representing the space to be added between columns.- Specified by:
getColumnspacingin interfaceMathMLTableElement- Returns:
- value of the columnspacing attribute.
-
setColumnspacing
setter for the columnspacing attribute.- Specified by:
setColumnspacingin interfaceMathMLTableElement- Parameters:
columnspacing- new value for columnspacing.- See Also:
-
getFrame
A string specifying a frame around the table. Allowed values are (none | solid | dashed).- Specified by:
getFramein interfaceMathMLTableElement- Returns:
- value of the frame attribute.
-
setFrame
setter for the frame attribute.- Specified by:
setFramein interfaceMathMLTableElement- Parameters:
frame- new value for frame.- See Also:
-
getFramespacing
A string of the form number h-unit number v-unit specifying the spacing between table and its frame.- Specified by:
getFramespacingin interfaceMathMLTableElement- Returns:
- value of the framespacing attribute.
-
setFramespacing
setter for the framespacing attribute.- Specified by:
setFramespacingin interfaceMathMLTableElement- Parameters:
framespacing- new value for framespacing.- See Also:
-
getEqualrows
A string with the values true or false.- Specified by:
getEqualrowsin interfaceMathMLTableElement- Returns:
- value of the equalrows attribute.
-
setEqualrows
setter for the equalrows attribute.- Specified by:
setEqualrowsin interfaceMathMLTableElement- Parameters:
equalrows- new value for equalrows.- See Also:
-
getEqualcolumns
A string with the values true or false.- Specified by:
getEqualcolumnsin interfaceMathMLTableElement- Returns:
- value of the equalcolumns attribute.
-
setEqualcolumns
setter for the equalcolumns attribute.- Specified by:
setEqualcolumnsin interfaceMathMLTableElement- Parameters:
equalcolumns- new value for equalcolumns.- See Also:
-
getDisplaystyle
A string with the values true or false.- Specified by:
getDisplaystylein interfaceMathMLTableElement- Returns:
- value of the displaystyle attribute.
-
setDisplaystyle
setter for the displaystyle attribute.- Specified by:
setDisplaystylein interfaceMathMLTableElement- Parameters:
displaystyle- new value for displaystyle.- See Also:
-
getSide
A string with the values left, right, leftoverlap, or rightoverlap.- Specified by:
getSidein interfaceMathMLTableElement- Returns:
- value of the side attribute.
-
setSide
setter for the side attribute.- Specified by:
setSidein interfaceMathMLTableElement- Parameters:
side- new value for side.- See Also:
-
getMinlabelspacing
A string of the form number h-unit, specifying the minimum space between a label and the adjacent entry in the labeled row.- Specified by:
getMinlabelspacingin interfaceMathMLTableElement- Returns:
- value of the minlabelspacing attribute.
-
setMinlabelspacing
setter for the minlabelspacing attribute.- Specified by:
setMinlabelspacingin interfaceMathMLTableElement- Parameters:
minlabelspacing- new value for minlabelspacing.- See Also:
-
getRows
A MathMLNodeList consisting of MathMLTableRowElements and MathMLLabeledRowElements representing the rows of the table. This is a live object.- Specified by:
getRowsin interfaceMathMLTableElement- Returns:
- value of the rows attribute.
-
insertEmptyRow
-
insertEmptyLabeledRow
-
getRow
-
insertRow
-
setRow
-
deleteRow
public void deleteRow(int index) -
removeRow
-
deleteRow
public void deleteRow(long index) A convenience method to delete the row of the table at the specified index. If index is less than 0, the -index-th row from the bottom of the table is deleted. (So, for instance, if index is -2, the next-to-last row is deleted.)- Specified by:
deleteRowin interfaceMathMLTableElement- Parameters:
index- Index of row to be deleted, where 0 represents the first row.
-
getRow
A convenience method to retrieve the index-th row from the table. If index is less than 0, the -index-th row from the bottom of the table is retrieved. (So, for instance, if index is -2, the next-to-last row is retrieved.) If index is not a valid value (i.e. is greater than or equal to the number of rows, or is less than minus the number of rows), a null MathMLTableRowElement is returned.- Specified by:
getRowin interfaceMathMLTableElement- Parameters:
index- Index of the row to be returned, where 0 represents the first row. Negative numbers are used to count backwards from the last row.- Returns:
- Returns the MathMLTableRowElement representing the index-th row of the table.
-
insertEmptyLabeledRow
A convenience method to insert a new (empty) labeled row (mlabeledtr) in the table before the current index-th row. If index is less than 0, the new row is inserted before the -index-th row counting up from the current last row; if index is equal to the current number of rows, the new row is appended as the last row.- Specified by:
insertEmptyLabeledRowin interfaceMathMLTableElement- Parameters:
index- Position before which to insert the new row, where 0 represents the first row. Negative numbers are used to count backwards from the last row.- Returns:
- Returns the MathMLLabeledRowElement child of this MathMLTableElement representing the mtr element being inserted.
-
insertEmptyRow
A convenience method to insert a new (empty) row (mtr) in the table before the current index-th row. If index is less than 0, the new row is inserted before the -index-th row counting up from the current last row; if index is equal to the current number of rows, the new row is appended as the last row.- Specified by:
insertEmptyRowin interfaceMathMLTableElement- Parameters:
index- Position before which to insert the new row, where 0 represents the first row. Negative numbers are used to count backwards from the last row.- Returns:
- Returns the MathMLTableRowElement child of this MathMLTableElement that represents the new mtr element being inserted.
-
insertRow
A convenience method to insert the new row or labeled row (mtr or mlabeledtr) represented by newRow in the table before the current index-th row. If index is equal to the current number of rows, newRow is appended as the last row in the table. If index is less than 0, the new row is inserted before the -index-th row from the bottom of the table. (So, for instance, if index is -2, the new row is inserted before the next-to-last current row.)- Specified by:
insertRowin interfaceMathMLTableElement- Parameters:
index- Index before which to insert newRow, where 0 represents the first row. Negative numbers are used to count backwards from the current last row.newRow- A MathMLTableRowElement or MathMLLabeledRowElement representing the row to be inserted.- Returns:
- The MathMLTableRowElement or MathMLLabeledRowElement child of this MathMLTableElement representing the mtr element being inserted.
-
removeRow
A convenience method to delete the row of the table at the specified index and return it to the caller. If index is less than 0, the -index-th row from the bottom of the table is deleted. (So, for instance, if index is -2, the next-to-last row is deleted.)- Specified by:
removeRowin interfaceMathMLTableElement- Parameters:
index- Index of row to be removed, where 0 represents the first row.- Returns:
- A MathMLTableRowElement representing the row being deleted.
-
setRow
A method to set the value of the row in the table at the specified index to the mtr or mlabeledtr represented by newRow. If index is less than 0, the -index-th row counting up from the last is replaced by newRow; if index is one more than the current number of rows, the new row is appended as the last row in the table.- Specified by:
setRowin interfaceMathMLTableElement- Parameters:
index- Index of the row to be set to newRow, where 0 represents the first row. Negative numbers are used to count backwards from the last row.newRow- A MathMLTableRowElement representing the row that is to be the new index-th row.- Returns:
- Returns the MathMLTableRowElement or MathMLLabeledRowElement child of this element that represents the new row in the DOM.
-
layoutStageInvariant
public void layoutStageInvariant(LayoutView view, LayoutInfo info, LayoutStage stage, LayoutContext context) Layout for elements which are stage independent.This function will layout an element which is layed out the same no matter what stage it is in. This is the case for most elements.
Notable exceptions are mo and tables.
- Overrides:
layoutStageInvariantin classAbstractJEuclidElement- Parameters:
view- View Object for this layout.info- An info object which will be filled during layout.stage- current layout stage.context- current LayoutContext.
-