public class RMCrossTab extends RMParentShape implements RMShapeSelfInit
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
Modifier and Type | Field and Description |
---|---|
static int |
CLASSIC1 |
static int |
CLASSIC2 |
static int |
CLASSIC3 |
static int |
CLASSIC4 |
static int |
DEFAULT |
static int |
DEFAULT_STYLE |
static int |
ELEGANT |
static int |
GRID1 |
static int |
GRID2 |
static int |
GRID3 |
static int |
GRID4 |
static int |
GRID5 |
static int |
GRID6 |
static int |
GRID7 |
static int |
GRID8 |
static int |
LIST1 |
static int |
LIST2 |
static int |
LIST3 |
static int |
LIST4 |
static int |
LIST5 |
static int |
LIST6 |
static int |
NONE |
static int |
PROFESSIONAL |
static int |
SIMPLE1 |
static int |
SIMPLE2 |
static int |
SIMPLE3 |
BINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
Constructor and Description |
---|
RMCrossTab()
Creates a new RMCrossTab.
|
Modifier and Type | Method and Description |
---|---|
void |
addCol()
Adds a column.
|
void |
addCol(int anIndex)
Adds a column.
|
void |
addCol(RMCrossTabCol aCol,
int anIndex)
Adds a column at the given index.
|
void |
addRow()
Adds a row.
|
void |
addRow(int anIndex)
Adds a row at given index.
|
void |
addRow(RMCrossTabRow aRow,
int anIndex)
Adds a row at the given index.
|
void |
applyCellFormatting(RMCrossTabCell aSourceCell,
RMCrossTabCell aDestCell)
Copy all relevant cell formatting options from source to destination.
|
void |
applyFormatting(int styleIndex) |
RMCrossTab |
clone()
Standard clone implementation.
|
RMCrossTab |
cloneDeep()
Clone deep.
|
RMShape |
divideShapeFromTop(double anAmount)
Divides the shape by a given amount from the top.
|
protected void |
fromXMLShape(RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
RMCrossTabCell |
getCell(int aRow,
int aColumn)
Returns the cell at the given row and column indexes.
|
int |
getCol(double anX)
Returns the specific column index for the given point.
|
RMCrossTabCol |
getCol(int anIndex)
Returns the specific column at the given index.
|
int |
getColumnCount()
Returns the number of rows for this table.
|
java.lang.String |
getDatasetKey()
Returns the dataset key.
|
int |
getDisplayColumnCount() |
int |
getDisplayRowCount() |
java.lang.String |
getFilterKey()
Returns the optional key chain expression string used to prune the table list derived from dataset key.
|
int |
getFormatStyle() |
int |
getHeaderColumnCount()
Returns the number header columns for table.
|
int |
getHeaderRowCount()
Returns the number of header rows for table.
|
protected void |
getPropertyNames(java.util.List<java.lang.String> aList)
Returns the property names for crosstab.
|
int |
getRow(double aY)
Returns the specific row index for the given point.
|
RMCrossTabRow |
getRow(int anIndex)
Returns the specific row at the given index.
|
int |
getRowCount()
Returns the number of rows.
|
boolean |
isDeletable()
Override this for shapes (like a table row) that don't don't make sense to delete by themselves.
|
protected void |
layoutChildren()
Relays out table rows, columns and cells.
|
void |
mergeCells(int aRow1,
int aCol1,
int aRow2,
int aCol2)
Merges a range of cells into one cell.
|
RMCrossTabCol |
removeCol(int anIndex)
Removes the column at the given index.
|
RMCrossTabRow |
removeRow(int anIndex)
Removes the row at the given index.
|
RMShape |
rpgAll(ReportOwner anRptOwner,
RMShape aParent)
Sets a reportmill for this crosstab (which really gets the dataset and calls setObjects).
|
void |
selfInit() |
protected void |
setCell(RMCrossTabCell aCell,
int aRow,
int aCol,
int aRowSpan,
int aColSpan)
Sets the cell at the given row and column indexes.
|
void |
setColumnCount(int aColumnCount)
Sets the number of columns for this table.
|
void |
setDatasetKey(java.lang.String aKey)
Sets the dataset key.
|
void |
setDisplayColumnCount(int cols) |
void |
setDisplayRowCount(int rows) |
void |
setFilterKey(java.lang.String aKeyExpr)
Sets the optional key chain expression string used to prune the table list derived from dataset key.
|
void |
setFormatStyle(int formatStyle) |
void |
setHeaderColumnCount(int aCount)
Sets the number header columns for table.
|
void |
setHeaderRowCount(int aCount)
Sets the number of header rows for table.
|
void |
setRowCount(int aRowCount)
Sets the number of rows.
|
void |
splitCell(RMCrossTabCell aCell)
Splits a cell.
|
protected void |
toXMLChildren(RXArchiver anArchiver,
RXElement anElement)
XML archival - override to suppress archival of children.
|
protected RXElement |
toXMLShape(RXArchiver anArchiver)
XML archival.
|
addChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, computePrefHeight, computePrefWidth, fromXML, fromXMLChildren, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isHittable, isShowing, isSourceURLSet, layout, relayout, removeChild, removeChild, removeChildren, removeLayoutChild, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXML
acceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, deepChange, divideShapeFromEdge, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChildAnimator, getChildAnimator, getChildClipShape, getClipShape, getColor, getDashArrayString, getDashPhase, getDatasetEntity, getDisplayedFill, getDisplayedStroke, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPath, getPathInBounds, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getRoll, getRootShape, getRSS, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isEnabled, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isShowing, isUnderlined, isUseFill, isUseStroke, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShape, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, resolvePageReferences, rpgBindings, rpgShape, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeStyle, setStrokeWidth, setTextColor, setTime, setTimeline, setUnderlined, setURL, setUseFill, setUseStroke, setVisible, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, superSelectable, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public static final int DEFAULT_STYLE
public static final int NONE
public static final int CLASSIC1
public static final int CLASSIC2
public static final int CLASSIC3
public static final int CLASSIC4
public static final int DEFAULT
public static final int ELEGANT
public static final int GRID1
public static final int GRID2
public static final int GRID3
public static final int GRID4
public static final int GRID5
public static final int GRID6
public static final int GRID7
public static final int GRID8
public static final int LIST1
public static final int LIST2
public static final int LIST3
public static final int LIST4
public static final int LIST5
public static final int LIST6
public static final int PROFESSIONAL
public static final int SIMPLE1
public static final int SIMPLE2
public static final int SIMPLE3
public void selfInit()
selfInit
in interface RMShapeSelfInit
public java.lang.String getDatasetKey()
getDatasetKey
in class RMShape
public void setDatasetKey(java.lang.String aKey)
public java.lang.String getFilterKey()
public void setFilterKey(java.lang.String aKeyExpr)
public void setFormatStyle(int formatStyle)
public int getFormatStyle()
public int getRowCount()
public void setRowCount(int aRowCount)
public RMCrossTabRow getRow(int anIndex)
public void addRow()
public void addRow(int anIndex)
public void addRow(RMCrossTabRow aRow, int anIndex)
public RMCrossTabRow removeRow(int anIndex)
public RMCrossTabCol getCol(int anIndex)
public void addCol()
public void addCol(int anIndex)
public void addCol(RMCrossTabCol aCol, int anIndex)
public RMCrossTabCol removeCol(int anIndex)
public int getRow(double aY)
public int getCol(double anX)
public RMCrossTabCell getCell(int aRow, int aColumn)
protected void setCell(RMCrossTabCell aCell, int aRow, int aCol, int aRowSpan, int aColSpan)
public void setDisplayRowCount(int rows)
public int getDisplayRowCount()
public void setDisplayColumnCount(int cols)
public int getDisplayColumnCount()
public int getHeaderRowCount()
public void setHeaderRowCount(int aCount)
public int getHeaderColumnCount()
public void setHeaderColumnCount(int aCount)
public void mergeCells(int aRow1, int aCol1, int aRow2, int aCol2)
public void splitCell(RMCrossTabCell aCell)
protected void layoutChildren()
layoutChildren
in class RMParentShape
public int getColumnCount()
public void setColumnCount(int aColumnCount)
public RMShape rpgAll(ReportOwner anRptOwner, RMShape aParent)
rpgAll
in class RMParentShape
public RMShape divideShapeFromTop(double anAmount)
divideShapeFromTop
in class RMParentShape
protected void getPropertyNames(java.util.List<java.lang.String> aList)
getPropertyNames
in class RMShape
public boolean isDeletable()
RMShape
isDeletable
in class RMShape
public RMCrossTab clone()
clone
in class RMParentShape
public RMCrossTab cloneDeep()
cloneDeep
in class RMParentShape
protected RXElement toXMLShape(RXArchiver anArchiver)
toXMLShape
in class RMParentShape
public void applyFormatting(int styleIndex)
public void applyCellFormatting(RMCrossTabCell aSourceCell, RMCrossTabCell aDestCell)
protected void toXMLChildren(RXArchiver anArchiver, RXElement anElement)
toXMLChildren
in class RMParentShape
protected void fromXMLShape(RXArchiver anArchiver, RXElement anElement)
fromXMLShape
in class RMParentShape