Package com.reportmill.shape
Class RMGraphContent
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMScene3D
com.reportmill.shape.RMGraphContent
- All Implemented Interfaces:
RMArchiver.Archiving
,RMShapePainter.Paint
,Cloneable
This class represents the actual graph content (a place holder really).
-
Nested Class Summary
Nested classes/interfaces inherited from class com.reportmill.shape.RMScene3D
RMScene3D.RMShape3D
-
Field Summary
Fields inherited from class com.reportmill.shape.RMScene3D
CONSTRAIN_NONE, CONSTRAIN_PITCH, CONSTRAIN_YAW
Fields inherited from class com.reportmill.shape.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromXML
(RXArchiver anArchiver, RXElement anElement) XML unarchival.Editor method - declares that no child of this shape can be selected.Editor method - indicates that this shape should use Scene3D's tool.void
paintShape
(RMShapePainter aPainter, Graphics2D g) Overrides paintShape to create sample child and to exclude self from drawing.void
rebuild()
Notifies content that something crucial has changed requiring a rebuild.rpgClone
(ReportMill aRM, RMGraphRPG graphRPG) Returns a clone with report generation performed on it.void
setHeight
(double aValue) Override to rebuild sample graph.void
setWidth
(double aValue) Override to rebuild sample graph.boolean
Editor method - declares that this shape can be super selected.toXML
(RXArchiver anArchiver) XML archival.Methods inherited from class com.reportmill.shape.RMScene3D
acceptsMouse, addChild3D, addChild3D, addShape, addShape, canBeUngrouped, copy, equals, getBoundsMarked, getBoundsSuperSelected, getCamera, getDepth, getFieldOfView, getFocalLength, getLight, getOffsetZ, getOrigin, getPitch, getPseudoSkewX, getPseudoSkewY, getShape, getShapeCount, getTransform3D, getYaw, getZRoll, isPseudo3D, mouseDragged, mousePressed, mouseReleased, removeShape, resort, setColor, setDepth, setFieldOfView, setFillAndStroke, setFocalLength, setOffsetZ, setPitch, setPseudo3D, setPseudoSkewX, setPseudoSkewY, setYaw, setZRoll
Methods inherited from class com.reportmill.shape.RMShape
acceptsChildren, acceptsDragKeys, acceptsFormat, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, childrenSuperSelectImmediately, clone, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsOfChildren, getBoundsOfChildren, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, initWithArchiver, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseEntered, mouseExited, mouseMoved, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgClone, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
Methods inherited from class com.reportmill.base.RMObject
didUndo, getAnimAttribute, getClassNameShort
-
Constructor Details
-
RMGraphContent
public RMGraphContent()Creates a new graph content.
-
-
Method Details
-
rpgClone
Returns a clone with report generation performed on it. -
paintShape
Overrides paintShape to create sample child and to exclude self from drawing.- Specified by:
paintShape
in interfaceRMShapePainter.Paint
-
setWidth
public void setWidth(double aValue) Override to rebuild sample graph. -
setHeight
public void setHeight(double aValue) Override to rebuild sample graph. -
superSelectable
public boolean superSelectable()Editor method - declares that this shape can be super selected.- Overrides:
superSelectable
in classRMScene3D
-
getChildrenWhoHitTest
Editor method - declares that no child of this shape can be selected.- Overrides:
getChildrenWhoHitTest
in classRMScene3D
-
getToolClassName
Editor method - indicates that this shape should use Scene3D's tool.- Overrides:
getToolClassName
in classRMShape
-
rebuild
public void rebuild()Notifies content that something crucial has changed requiring a rebuild. -
toXML
XML archival. -
fromXML
XML unarchival.
-