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 Summary
Nested classes/interfaces inherited from class com.reportmill.shape.RMScene3D
RMScene3D.RMShape3D -
Field Summary
Fields inherited from class com.reportmill.shape.RMScene3D
CONSTRAIN_NONE, CONSTRAIN_PITCH, CONSTRAIN_YAWFields inherited from class com.reportmill.shape.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE -
Constructor Summary
Constructors -
Method Summary
Modifier 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.RMScene3D
acceptsMouse, 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.RMShape
acceptsChildren, 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.RMObject
didUndo, getAnimAttribute, getClassNameShort
-
Constructor Details
-
RMGraphBarView3D
Creates a new graph bar view.
-
-
Method Details
-
addGridLine
Adds a grid line to the graph view.- Specified by:
addGridLinein interfaceRMGraphBar.GraphBarView
-
addBar
Adds a bar to the graph view.- Specified by:
addBarin interfaceRMGraphBar.GraphBarView
-
addBarLabel
Adds a bar label to the graph view.- Specified by:
addBarLabelin interfaceRMGraphBar.GraphBarView
-
addAxis
Adds the axis to the graph view.- Specified by:
addAxisin interfaceRMGraphBar.GraphBarView
-
addAxisLabel
Adds the axis label to the graph view.- Specified by:
addAxisLabelin interfaceRMGraphBar.GraphBarView
-
getBarWidth
public float getBarWidth()Returns the width of the bars. -
getBarMinZ
public float getBarMinZ()Returns the bar min Z. -
getBarMaxZ
public float getBarMaxZ()Returns the bar max Z. -
getTransform3D
Returns bar graph's camera transform (overrides Scene3D to make pitch always relative to camera).- Overrides:
getTransform3Din classRMScene3D
-
rebuild
public void rebuild()Rebuilds 3D scene from shapes.
-