Package com.reportmill.shape
Class RMCell
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMRectangle
com.reportmill.shape.RMText
com.reportmill.shape.RMCell
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
A text shape subclass used to form the basis of a table.
- 
Field SummaryFields inherited from class com.reportmill.shape.RMTextALIGN_BOTTOM, ALIGN_CENTER, ALIGN_FULL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, WRAP_BASIC, WRAP_NONE, WRAP_SCALEFields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.intReturns the column of this cell.intReturns the end column of this cell.intReturns the number of columns this cell spans.floatReturns the bottom margin of the text (defaults to 0).floatReturns the left margin of the text (default to 2).floatReturns the right margin of the text (defaults to 2).floatReturns the top margin of the text (defaults to 1).intgetRow()Returns the row of this cell.intReturns the end row of this cell.intReturns the number of rows this cell spans.getTable()Returns the table for this cell.toXML(RXArchiver anArchiver) XML archival.Methods inherited from class com.reportmill.shape.RMTextclone, copy, equals, fromXMLFinish, getAlign, getAlignString, getAlignVertical, getAlignVerticalString, getBoundsFromTextBounds, getCharSpacing, getCoalesceNewlines, getDrawsSelectionRect, getFont, getFontScale, getFormat, getHeightToFit, getHeightToFit, getLineGap, getLineHeightMax, getLineHeightMin, getLineSpacing, getLinkedText, getOutline, getPath, getPathInBounds, getPathInBounds, getPathShape, getPerformsWrap, getPolygonForFrag, getText, getTextBounds, getTextColor, getTextLayout, getTextLayout, getTextOrigin, getVisibleEnd, getVisibleStart, getWidthToFit, getWraps, getXString, initWithArchiver, isAllTextVisible, isStructured, isUnderlined, length, peerDidChange, resolvePageReferences, rpgClone, rpgClonePreprocess, scaleTextToFit, setAlign, setAlignVertical, setCharSpacing, setCoalesceNewlines, setDrawsSelectionRect, setFont, setFontScale, setFormat, setHeight, setHeightToFit, setLineGap, setLineHeightMax, setLineHeightMin, setLineSpacing, setLinkedText, setNeedsRepaint, setOutline, setPathShape, setPerformsWrap, setRadius, setText, setText, setTextColor, setUnderlined, setWraps, setXString, superSelectable, toString, turnToChars, turnToPathMethods inherited from class com.reportmill.shape.RMRectanglegetRadiusMethods inherited from class com.reportmill.shape.RMShapeacceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, 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, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getPageCount, getPageShape, getParent, getParentCount, getParents, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, intersects, isAncestor, isDescendant, isLocked, isRoot, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setOpacity, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTime, setUrl, setWidth, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, yMethods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
- 
Constructor Details- 
RMCellpublic RMCell()Creates a new RMCell.
 
- 
- 
Method Details- 
getTableReturns the table for this cell.
- 
getRowpublic int getRow()Returns the row of this cell.
- 
getColumnpublic int getColumn()Returns the column of this cell.
- 
getColumnSpanpublic int getColumnSpan()Returns the number of columns this cell spans.
- 
getRowSpanpublic int getRowSpan()Returns the number of rows this cell spans.
- 
getRowEndpublic int getRowEnd()Returns the end row of this cell.
- 
getColumnEndpublic int getColumnEnd()Returns the end column of this cell.
- 
getMarginLeftpublic float getMarginLeft()Returns the left margin of the text (default to 2).- Overrides:
- getMarginLeftin class- RMText
 
- 
getMarginRightpublic float getMarginRight()Returns the right margin of the text (defaults to 2).- Overrides:
- getMarginRightin class- RMText
 
- 
getMarginToppublic float getMarginTop()Returns the top margin of the text (defaults to 1).- Overrides:
- getMarginTopin class- RMText
 
- 
getMarginBottompublic float getMarginBottom()Returns the bottom margin of the text (defaults to 0).- Overrides:
- getMarginBottomin class- RMText
 
- 
toXMLXML archival.
- 
fromXMLXML unarchival.
 
-