ReportMill 10 API

com.reportmill.shape.graph
Class RMGraphRPG

java.lang.Object
  extended by com.reportmill.base.RMObject
      extended by com.reportmill.shape.RMShape
          extended by com.reportmill.shape.graph.RMGraphRPG
All Implemented Interfaces:
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
RMGraphRPG(com.reportmill.base.ReportMill aReportMill, RMGraph aGraph)
          Returns a report generated graph from an original graph and a ReportMill.
 
Method Summary
 RMColor[] getColors()
          Returns the array of colors to be used for graph bars/wedges.
 RMGraph getGraph()
          Returns the graph that this graphRPG is generated from.
 float getInterval(int anIndex)
          Returns the individual interval at a given index as a float value.
 int getIntervalCount()
          Returns the number of intervals for this filled graph.
 float getIntervalLast()
          Returns the last interval as a float value.
 java.lang.Number getIntervalNumber(int anIndex)
          Returns the individual interval at a given index as a Number.
 int getMinorTickCount()
          Returns the number of suggested ticks between the intervals of the RPG'd graph.
 com.reportmill.base.ReportMill getReportMill()
          Returns the ReportMill for RPG.
static RMShape getSampleGraphArea(RMGraphArea aGraphArea)
          Returns a filled graph area for a given graph area.
 RMGraphSection getSection(int anIndex)
          Returns the individual section at the given index.
 int getSectionCount()
          Returns the number of sections in this graph.
 java.util.List getSections()
          Returns the list of sections for the graph.
 RMGraphSeries getSeries(int anIndex)
          Returns the individual series at the given index.
 int getSeriesCount()
          Returns the number of series in this graph.
 void setGraph(RMGraph aGraph)
          Sets the graph that this graphRPG is generated from.
 
Methods inherited from class com.reportmill.shape.RMShape
acceptsChildren, acceptsMouse, addChild, addChild, 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, createLayout, delete, didChange, divideShapeFromEdge, divideShapeFromTop, doLayout, equals, fromXML, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildCountHitable, getChildCountLayout, getChildCountVisible, getChildHitable, getChildLast, getChildLayout, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWithClass, getChildrenWithClass, getChildVisible, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDatasetKey, getDatasetKeyDeep, getDatasetKeyShape, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLayout, getLineWidth, getListKey, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, 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, height, indexOf, indexOf, intersects, invalidate, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, isValid, layoutReset, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, revalidate, rpgClone, rpgCloneBase, rpgCloneChildren, rpgCloneNotification, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightDeep, setHeightToFit, setLayout, setLayoutEnabled, setLineWidth, 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, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, superSelectable, toString, toXML, toXMLDeep, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, willChange, willChange, x, y
 
Methods inherited from class com.reportmill.base.RMObject
didUndo, getAnimAttribute, getClassNameShort
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMGraphRPG

public RMGraphRPG(com.reportmill.base.ReportMill aReportMill,
                  RMGraph aGraph)
Returns a report generated graph from an original graph and a ReportMill.

Method Detail

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 com.reportmill.base.ReportMill getReportMill()
Returns the ReportMill for RPG.


getSeriesCount

public int getSeriesCount()
Returns the number of series in this graph.


getSeries

public RMGraphSeries getSeries(int anIndex)
Returns the individual series at the given index.


getSectionCount

public int getSectionCount()
Returns the number of sections in this graph.


getSection

public RMGraphSection getSection(int anIndex)
Returns the individual section at the given index.


getSections

public java.util.List getSections()
Returns the list of sections for the graph.


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.


getMinorTickCount

public int getMinorTickCount()
Returns the number of suggested ticks between the intervals of the RPG'd graph.


getColors

public RMColor[] getColors()
Returns the array of colors to be used for graph bars/wedges.


getSampleGraphArea

public static RMShape getSampleGraphArea(RMGraphArea aGraphArea)
Returns a filled graph area for a given graph area.


ReportMill 10 API