|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MathMLTableElement
This interface extends the MathMLPresentationElement interface for the MathML table or matrix element mtable.
Field Summary |
---|
Method Summary | |
---|---|
void |
deleteRow(long index)
A convenience method to delete the row of the table at the specified index. |
String |
getAlign()
A string representing the vertical alignment of the table with the adjacent text. |
String |
getAlignmentscope()
A string consisting of the values true or false indicating, for each column, whether it can be used as an alignment scope. |
String |
getColumnalign()
A string representing the alignment of entries in each column, consisting of a space-separated sequence of alignment specifiers, each of which can have the following values: left, center, or right. |
String |
getColumnlines()
A string specifying whether and what kind of lines should be added between each column. |
String |
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. |
String |
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. |
String |
getDisplaystyle()
A string with the values true or false. |
String |
getEqualcolumns()
A string with the values true or false. |
String |
getEqualrows()
A string with the values true or false. |
String |
getFrame()
A string specifying a frame around the table. |
String |
getFramespacing()
A string of the form number h-unit number v-unit specifying the spacing between table and its frame. |
String |
getGroupalign()
A string specifying how the alignment groups within the cells of each row are to be aligned with the corresponding items above or below them in the same column. |
String |
getMinlabelspacing()
A string of the form number h-unit, specifying the minimum space between a label and the adjacent entry in the labeled row. |
MathMLTableRowElement |
getRow(long index)
A convenience method to retrieve the index-th row from the table. |
String |
getRowalign()
A string representing the alignment of entries in each row, consisting of a space-separated sequence of alignment specifiers, each of which can have the following values: top, bottom, center, baseline, or axis. |
String |
getRowlines()
A string specifying whether and what kind of lines should be added between each row. |
MathMLNodeList |
getRows()
A MathMLNodeList consisting of MathMLTableRowElements and MathMLLabeledRowElements representing the rows of the table. |
String |
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. |
String |
getSide()
A string with the values left, right, leftoverlap, or rightoverlap. |
String |
getWidth()
A string that is either of the form number h-unit or is the string auto. |
MathMLLabeledRowElement |
insertEmptyLabeledRow(long index)
A convenience method to insert a new (empty) labeled row (mlabeledtr) in the table before the current index-th row. |
MathMLTableRowElement |
insertEmptyRow(long index)
A convenience method to insert a new (empty) row (mtr) in the table before the current index-th row. |
MathMLTableRowElement |
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. |
MathMLTableRowElement |
removeRow(long index)
A convenience method to delete the row of the table at the specified index and return it to the caller. |
void |
setAlign(String align)
setter for the align attribute. |
void |
setAlignmentscope(String alignmentscope)
setter for the alignmentscope attribute. |
void |
setColumnalign(String columnalign)
setter for the columnalign attribute. |
void |
setColumnlines(String columnlines)
setter for the columnlines attribute. |
void |
setColumnspacing(String columnspacing)
setter for the columnspacing attribute. |
void |
setColumnwidth(String columnwidth)
setter for the columnwidth attribute. |
void |
setDisplaystyle(String displaystyle)
setter for the displaystyle attribute. |
void |
setEqualcolumns(String equalcolumns)
setter for the equalcolumns attribute. |
void |
setEqualrows(String equalrows)
setter for the equalrows attribute. |
void |
setFrame(String frame)
setter for the frame attribute. |
void |
setFramespacing(String framespacing)
setter for the framespacing attribute. |
void |
setGroupalign(String groupalign)
setter for the groupalign attribute. |
void |
setMinlabelspacing(String minlabelspacing)
setter for the minlabelspacing attribute. |
MathMLTableRowElement |
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. |
void |
setRowalign(String rowalign)
setter for the rowalign attribute. |
void |
setRowlines(String rowlines)
setter for the rowlines attribute. |
void |
setRowspacing(String rowspacing)
setter for the rowspacing attribute. |
void |
setSide(String side)
setter for the side attribute. |
void |
setWidth(String width)
setter for the width attribute. |
Methods inherited from interface org.w3c.dom.mathml.MathMLElement |
---|
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXref |
Methods 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, setIdAttributeNS |
Methods 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 |
Method Detail |
---|
String getAlign()
void setAlign(String align)
align
- new value for align.getAlign()
String getRowalign()
void setRowalign(String rowalign)
rowalign
- new value for rowalign.getRowalign()
String getColumnalign()
void setColumnalign(String columnalign)
columnalign
- new value for columnalign.getColumnalign()
String getGroupalign()
void setGroupalign(String groupalign)
groupalign
- new value for groupalign.getGroupalign()
String getAlignmentscope()
void setAlignmentscope(String alignmentscope)
alignmentscope
- new value for alignmentscope.getAlignmentscope()
String getColumnwidth()
void setColumnwidth(String columnwidth)
columnwidth
- new value for columnwidth.getColumnwidth()
String getWidth()
void setWidth(String width)
width
- new value for width.getWidth()
String getRowspacing()
void setRowspacing(String rowspacing)
rowspacing
- new value for rowspacing.getRowspacing()
String getColumnspacing()
void setColumnspacing(String columnspacing)
columnspacing
- new value for columnspacing.getColumnspacing()
String getRowlines()
void setRowlines(String rowlines)
rowlines
- new value for rowlines.getRowlines()
String getColumnlines()
void setColumnlines(String columnlines)
columnlines
- new value for columnlines.getColumnlines()
String getFrame()
void setFrame(String frame)
frame
- new value for frame.getFrame()
String getFramespacing()
void setFramespacing(String framespacing)
framespacing
- new value for framespacing.getFramespacing()
String getEqualrows()
void setEqualrows(String equalrows)
equalrows
- new value for equalrows.getEqualrows()
String getEqualcolumns()
void setEqualcolumns(String equalcolumns)
equalcolumns
- new value for equalcolumns.getEqualcolumns()
String getDisplaystyle()
void setDisplaystyle(String displaystyle)
displaystyle
- new value for displaystyle.getDisplaystyle()
String getSide()
void setSide(String side)
side
- new value for side.getSide()
String getMinlabelspacing()
void setMinlabelspacing(String minlabelspacing)
minlabelspacing
- new value for minlabelspacing.getMinlabelspacing()
MathMLNodeList getRows()
MathMLTableRowElement insertEmptyRow(long index) throws DOMException
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.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than the current
number of rows of this mtable element or less than minus
this number.MathMLLabeledRowElement insertEmptyLabeledRow(long index) throws DOMException
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.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than the current
number of rows of this mtable element or less than minus
this number.MathMLTableRowElement getRow(long index)
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.
MathMLTableRowElement insertRow(long index, MathMLTableRowElement newRow) throws DOMException
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.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newRow is not a
MathMLTableRowElement or MathMLLabeledRowElement.
INDEX_SIZE_ERR: Raised if index is greater than the current
number of rows or less than minus the current number of
rows of this mtable element.MathMLTableRowElement setRow(long index, MathMLTableRowElement newRow) throws DOMException
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.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newRow is not a
MathMLTableRowElement or MathMLLabeledRowElement.
INDEX_SIZE_ERR: Raised if index is greater than the current
number of rows of this mtable element or less than minus
this number.void deleteRow(long index) throws DOMException
index
- Index of row to be deleted, where 0 represents the first
row.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than or equal to
the current number of rows of this mtable element or less
than minus this number.MathMLTableRowElement removeRow(long index) throws DOMException
index
- Index of row to be removed, where 0 represents the first
row.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than or equal to
the number of rows of this mtable element or less than
minus this number.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |