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.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
-
-
Constructor Summary
Constructors Constructor Description RMGraphRPG()
-
Method Summary
All 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.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
-
-
-
-
Method Detail
-
rpgClone
public static RMShape rpgClone(RMGraph aGraph, ReportMill aReportMill)
Returns a report generated graph from an original graph and a ReportMill.
-
getGraph
public RMGraph getGraph()
Returns the graph that this graphRPG is generated from.
-
setGraph
public void setGraph(RMGraph aGraph)
Sets the graph that this graphRPG is generated from.
-
getReportMill
public ReportMill getReportMill()
Returns the ReportMill for RPG.
-
getObjects
public java.util.List getObjects()
Returns the objects that this graphRPG is generated grom.
-
setObjects
public void setObjects(java.util.List aList)
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
public java.lang.Number getIntervalNumber(int anIndex)
Returns the individual interval at a given index as a Number.
-
getIntervals
public java.util.List 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
public java.util.List getGroups()
Returns the keys to be graphed (unless swapped, in which case it returns the objects).
-
getGroup
public java.lang.Object getGroup(int anIndex)
Returns the specific group (key) at the given index.
-
getSeries
public java.util.List getSeries()
Returns the objects to be graphed (unless swapped, in which case it returns the keys).
-
getSeries
public java.lang.Object getSeries(int anIndex)
Returns the specific series item (or list key object) at the given index.
-
floatValueForKeyChain
public float floatValueForKeyChain(java.lang.Object anObj, java.lang.Object aKey)Returns a float value for the given object and key (automatically handles "swapped" case).
-
getColors
public RMColor[] getColors()
Returns the array of colors to be used for graph bars/wedges.
-
getLegendRPG
public RMShape getLegendRPG()
Returns a RPG'd legend for the graph RPG.
-
getLegendStrings
public java.util.List getLegendStrings()
Returns the list of legend strings for a graph RPG.
-
-