|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.render.AbstractRender
com.ijchart.xychart.render.AbstractWithAxisRender
com.ijchart.xychart.render.category.AbstractCategoryRender
com.ijchart.xychart.render.category.AbstractBaseValueCategoryRender
com.ijchart.xychart.render.category.LayeredBarRender
public class LayeredBarRender
Title: IJChart
Description: a chart library for the Java(tm) platform.
A render that represents data using bars which are superimposed.Copyright: Copyright (c) 2013
Company:
Field Summary | |
---|---|
static double |
DEFAULT_BAR_WIDTH_FACTOR
Default bar width factor, that is the width of each series and the former ratio of the width of a series. |
Fields inherited from class com.ijchart.xychart.render.category.AbstractBaseValueCategoryRender |
---|
DEFAULT_BASE_VALUE |
Fields inherited from class com.ijchart.xychart.render.category.AbstractCategoryRender |
---|
DEFAULT_ITEM_MARGIN, DEFAULT_MAXIMUM_BAR_WIDTH, DEFAULT_MINIMUM_BAR_WIDTH |
Constructor Summary | |
---|---|
LayeredBarRender(IMatrixDataset dataset)
constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
void |
drawAllItems(CategoryAxis categoryAxis,
AbstractValueAxis valueAxis,
RectangleEdge valueAxisEdge,
java.awt.geom.Rectangle2D dataArea,
ChartOrientation orientation,
RenderShapeCollection renderShapes,
float alpha)
Draws all data items. |
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
double |
getBarWidthFactor()
Returns the bar width factor. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setBarWidthFactor(double factor)
Returns the bar width factor and sends a RenderChangeEvent to all registered listeners. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class com.ijchart.xychart.render.category.AbstractBaseValueCategoryRender |
---|
getBaseValue, setBaseValue |
Methods inherited from class com.ijchart.xychart.render.category.AbstractCategoryRender |
---|
addAnnotation, createCategoryMarkerShape, drawAllAnnotation, drawCategoryMarker, getAllAnnotations, getItemMargin, getMaximumBarWidth, getMinimumBarWidth, removeAllAnnotation, setItemMargin, setMaximumBarWidth, setMinimumBarWidth |
Methods inherited from class com.ijchart.xychart.render.AbstractWithAxisRender |
---|
createItemShape, createValueMarkerShape, drawIntervalValueMarker, drawValueMarker, getValueAxisOffsetType |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final double DEFAULT_BAR_WIDTH_FACTOR
Constructor Detail |
---|
public LayeredBarRender(IMatrixDataset dataset)
dataset
- IMatrixDataset
The dataset (null not permitted).Method Detail |
---|
public double getBarWidthFactor()
public void setBarWidthFactor(double factor)
RenderChangeEvent
to all registered listeners.
factor
- double
The bar width factor,this value is open interval (0.0,1.0).public void drawAllItems(CategoryAxis categoryAxis, AbstractValueAxis valueAxis, RectangleEdge valueAxisEdge, java.awt.geom.Rectangle2D dataArea, ChartOrientation orientation, RenderShapeCollection renderShapes, float alpha)
drawAllItems
in class AbstractCategoryRender
categoryAxis
- CategoryAxis
The category axis (null not permitted).valueAxis
- AbstractValueAxis
The value axis (null not permitted).valueAxisEdge
- RectangleEdge
The value axis edge (null not permitted).dataArea
- Rectangle2D
The chart data area (null not permitted).orientation
- ChartOrientation
The chart orientation (null not permitted).renderShapes
- RenderShapeCollection
Collects information about the render (null not permitted).alpha
- float
The alpha transparency (in the range 0.0f to 1.0f, where 0.0f is fully transparent,
and 1.0f is fully opaque).public boolean equals(java.lang.Object obj)
equals
in class AbstractBaseValueCategoryRender
obj
- the object (null permitted).
public int hashCode()
hashCode
in class AbstractBaseValueCategoryRender
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractBaseValueCategoryRender
java.lang.CloneNotSupportedException
- if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.public java.lang.String toString()
toString
in class AbstractBaseValueCategoryRender
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |