Package com.reportmill.shape
Class RMGraphRPG
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMGraphRPG
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
This class represents a report generated graph.
-
Field Summary
Fields inherited from class com.reportmill.shape.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
floatValueForKeyChain
(Object anObj, Object aKey) Returns a float value for the given object and key (automatically handles "swapped" case).RMColor[]
Returns the array of colors to be used for graph bars/wedges.getGraph()
Returns the graph that this graphRPG is generated from.getGroup
(int anIndex) Returns the specific group (key) at the given index.Returns the keys to be graphed (unless swapped, in which case it returns the objects).float
getInterval
(int anIndex) Returns the individual interval at a given index as a float value.int
Returns the number of intervals for this filled graph.float
Returns the last interval as a float value.getIntervalNumber
(int anIndex) Returns the individual interval at a given index as a Number.Returns the list of intervals for this graph.Returns a RPG'd legend for the graph RPG.Returns the list of legend strings for a graph RPG.int
Returns the number of suggested ticks between the intervals of the RPG'd graph.Returns the objects that this graphRPG is generated grom.Returns the ReportMill for RPG.Returns the objects to be graphed (unless swapped, in which case it returns the keys).getSeries
(int anIndex) Returns the specific series item (or list key object) at the given index.static RMShape
rpgClone
(RMGraph aGraph, ReportMill aReportMill) Returns a report generated graph from an original graph and a ReportMill.void
Sets the graph that this graphRPG is generated from.void
setObjects
(List aList) Sets the objects that this graphRPG is generated from.Methods inherited from class com.reportmill.shape.RMShape
acceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, clone, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copy, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, equals, fromXML, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, 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, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, initWithArchiver, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, 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, setHeight, 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, setWidth, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, superSelectable, toString, toXML, 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
-
RMGraphRPG
public RMGraphRPG()
-
-
Method Details
-
rpgClone
Returns a report generated graph from an original graph and a ReportMill. -
getGraph
Returns the graph that this graphRPG is generated from. -
setGraph
Sets the graph that this graphRPG is generated from. -
getReportMill
Returns the ReportMill for RPG. -
getObjects
Returns the objects that this graphRPG is generated grom. -
setObjects
Sets the objects that this graphRPG is generated from. -
getIntervalCount
public int getIntervalCount()Returns the number of intervals for this filled graph. -
getInterval
public float getInterval(int anIndex) Returns the individual interval at a given index as a float value. -
getIntervalLast
public float getIntervalLast()Returns the last interval as a float value. -
getIntervalNumber
Returns the individual interval at a given index as a Number. -
getIntervals
Returns the list of intervals for this graph. -
getMinorTickCount
public int getMinorTickCount()Returns the number of suggested ticks between the intervals of the RPG'd graph. -
getGroups
Returns the keys to be graphed (unless swapped, in which case it returns the objects). -
getGroup
Returns the specific group (key) at the given index. -
getSeries
Returns the objects to be graphed (unless swapped, in which case it returns the keys). -
getSeries
Returns the specific series item (or list key object) at the given index. -
floatValueForKeyChain
Returns a float value for the given object and key (automatically handles "swapped" case). -
getColors
Returns the array of colors to be used for graph bars/wedges. -
getLegendRPG
Returns a RPG'd legend for the graph RPG. -
getLegendStrings
Returns the list of legend strings for a graph RPG.
-