public class RMGraphViewBar extends RMShape implements RMGraphView.BarView
RMGraphView.BarView, RMGraphView.PieView
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMGraphViewBar(RMGraph aGraph)
Creates a bar graph maker.
|
Modifier and Type | Method and Description |
---|---|
void |
addAxis(RMShape aShape)
Add axis shape.
|
void |
addBar(RMShape aBar,
int aLayer)
Add bar shape.
|
void |
addBarLabel(RMShape aBarLabel,
RMGraphPartSeries.LabelPosition aPosition)
Add bar label.
|
void |
addBars()
Adds the bars to the graph area.
|
void |
addGridLineMajor(RMLineSegment aLine)
Add grid line major.
|
void |
addGridLineMinor(RMLineSegment aLine)
Add grid line minor.
|
void |
addGridLineSeparator(RMLineSegment aLine)
Add grid line separator
|
void |
addLabel(RMText aLabel,
RMGraphPartSeries.LabelPosition aPosition,
RMGraphSeries.Item seriesItem)
Adds an individual label.
|
void |
addLabelAxisLabel(RMShape anAxisLabel)
Add label axis label shape.
|
void |
addValueAxisLabel(RMShape anAxisLabel)
Add value axis label shape.
|
RMRect |
getBarBounds(int aSeriesIndex,
int anItemIndex)
Returns the bar bounds for bar at given series and item.
|
RMShape |
getGraphView()
Returns the graph view.
|
java.lang.String |
getPart(java.awt.geom.Point2D aPoint)
Returns the graph part for given point.
|
boolean |
isVertical()
Returns whether graph is vertical.
|
acceptsChildren, acceptsMouse, addBinding, addChild, addChild, addChild, addChild, animUpdate, bounds, bringShapesToFront, checkBindings, 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, createDivideShapeRemainder, createLayout, createPartClone, divideShapeFromEdge, divideShapeFromTop, doLayout, equals, firePropertyChange, fromXML, fromXMLShape, fromXMLShapeChildren, fromXMLShapeLayout, get, get, getAction, getAncestor, getAncestorCount, getAncestorInCommon, getAnim, getAnim, getAnimator, getAnimator, getAspectMapped, getAspects, getAutosizing, getAutosizingDefault, getBinder, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getBoundsOfChildren, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildArray, getChildClipShape, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getClipShape, getColor, getDatasetEntity, getDatasetKey, getDocument, getEffect, getFill, getFloat, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getImageFill, getLayout, getLineWidth, getMaskPath, getMaximumSize, getMaximumSizeProperty, getMaxX, getMaxY, getMinimumSize, getMinimumSizeProperty, getName, getOpacity, getOpacityDeep, getOriginal, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParentWithClass, getPart, getPartCount, getPartDeep, getPartDeepCount, getPath, getPathInBounds, getPreferredSize, getPreferredSizeImpl, getPreferredSizeProperty, getPreferredSizeX, getReportMill, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeWidth, getTextColor, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, indexOfChild, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isHittable, isHittableChild, isLocked, isMouseDown, isMouseOver, isRoot, isShowing, isUnderlined, isValid, isViewing, isVisible, isVisibleChild, isVisibleDeep, layoutReset, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageMax, paint, paintShape, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeChild, removeChild, removeChildren, removeFromParent, repaint, repaint, resolvePageReferences, revalidate, sendShapesToBack, setAction, setAutosizing, setBounds, setBounds, setCausesWrap, setCausesWrapType, setColor, setEffect, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightToFit, setHover, setLayout, setLayoutEnabled, setLineWidth, setLocked, setMaximumSize, setMinimumSize, setName, setOpacity, setOutline, setParent, setPreferredSize, setReportMill, setReportMillBindings, setReportMillDeep, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTextColor, setTime, setUnderlined, setUrl, setVisible, setWidth, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, superSelectable, toString, toXML, toXMLShape, toXMLShapeChildren, toXMLShapeLayout, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, x, y
public RMGraphViewBar(RMGraph aGraph)
public RMShape getGraphView()
public boolean isVertical()
public void addBars()
public RMRect getBarBounds(int aSeriesIndex, int anItemIndex)
public void addLabel(RMText aLabel, RMGraphPartSeries.LabelPosition aPosition, RMGraphSeries.Item seriesItem)
public java.lang.String getPart(java.awt.geom.Point2D aPoint)
getPart
in interface RMGraphView
public void addGridLineMajor(RMLineSegment aLine)
addGridLineMajor
in interface RMGraphView.BarView
public void addGridLineMinor(RMLineSegment aLine)
addGridLineMinor
in interface RMGraphView.BarView
public void addGridLineSeparator(RMLineSegment aLine)
addGridLineSeparator
in interface RMGraphView.BarView
public void addBar(RMShape aBar, int aLayer)
addBar
in interface RMGraphView.BarView
public void addBarLabel(RMShape aBarLabel, RMGraphPartSeries.LabelPosition aPosition)
addBarLabel
in interface RMGraphView.BarView
public void addAxis(RMShape aShape)
addAxis
in interface RMGraphView.BarView
public void addValueAxisLabel(RMShape anAxisLabel)
addValueAxisLabel
in interface RMGraphView.BarView
public void addLabelAxisLabel(RMShape anAxisLabel)
addLabelAxisLabel
in interface RMGraphView.BarView