|
|||||||||
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
public abstract class AbstractBaseValueCategoryRender
Title: IJChart
Description: a chart library for the Java(tm) platform.
Base class providing common services for category renders.Copyright: Copyright (c) 2013
Company:
Field Summary | |
---|---|
static double |
DEFAULT_BASE_VALUE
The default base value for the bars,and the value must between the minimum and maximum value of axis tick mark. |
Fields inherited from class com.ijchart.xychart.render.category.AbstractCategoryRender |
---|
DEFAULT_ITEM_MARGIN, DEFAULT_MAXIMUM_BAR_WIDTH, DEFAULT_MINIMUM_BAR_WIDTH |
Constructor Summary | |
---|---|
protected |
AbstractBaseValueCategoryRender(IMatrixDataset dataset)
constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Indicates if some other object is "equal to" this one. |
double |
getBaseValue()
The base value for the bars. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setBaseValue(double value)
Sets the base value for the bars 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.AbstractCategoryRender |
---|
addAnnotation, createCategoryMarkerShape, drawAllAnnotation, drawAllItems, 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_BASE_VALUE
Constructor Detail |
---|
protected AbstractBaseValueCategoryRender(IMatrixDataset dataset)
dataset
- IMatrixDataset
The dataset (null not permitted).Method Detail |
---|
public double getBaseValue()
getBaseValue
in class AbstractCategoryRender
public void setBaseValue(double value)
RenderChangeEvent
to all registered listeners.
setBaseValue
in class AbstractCategoryRender
value
- double
The new base value.public boolean equals(java.lang.Object obj)
equals
in class AbstractCategoryRender
obj
-
the reference object with which to compare.
public int hashCode()
hashCode
in class AbstractCategoryRender
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractCategoryRender
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 AbstractCategoryRender
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |