public class RMCrossTabCell extends RMTextShape
RMTypes.AlignX, RMTypes.AlignY
WRAP_BASIC, WRAP_NONE, WRAP_SCALE
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMCrossTabCell()
Creates a new RMCell.
|
Modifier and Type | Method and Description |
---|---|
void |
clearContents()
Clears the text and grouping from this cell.
|
RMCrossTabCell |
clone()
Standard clone implementation.
|
RMXString |
createXString()
Overrides RMText method to create an xstring that is aligned center by default.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival.
|
RMCrossTabCell |
getCellAbove()
Returns the cell just above this cell.
|
RMCrossTabCell |
getCellAfter()
Returns the cell after, or to the right of, this cell.
|
RMCrossTabCell |
getCellBefore()
Returns the cell before, or to the left of, this cell.
|
RMCrossTabCell |
getCellBelow()
Returns the cell just below this cell.
|
RMShape |
getCellShape()
Returns the shape inside this cell.
|
int |
getColumn()
Returns the column of this cell.
|
int |
getColumnEnd()
Returns the end column of this cell.
|
int |
getColumnSpan()
Returns the number of columns this cell spans.
|
RMGroup |
getGroup()
Returns the group for this cell.
|
RMGrouping |
getGrouping()
Returns the grouping.
|
java.awt.Insets |
getMarginDefault()
Returns the default text margin for RMCell (top=5, left=5, right=5, bottom=5).
|
int |
getRow()
Returns the row of this cell.
|
int |
getRowEnd()
Returns the end row of this cell.
|
int |
getRowSpan()
Returns the number of rows this cell spans.
|
boolean |
getShowBottomBorder()
Returns whether cell shows bottom border.
|
boolean |
getShowLeftBorder()
Returns whether cell shows left border.
|
boolean |
getShowRightBorder()
Returns whether cell shows right border.
|
boolean |
getShowTopBorder()
Returns whether cell shows top border.
|
RMCrossTab |
getTable()
Returns the table for this cell.
|
boolean |
isColumnHeader()
Returns whether this cell is a column header cell.
|
boolean |
isRowHeader()
Returns whether this cell is a row header cell.
|
void |
paintShape(java.awt.Graphics2D aGraphics)
Handles painting a crosstab cell.
|
void |
setCellShape(RMShape aShape)
Sets the shape inside this cell.
|
void |
setGrouping(RMGrouping aGrouping)
Sets the grouping.
|
void |
setShowBorders(boolean left,
boolean right,
boolean top,
boolean bottom)
Convenience method to set all borders at once
|
void |
setShowBottomBorder(boolean aFlag)
Sets whether cell shows bottom border.
|
void |
setShowLeftBorder(boolean aFlag)
Sets whether cell shows left border.
|
void |
setShowRightBorder(boolean aFlag)
Sets whether cell shows right border.
|
void |
setShowTopBorder(boolean aFlag)
Sets whether cell shows top border.
|
void |
setTablePosition(int row,
int column,
int rowspan,
int colspan)
Sets the origin & span for this cell
|
com.reportmill.archiver.RXElement |
toXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival.
|
copyText, createTextLayout, fromXMLFinish, getAlignmentX, getAlignmentY, getAlignString, getCharSpacing, getCoalesceNewlines, getDrawsSelectionRect, getFont, getFormat, getLineGap, getLineHeightMax, getLineHeightMin, getLineSpacing, getLinkedText, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginString, getMarginTop, getMaskPath, getObject, getOutline, getPath, getPathInBounds, getPathInBounds, getPathShape, getPerformsWrap, getPreferredSize, getPreferredSize, getPreferredSizeImpl, getText, getTextColor, getTextLayout, getVisibleEnd, getVisibleStart, getWraps, getXString, isAllTextVisible, isStructured, isUnderlined, length, paginate, peerDidChange, propertyChange, resolvePageReferences, revalidate, scaleFonts, setAlign, setAlignmentX, setAlignmentY, setAlignVertical, setCharSpacing, setCoalesceNewlines, setDrawsSelectionRect, setFont, setFormat, setLineGap, setLineHeightMax, setLineHeightMin, setLineSpacing, setLinkedText, setMargin, setMarginString, setObject, setOutline, setPathShape, setPerformsWrap, setRadius, setReportMill, setText, setTextColor, setUnderlined, setWraps, setXString, superSelectable, toString
getRadius
acceptsChildren, acceptsMouse, addAction, addActions, addBinding, addChild, addChild, addChild, addChild, addDeepChangeListener, addListener, addMouseListener, animUpdate, bounds, bringShapesToFront, childrenSuperSelectImmediately, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, createPartClone, deepChange, divideShapeFromEdge, divideShapeFromTop, doLayout, fromXML, fromXMLShapeChildren, fromXMLShapeLayout, get, get, getAction, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestSize, getBestSize, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getBoundsOfChildren, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildArray, getChildClipShape, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getClipShape, getColor, getDatasetEntity, getDatasetKey, getDocument, getEffect, getEventAdapter, getFill, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getImageFill, getLayout, getLayout, getLayoutInfo, getLineWidth, getMaximumSize, getMaximumSizeProperty, getMaxX, getMaxY, getMinimumSize, getMinimumSizeProperty, getName, getOpacity, getOpacityDeep, getOriginal, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParentWithClass, getPart, getPartCount, getPartDeep, getPartDeepCount, getPreferredSize, getPreferredSizeProperty, getPropertyNameMapped, getPropertyNames, getReportMill, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeWidth, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, indexOfChild, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isEnabled, isHittable, isHittableChild, isLocked, isMaximumSizeSet, isMinimumSizeSet, isRoot, isRSS, isShowing, isViewing, isVisible, isVisibleChild, layoutReset, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, paintShapeOver, put, removeAction, removeBinding, removeBinding, removeChild, removeChild, removeChildren, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, sendShapesToBack, setAction, setAutosizing, setBestHeight, setBestSize, setBestSize, setBounds, setBounds, setCausesWrap, setCausesWrapType, setColor, setEffect, setEnabled, setFill, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHover, setLayout, setLayoutInfo, setLineWidth, setLocked, setMaximumSize, setMinimumSize, setName, setOpacity, setParent, setPreferredSize, setReportMillBindings, setReportMillDeep, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSizeP, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTime, setURL, setVisible, setWidth, setX, setXY, setXY, setXYP, setY, toXML, toXMLShapeChildren, toXMLShapeLayout, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, x, y
addPropertyChangeListener, removePropertyChangeListener
getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public void setTablePosition(int row, int column, int rowspan, int colspan)
public RMXString createXString()
public RMCrossTab getTable()
public int getRow()
public int getColumn()
public int getColumnSpan()
public int getRowSpan()
public int getRowEnd()
public boolean getShowLeftBorder()
public void setShowLeftBorder(boolean aFlag)
public boolean getShowRightBorder()
public void setShowRightBorder(boolean aFlag)
public boolean getShowTopBorder()
public void setShowTopBorder(boolean aFlag)
public boolean getShowBottomBorder()
public void setShowBottomBorder(boolean aFlag)
public void setShowBorders(boolean left, boolean right, boolean top, boolean bottom)
public RMShape getCellShape()
public void setCellShape(RMShape aShape)
public RMGrouping getGrouping()
public void setGrouping(RMGrouping aGrouping)
public RMGroup getGroup()
public int getColumnEnd()
public RMCrossTabCell getCellBefore()
public RMCrossTabCell getCellAfter()
public RMCrossTabCell getCellAbove()
public RMCrossTabCell getCellBelow()
public boolean isColumnHeader()
public boolean isRowHeader()
public java.awt.Insets getMarginDefault()
getMarginDefault
in class RMTextShape
public void clearContents()
public void paintShape(java.awt.Graphics2D aGraphics)
paintShape
in class RMTextShape
public boolean equals(java.lang.Object anObj)
equals
in class RMTextShape
public RMCrossTabCell clone()
clone
in class RMTextShape
public com.reportmill.archiver.RXElement toXMLShape(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXMLShape
in class RMTextShape
public java.lang.Object fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShape
in class RMTextShape