Package com.reportmill.shape
Class RMGraphBarView3D
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMScene3D
com.reportmill.shape.RMGraphBarView3D
- All Implemented Interfaces:
- RMArchiver.Archiving,- RMGraphBar.GraphBarView,- Cloneable
This class renders a bar graph in 3D.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.reportmill.shape.RMScene3DRMScene3D.RMShape3D
- 
Field SummaryFields inherited from class com.reportmill.shape.RMScene3DCONSTRAIN_NONE, CONSTRAIN_PITCH, CONSTRAIN_YAWFields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds the axis to the graph view.voidaddAxisLabel(RMShape anAxisLabel) Adds the axis label to the graph view.voidAdds a bar to the graph view.voidaddBarLabel(RMShape aBarLabel, String aType) Adds a bar label to the graph view.voidaddGridLine(RMLineSegment aLine) Adds a grid line to the graph view.floatReturns the bar max Z.floatReturns the bar min Z.floatReturns the width of the bars.Returns bar graph's camera transform (overrides Scene3D to make pitch always relative to camera).voidrebuild()Rebuilds 3D scene from shapes.Methods inherited from class com.reportmill.shape.RMScene3DacceptsMouse, addChild3D, addChild3D, addShape, addShape, canBeUngrouped, copy, equals, fromXML, getBoundsMarked, getBoundsSuperSelected, getCamera, getChildrenWhoHitTest, getDepth, getFieldOfView, getFocalLength, getLight, getOffsetZ, getOrigin, getPitch, getPseudoSkewX, getPseudoSkewY, getShape, getShapeCount, getYaw, getZRoll, isPseudo3D, mouseDragged, mousePressed, mouseReleased, removeShape, resort, setColor, setDepth, setFieldOfView, setFillAndStroke, setFocalLength, setOffsetZ, setPitch, setPseudo3D, setPseudoSkewX, setPseudoSkewY, setYaw, setZRoll, superSelectable, toXMLMethods inherited from class com.reportmill.shape.RMShapeacceptsChildren, 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, 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, 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, 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, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, yMethods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
- 
Constructor Details- 
RMGraphBarView3DCreates a new graph bar view.
 
- 
- 
Method Details- 
addGridLineAdds a grid line to the graph view.- Specified by:
- addGridLinein interface- RMGraphBar.GraphBarView
 
- 
addBarAdds a bar to the graph view.- Specified by:
- addBarin interface- RMGraphBar.GraphBarView
 
- 
addBarLabelAdds a bar label to the graph view.- Specified by:
- addBarLabelin interface- RMGraphBar.GraphBarView
 
- 
addAxisAdds the axis to the graph view.- Specified by:
- addAxisin interface- RMGraphBar.GraphBarView
 
- 
addAxisLabelAdds the axis label to the graph view.- Specified by:
- addAxisLabelin interface- RMGraphBar.GraphBarView
 
- 
getBarWidthpublic float getBarWidth()Returns the width of the bars.
- 
getBarMinZpublic float getBarMinZ()Returns the bar min Z.
- 
getBarMaxZpublic float getBarMaxZ()Returns the bar max Z.
- 
getTransform3DReturns bar graph's camera transform (overrides Scene3D to make pitch always relative to camera).- Overrides:
- getTransform3Din class- RMScene3D
 
- 
rebuildpublic void rebuild()Rebuilds 3D scene from shapes.
 
-