public class RMCellTable extends RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMCellTable()
Creates a new cell table.
|
Modifier and Type | Method and Description |
---|---|
void |
addColumn(int anIndex,
int refColumn)
Adds a column at the given index.
|
void |
addColumnDivider(double anX)
Adds a column divider at the given x coordinate.
|
void |
addRow(int anIndex,
int refRow)
Adds a row at the given index.
|
void |
addRowDivider(double aY)
Adds a row divider at the given y coordinate.
|
java.lang.Object |
fromXML(RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
RMCell |
getCell(int aRow,
int aColumn)
Returns the cell at the given row and column indexes.
|
java.awt.Rectangle |
getCellRect(java.awt.geom.Rectangle2D aRect)
Returns the cell rect for the given rectangle2d.
|
int |
getColumn(double anX)
Returns the specific column index for the given point.
|
RMCellColumn |
getColumn(int anIndex)
Returns the specific column at the given index.
|
int |
getColumnCount()
Returns the number of rows for this table.
|
boolean |
getHasHeaderColumn()
Returns whether table has header column.
|
boolean |
getHasHeaderRow()
Returns whether table has header row.
|
int |
getRow(double aY)
Returns the specific row index for the given point.
|
RMCellRow |
getRow(int anIndex)
Returns the specific row at the given index.
|
int |
getRowCount()
Returns the number of rows.
|
void |
mergeCells(int aRow1,
int aCol1,
int aRow2,
int aCol2)
Merges a range of cells into one cell.
|
void |
removeColumn(int anIndex)
Removes the column at the given index.
|
void |
removeRow(int anIndex)
Removes the row at the given index.
|
void |
setColumnCount(int aColumnCount)
Sets the number of columns for this table.
|
void |
setHasHeaderColumn(boolean aFlag)
Sets whether table has header column.
|
void |
setHasHeaderRow(boolean aFlag)
Sets whether table has header row.
|
void |
setHeight(double aValue)
Overrides shape method to validate.
|
void |
setRowCount(int aRowCount)
Sets the number of rows.
|
void |
setWidth(double aValue)
Overrides shape method to revalidate.
|
void |
splitCellIntoColumns(RMCell aCell)
Splits a cell into 2 columns through it's mid point.
|
void |
splitCellIntoRows(RMCell aCell)
Splits a cell into 2 rows through it's mid point.
|
boolean |
superSelectable()
Editor method.
|
RXElement |
toXML(RXArchiver anArchiver)
XML archival.
|
void |
validate()
Relays out table rows, columns and cells.
|
acceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, clone, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copy, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, equals, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, initWithArchiver, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgClone, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
didUndo, getAnimAttribute, getClassNameShort
public int getRowCount()
public RMCellRow getRow(int anIndex)
public int getColumnCount()
public RMCellColumn getColumn(int anIndex)
public RMCell getCell(int aRow, int aColumn)
public int getRow(double aY)
public int getColumn(double anX)
public java.awt.Rectangle getCellRect(java.awt.geom.Rectangle2D aRect)
public void addRow(int anIndex, int refRow)
public void removeRow(int anIndex)
public void addColumn(int anIndex, int refColumn)
public void removeColumn(int anIndex)
public void setRowCount(int aRowCount)
public void setColumnCount(int aColumnCount)
public boolean getHasHeaderRow()
public void setHasHeaderRow(boolean aFlag)
public boolean getHasHeaderColumn()
public void setHasHeaderColumn(boolean aFlag)
public void addColumnDivider(double anX)
public void addRowDivider(double aY)
public void splitCellIntoColumns(RMCell aCell)
public void splitCellIntoRows(RMCell aCell)
public void mergeCells(int aRow1, int aCol1, int aRow2, int aCol2)
public void setWidth(double aValue)
public void setHeight(double aValue)
public void validate()
public boolean superSelectable()
superSelectable
in class RMShape
public RXElement toXML(RXArchiver anArchiver)
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)