public class RMCrossTabCell extends RMTextShape
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
WRAP_BASIC, WRAP_NONE, WRAP_SCALE
Constructor and Description |
---|
RMCrossTabCell()
Creates a new RMCrossTabCell.
|
Modifier and Type | Method and Description |
---|---|
void |
clearContents()
Clears the text and grouping from this cell.
|
RMCrossTabCell |
clone()
Standard clone implementation.
|
RMXString |
createXString()
Override to create an xstring that is aligned center by default.
|
java.lang.Object |
fromXML(XMLArchiver anArchiver,
XMLElement anElement)
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.
|
int |
getCol()
Returns the column of this cell.
|
int |
getColEnd()
Returns the end column of this cell.
|
int |
getColSpan()
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(RMShapePainter aPntr)
Handles painting a crosstab 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.
|
XMLElement |
toXML(XMLArchiver anArchiver)
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, getOutline, getPath, getPathInBounds, getPathInBounds, getPathShape, getPerformsWrap, getText, getTextColor, getTextLayout, getVisibleEnd, getVisibleStart, getWraps, getXString, isAllTextVisible, isStructured, isUnderlined, length, paintShapeBack, paintShapeText, peerDidChange, propertyChange, revalidate, scaleFonts, setAlignmentX, setAlignmentY, setCharSpacing, setCoalesceNewlines, setDrawsSelectionRect, setFont, setFormat, setHeight, setLineGap, setLineHeightMax, setLineHeightMin, setLineSpacing, setLinkedText, setMargin, setMarginString, setOutline, setPathShape, setPerformsWrap, setRadius, setText, setTextColor, setUnderlined, setWidth, setWraps, setXString, superSelectable, toString
getRadius
acceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, deepChange, divideShapeFromEdge, divideShapeFromTop, get, get, getAlignment, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChild, getChildAnimator, getChildAnimator, getChildCount, getChildren, getClipShape, getColor, getDatasetEntity, getDatasetKey, getDocument, getEffect, getEventAdapter, getFill, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeWidth, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isEnabled, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, paintShapeOver, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, rpgAll, rpgBindings, setAlignment, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setEffect, setEnabled, setFill, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTime, setURL, setVisible, setX, setXY, setXY, setXYP, setY, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
public RMXString createXString()
public RMCrossTab getTable()
public int getRow()
public int getCol()
public int getColSpan()
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 RMGrouping getGrouping()
public void setGrouping(RMGrouping aGrouping)
public RMGroup getGroup()
public int getColEnd()
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(RMShapePainter aPntr)
paintShape
in class RMTextShape
public RMCrossTabCell clone()
clone
in class RMTextShape
public XMLElement toXML(XMLArchiver anArchiver)
toXML
in class RMTextShape
public java.lang.Object fromXML(XMLArchiver anArchiver, XMLElement anElement)
fromXML
in class RMTextShape