Package com.inductiveautomation.rm.shape
Class RMCrossTabCell
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- PropertyChangeListener,- Cloneable,- EventListener
A text shape subclass used to form the basis of a table.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
- 
Field SummaryFields inherited from class com.inductiveautomation.rm.shape.RMTextShapeWRAP_BASIC, WRAP_NONE, WRAP_SCALEFields inherited from class com.inductiveautomation.rm.shape.RMShapeBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidClears the text and grouping from this cell.clone()Standard clone implementation.Override to create an xstring that is aligned center by default.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.Returns the cell just above this cell.Returns the cell after, or to the right of, this cell.Returns the cell before, or to the left of, this cell.Returns the cell just below this cell.intgetCol()Returns the column of this cell.intReturns the end column of this cell.intReturns the number of columns this cell spans.getGroup()Returns the group for this cell.Returns the grouping.Returns the default text margin for RMCell (top=5, left=5, right=5, bottom=5).intgetRow()Returns the row of this cell.intReturns the end row of this cell.intReturns the number of rows this cell spans.booleanReturns whether cell shows bottom border.booleanReturns whether cell shows left border.booleanReturns whether cell shows right border.booleanReturns whether cell shows top border.getTable()Returns the table for this cell.booleanReturns whether this cell is a column header cell.booleanOverride this for shapes (like a table row) that don't don't make sense to delete by themselves.booleanReturns whether this cell is a row header cell.voidpaintShape(RMShapePainter aPntr) Handles painting a crosstab cell.protected voidSets the group for this cell.voidsetGrouping(RMGrouping aGrouping) Sets the grouping.voidsetGroupingKey(String key) voidsetShowBorders(boolean left, boolean right, boolean top, boolean bottom) Convenience method to set all borders at oncevoidsetShowBottomBorder(boolean aFlag) Sets whether cell shows bottom border.voidsetShowLeftBorder(boolean aFlag) Sets whether cell shows left border.voidsetShowRightBorder(boolean aFlag) Sets whether cell shows right border.voidsetShowTopBorder(boolean aFlag) Sets whether cell shows top border.voidsetWraps(byte aValue) Sets the wrapping behavior for over-filled rpgCloned text (NONE, WRAP, SHRINK).toXML(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.shape.RMTextShapecomputePrefHeight, computePrefWidth, copyText, createDivideShapeRemainder, createTextLayout, fromXMLFinish, getAlignmentX, getAlignmentY, getAlignString, getAutosizingDefault, getCharSpacing, getCoalesceNewlines, getDateFormat, getDrawsSelectionRect, getFont, getLineGap, getLineHeightMax, getLineHeightMin, getLineSpacing, getLinkedText, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginString, getMarginTop, getMaskPath, getNegativeInRed, getNullFormat, getNumberFormat, getOutline, getPath, getPathInBounds, getPathInBounds, getPathShape, getPerformsWrap, getPropertyNames, getText, getTextColor, getTextLayout, getVisibleEnd, getVisibleStart, getWraps, getXString, isAllTextVisible, isStructured, isUnderlined, length, paginate, paintShapeBack, paintShapeText, paintTextRun, peerDidChange, propertyChange, resolvePageReferences, revalidate, rpgShape, scaleFonts, setAlignmentX, setAlignmentY, setCharSpacing, setCoalesceNewlines, setDateFormat, setDrawsSelectionRect, setFont, setFormat, setHeight, setLineGap, setLineHeightMax, setLineHeightMin, setLineSpacing, setLinkedText, setMargin, setMarginString, setNegativeInRed, setNullFormat, setNumberFormat, setOutline, setPathShape, setPerformsWrap, setRadius, setText, setTextColor, setUnderlined, setWidth, setXString, superSelectable, toStringMethods inherited from class com.inductiveautomation.rm.shape.RMRectShapegetRadiusMethods inherited from class com.inductiveautomation.rm.shape.RMShapeacceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, deepChange, divideShapeFromEdge, divideShapeFromTop, get, get, getAlignment, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChild, getChildAnimator, getChildAnimator, getChildClipShape, getChildCount, getChildren, getClipShape, getColor, getDashArrayString, getDashPhase, getDatasetEntity, getDatasetKey, getDisplayedFill, getDisplayedStroke, getDocument, getEffect, getEventAdapter, getFill, getFormat, 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, getRSS, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, 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, isUseFill, isUseStroke, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, paintShapeOver, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, rpgAll, rpgBindings, setAlignment, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, 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, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeStyle, setStrokeWidth, setTime, setTimeline, setURL, setUseFill, setUseStroke, setVisible, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, yMethods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
- 
Constructor Details- 
RMCrossTabCellpublic RMCrossTabCell()Creates a new RMCrossTabCell.
 
- 
- 
Method Details- 
createXStringOverride to create an xstring that is aligned center by default.- Overrides:
- createXStringin class- RMTextShape
 
- 
getTableReturns the table for this cell.
- 
getRowpublic int getRow()Returns the row of this cell.
- 
getColpublic int getCol()Returns the column of this cell.
- 
getColSpanpublic int getColSpan()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.
- 
getShowLeftBorderpublic boolean getShowLeftBorder()Returns whether cell shows left border.
- 
setShowLeftBorderpublic void setShowLeftBorder(boolean aFlag) Sets whether cell shows left border.
- 
getShowRightBorderpublic boolean getShowRightBorder()Returns whether cell shows right border.
- 
setShowRightBorderpublic void setShowRightBorder(boolean aFlag) Sets whether cell shows right border.
- 
getShowTopBorderpublic boolean getShowTopBorder()Returns whether cell shows top border.
- 
setShowTopBorderpublic void setShowTopBorder(boolean aFlag) Sets whether cell shows top border.
- 
getShowBottomBorderpublic boolean getShowBottomBorder()Returns whether cell shows bottom border.
- 
setShowBottomBorderpublic void setShowBottomBorder(boolean aFlag) Sets whether cell shows bottom border.
- 
setShowBorderspublic void setShowBorders(boolean left, boolean right, boolean top, boolean bottom) Convenience method to set all borders at once
- 
getGroupingReturns the grouping.
- 
setGroupingSets the grouping.
- 
getGroupingKey
- 
setGroupingKey
- 
getGroupReturns the group for this cell.
- 
setGroupSets the group for this cell.
- 
getColEndpublic int getColEnd()Returns the end column of this cell.
- 
getCellBeforeReturns the cell before, or to the left of, this cell.
- 
getCellAfterReturns the cell after, or to the right of, this cell.
- 
getCellAboveReturns the cell just above this cell.
- 
getCellBelowReturns the cell just below this cell.
- 
isColumnHeaderpublic boolean isColumnHeader()Returns whether this cell is a column header cell.
- 
isRowHeaderpublic boolean isRowHeader()Returns whether this cell is a row header cell.
- 
getMarginDefaultReturns the default text margin for RMCell (top=5, left=5, right=5, bottom=5).- Overrides:
- getMarginDefaultin class- RMTextShape
 
- 
clearContentspublic void clearContents()Clears the text and grouping from this cell.
- 
paintShapeHandles painting a crosstab cell.- Overrides:
- paintShapein class- RMTextShape
 
- 
isDeletablepublic boolean isDeletable()Description copied from class:RMShapeOverride this for shapes (like a table row) that don't don't make sense to delete by themselves.- Overrides:
- isDeletablein class- RMTextShape
 
- 
cloneStandard clone implementation.- Overrides:
- clonein class- RMTextShape
 
- 
setWrapspublic void setWraps(byte aValue) Description copied from class:RMTextShapeSets the wrapping behavior for over-filled rpgCloned text (NONE, WRAP, SHRINK). No bindings because this takes a byte and no expression function returns a byte.- Overrides:
- setWrapsin class- RMTextShape
 
- 
toXMLXML archival.- Specified by:
- toXMLin interface- Archivable
- Overrides:
- toXMLin class- RMTextShape
 
- 
fromXMLXML unarchival.- Specified by:
- fromXMLin interface- Archivable
- Overrides:
- fromXMLin class- RMTextShape
 
 
-