Package com.inductiveautomation.rm.shape
Class RMTableRowRPG
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.RMTableRowRPG
- All Implemented Interfaces:
Archivable,DeepChangeListener,RMPropertyChanger,RMTypes,PropertyChangeListener,Cloneable,EventListener
Report generation shape for RMTableRow.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypes
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY -
Field Summary
Fields inherited from class com.inductiveautomation.rm.shape.RMShape
BINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildRPG(RMTableRowRPG aRow) Adds a child row.protected doublecomputePrefHeight(double aWidth) Override to handle structured row.voidDeletes vertical spans of hidden shapes.intReturns the number of child rpgs.getGroup()Returns the group.doubledoublebooleanintintbooleanbooleanstatic doublegetShapeBelowFrameY(RMParentShape aParent, RMShape aChild) Returns the next shape y for a given parent and child (so we can find the gap).booleanbooleanbooleanReturns the template.booleanOverride this for shapes (like a table row) that don't don't make sense to delete by themselves.booleanReturns whether this row is details.booleanisHeader()Returns whether this row is header.booleanReturns whether this row is summary.protected voidOverride to handle structured row.voidrpgAll(ReportOwner anRptOwner, RMTableRow aRow, RMGroup aGroup, String aSuggestedVersion) Generate Report for ReportOwner, RMTableRow and group.voidsetMinSplitHeight(double aValue) voidsetMinSplitRemainderHeight(double aValue) voidsetMoveToBottom(boolean aFlag) voidsetNumberOfChildrenToStayWith(int aValue) voidsetNumberOfColumns(int columnCount) voidsetPrintEvenIfGroupIsEmpty(boolean aFlag) voidsetReprintWhenWrapped(boolean aFlag) voidsetStructured(boolean aFlag) voidsetSyncStructureWithAlternates(boolean aFlag) voidsetSyncStructureWithRowAbove(boolean aFlag) voidshiftShapesBelowHiddenRect(List<RMShape> theShapes, RMRect aRect) Shifts shapes below hidden rect up.voidShifts shapes below hidden shapes up.booleanOverride to make selectable.Methods inherited from class com.inductiveautomation.rm.shape.RMParentShape
addChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, clone, cloneDeep, computePrefWidth, divideShapeFromTop, fromXML, fromXMLChildren, fromXMLShape, 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, rpgAll, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXML, toXMLChildren, toXMLShapeMethods inherited from class com.inductiveautomation.rm.shape.RMShape
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, getDatasetKey, 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, 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, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, yMethods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
RMTableRowRPG
public RMTableRowRPG()
-
-
Method Details
-
rpgAll
public void rpgAll(ReportOwner anRptOwner, RMTableRow aRow, RMGroup aGroup, String aSuggestedVersion) Generate Report for ReportOwner, RMTableRow and group. -
getTemplate
Returns the template. -
getGroup
Returns the group. -
isHeader
public boolean isHeader()Returns whether this row is header. -
isDetails
public boolean isDetails()Returns whether this row is details. -
isSummary
public boolean isSummary()Returns whether this row is summary. -
getReprintWhenWrapped
public boolean getReprintWhenWrapped() -
setReprintWhenWrapped
public void setReprintWhenWrapped(boolean aFlag) -
getStructured
public boolean getStructured() -
setStructured
public void setStructured(boolean aFlag) -
getNumberOfColumns
public int getNumberOfColumns() -
setNumberOfColumns
public void setNumberOfColumns(int columnCount) -
getMoveToBottom
public boolean getMoveToBottom() -
setMoveToBottom
public void setMoveToBottom(boolean aFlag) -
getPrintEvenIfGroupIsEmpty
public boolean getPrintEvenIfGroupIsEmpty() -
setPrintEvenIfGroupIsEmpty
public void setPrintEvenIfGroupIsEmpty(boolean aFlag) -
getSyncStructureWithAlternates
public boolean getSyncStructureWithAlternates() -
setSyncStructureWithAlternates
public void setSyncStructureWithAlternates(boolean aFlag) -
getSyncStructureWithRowAbove
public boolean getSyncStructureWithRowAbove() -
setSyncStructureWithRowAbove
public void setSyncStructureWithRowAbove(boolean aFlag) -
getMinSplitHeight
public double getMinSplitHeight() -
setMinSplitHeight
public void setMinSplitHeight(double aValue) -
getMinSplitRemainderHeight
public double getMinSplitRemainderHeight() -
setMinSplitRemainderHeight
public void setMinSplitRemainderHeight(double aValue) -
getNumberOfChildrenToStayWith
public int getNumberOfChildrenToStayWith() -
setNumberOfChildrenToStayWith
public void setNumberOfChildrenToStayWith(int aValue) -
getChildRPGCount
public int getChildRPGCount()Returns the number of child rpgs. -
addChildRPG
Adds a child row. -
deleteVerticalSpansOfHiddenShapes
public void deleteVerticalSpansOfHiddenShapes()Deletes vertical spans of hidden shapes. -
getShapeBelowFrameY
Returns the next shape y for a given parent and child (so we can find the gap). -
shiftShapesBelowHiddenShapesUp
public void shiftShapesBelowHiddenShapesUp()Shifts shapes below hidden shapes up. -
shiftShapesBelowHiddenRect
Shifts shapes below hidden rect up. -
superSelectable
public boolean superSelectable()Override to make selectable.- Overrides:
superSelectablein classRMShape
-
layoutChildren
protected void layoutChildren()Override to handle structured row.- Overrides:
layoutChildrenin classRMParentShape
-
computePrefHeight
protected double computePrefHeight(double aWidth) Override to handle structured row.- Overrides:
computePrefHeightin classRMParentShape
-
isDeletable
public 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 classRMShape
-