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,- java.lang.Cloneable
 
 public class RMGraphRPG extends RMShape This class represents a report generated graph.
- 
- 
Field Summary- 
Fields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
 
- 
 - 
Constructor SummaryConstructors Constructor Description RMGraphRPG()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description floatfloatValueForKeyChain(java.lang.Object anObj, java.lang.Object aKey)Returns a float value for the given object and key (automatically handles "swapped" case).RMColor[]getColors()Returns the array of colors to be used for graph bars/wedges.RMGraphgetGraph()Returns the graph that this graphRPG is generated from.java.lang.ObjectgetGroup(int anIndex)Returns the specific group (key) at the given index.java.util.ListgetGroups()Returns the keys to be graphed (unless swapped, in which case it returns the objects).floatgetInterval(int anIndex)Returns the individual interval at a given index as a float value.intgetIntervalCount()Returns the number of intervals for this filled graph.floatgetIntervalLast()Returns the last interval as a float value.java.lang.NumbergetIntervalNumber(int anIndex)Returns the individual interval at a given index as a Number.java.util.ListgetIntervals()Returns the list of intervals for this graph.RMShapegetLegendRPG()Returns a RPG'd legend for the graph RPG.java.util.ListgetLegendStrings()Returns the list of legend strings for a graph RPG.intgetMinorTickCount()Returns the number of suggested ticks between the intervals of the RPG'd graph.java.util.ListgetObjects()Returns the objects that this graphRPG is generated grom.ReportMillgetReportMill()Returns the ReportMill for RPG.java.util.ListgetSeries()Returns the objects to be graphed (unless swapped, in which case it returns the keys).java.lang.ObjectgetSeries(int anIndex)Returns the specific series item (or list key object) at the given index.static RMShaperpgClone(RMGraph aGraph, ReportMill aReportMill)Returns a report generated graph from an original graph and a ReportMill.voidsetGraph(RMGraph aGraph)Sets the graph that this graphRPG is generated from.voidsetObjects(java.util.List aList)Sets the objects that this graphRPG is generated from.- 
Methods inherited from class com.reportmill.shape.RMShapeacceptsChildren, 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.RMObjectdidUndo, getAnimAttribute, getClassNameShort
 
- 
 
- 
- 
- 
Method Detail- 
rpgClonepublic static RMShape rpgClone(RMGraph aGraph, ReportMill aReportMill) Returns a report generated graph from an original graph and a ReportMill.
 - 
getGraphpublic RMGraph getGraph() Returns the graph that this graphRPG is generated from.
 - 
setGraphpublic void setGraph(RMGraph aGraph) Sets the graph that this graphRPG is generated from.
 - 
getReportMillpublic ReportMill getReportMill() Returns the ReportMill for RPG.
 - 
getObjectspublic java.util.List getObjects() Returns the objects that this graphRPG is generated grom.
 - 
setObjectspublic void setObjects(java.util.List aList) Sets the objects that this graphRPG is generated from.
 - 
getIntervalCountpublic int getIntervalCount() Returns the number of intervals for this filled graph.
 - 
getIntervalpublic float getInterval(int anIndex) Returns the individual interval at a given index as a float value.
 - 
getIntervalLastpublic float getIntervalLast() Returns the last interval as a float value.
 - 
getIntervalNumberpublic java.lang.Number getIntervalNumber(int anIndex) Returns the individual interval at a given index as a Number.
 - 
getIntervalspublic java.util.List getIntervals() Returns the list of intervals for this graph.
 - 
getMinorTickCountpublic int getMinorTickCount() Returns the number of suggested ticks between the intervals of the RPG'd graph.
 - 
getGroupspublic java.util.List getGroups() Returns the keys to be graphed (unless swapped, in which case it returns the objects).
 - 
getGrouppublic java.lang.Object getGroup(int anIndex) Returns the specific group (key) at the given index.
 - 
getSeriespublic java.util.List getSeries() Returns the objects to be graphed (unless swapped, in which case it returns the keys).
 - 
getSeriespublic java.lang.Object getSeries(int anIndex) Returns the specific series item (or list key object) at the given index.
 - 
floatValueForKeyChainpublic float floatValueForKeyChain(java.lang.Object anObj, java.lang.Object aKey)Returns a float value for the given object and key (automatically handles "swapped" case).
 - 
getColorspublic RMColor[] getColors() Returns the array of colors to be used for graph bars/wedges.
 - 
getLegendRPGpublic RMShape getLegendRPG() Returns a RPG'd legend for the graph RPG.
 - 
getLegendStringspublic java.util.List getLegendStrings() Returns the list of legend strings for a graph RPG.
 
- 
 
-