Package com.inductiveautomation.rm.shape
Class RMCrossTabFrame
- java.lang.Object
- 
- com.inductiveautomation.rm.base.RMListenerList
- 
- com.inductiveautomation.rm.base.RMObject
- 
- com.inductiveautomation.rm.shape.RMShape
- 
- com.inductiveautomation.rm.shape.RMParentShape
- 
- com.inductiveautomation.rm.shape.RMCrossTabFrame
 
 
 
 
 
- 
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- java.beans.PropertyChangeListener,- java.lang.Cloneable,- java.util.EventListener
 
 public class RMCrossTabFrame extends RMParentShape This class wraps a shape around a crosstab to constrain the crosstab's bounds to a region on the page. It also provides support for paginating to multiple pages.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.rm.shape.RMShapeBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description RMCrossTabFrame()Creates a new crosstab.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanchildrenSuperSelectImmediately()Editor method.protected doublecomputePrefHeight(double aWidth)Override to return preferred height of table.protected RMCrossTabcreateTable()Creates the RMCrossTab.protected voidfromXMLShape(RXArchiver anArchiver, RXElement anElement)XML Unarchival.intgetColumnCount()java.lang.StringgetDatasetKey()Returns the dataset key associated with this shape.java.lang.StringgetFilterKey()intgetFormatStyle()intgetHeaderColumnCount()intgetHeaderRowCount()booleangetReprintHeaderRows()Returns whether a paginating table will reprint header rows.intgetRowCount()RMCrossTabgetTable()Returns the crosstab associated with this crosstab.voidpaintShape(RMShapePainter g)Paints crosstab.RMShaperpgAll(ReportOwner anRptOwner, RMShape aParent)Override to constrain child crosstab to frame.voidsetColumnCount(int cols)voidsetDatasetKey(java.lang.String key)voidsetFilterKey(java.lang.String filterKey)voidsetFormatStyle(int formatStyle)note -- any changes to these styles or their ordering need to also be made to RMCrosstab.voidsetHeaderColumnCount(int colHeaders)voidsetHeaderRowCount(int rows)voidsetReprintHeaderRows(boolean aFlag)Sets whether a paginating table will reprint header rows.voidsetRowCount(int rows)protected RXElementtoXMLShape(RXArchiver anArchiver)XML Archival.- 
Methods inherited from class com.inductiveautomation.rm.shape.RMParentShapeaddChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, clone, cloneDeep, computePrefWidth, divideShapeFromTop, fromXML, fromXMLChildren, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isHittable, isShowing, isSourceURLSet, layout, layoutChildren, relayout, removeChild, removeChild, removeChildren, removeLayoutChild, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXML, toXMLChildren
 - 
Methods inherited from class com.inductiveautomation.rm.shape.RMShapeacceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, 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, 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, isDeletable, 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, 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
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getTablepublic RMCrossTab getTable() Returns the crosstab associated with this crosstab.
 - 
createTableprotected RMCrossTab createTable() Creates the RMCrossTab.
 - 
setRowCountpublic void setRowCount(int rows) 
 - 
getRowCountpublic int getRowCount() 
 - 
setColumnCountpublic void setColumnCount(int cols) 
 - 
getColumnCountpublic int getColumnCount() 
 - 
setHeaderRowCountpublic void setHeaderRowCount(int rows) 
 - 
getHeaderRowCountpublic int getHeaderRowCount() 
 - 
setHeaderColumnCountpublic void setHeaderColumnCount(int colHeaders) 
 - 
getHeaderColumnCountpublic int getHeaderColumnCount() 
 - 
setDatasetKeypublic void setDatasetKey(java.lang.String key) 
 - 
getDatasetKeypublic java.lang.String getDatasetKey() Description copied from class:RMShapeReturns the dataset key associated with this shape.- Overrides:
- getDatasetKeyin class- RMShape
 
 - 
setFilterKeypublic void setFilterKey(java.lang.String filterKey) 
 - 
getFilterKeypublic java.lang.String getFilterKey() 
 - 
setFormatStylepublic void setFormatStyle(int formatStyle) note -- any changes to these styles or their ordering need to also be made to RMCrosstab. These @Options are declared here to allow them to be forwarded to the composed RMCrosstab when selected from the CrosstabFrame's property selector
 - 
getFormatStylepublic int getFormatStyle() 
 - 
getReprintHeaderRowspublic boolean getReprintHeaderRows() Returns whether a paginating table will reprint header rows.
 - 
setReprintHeaderRowspublic void setReprintHeaderRows(boolean aFlag) Sets whether a paginating table will reprint header rows.
 - 
rpgAllpublic RMShape rpgAll(ReportOwner anRptOwner, RMShape aParent) Override to constrain child crosstab to frame.- Overrides:
- rpgAllin class- RMParentShape
 
 - 
paintShapepublic void paintShape(RMShapePainter g) Paints crosstab.- Overrides:
- paintShapein class- RMShape
 
 - 
computePrefHeightprotected double computePrefHeight(double aWidth) Override to return preferred height of table.- Overrides:
- computePrefHeightin class- RMParentShape
 
 - 
childrenSuperSelectImmediatelypublic boolean childrenSuperSelectImmediately() Editor method.- Overrides:
- childrenSuperSelectImmediatelyin class- RMShape
 
 - 
toXMLShapeprotected RXElement toXMLShape(RXArchiver anArchiver) XML Archival.- Overrides:
- toXMLShapein class- RMParentShape
 
 - 
fromXMLShapeprotected void fromXMLShape(RXArchiver anArchiver, RXElement anElement) XML Unarchival.- Overrides:
- fromXMLShapein class- RMParentShape
 
 
- 
 
-