|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.chart2d.Properties | +--net.sourceforge.chart2d.Chart2DProperties
A data structure for holding the properties common to all Chart2D charts. Chart2D charts are all capable of having a legend. Pass this to any number of Chart2D objects.
Field Summary | |
static boolean |
CHART_BETWEEN_CHART_AND_LEGEND_GAP_EXISTENCE_DEFAULT
The default is true. |
static int |
CHART_BETWEEN_CHART_AND_LEGEND_GAP_THICKNESS_MODEL_DEFAULT
The default is 5. |
static int |
CHART_DATA_LABELS_PRECISION_DEFAULT
The default is MAX_INTEGER. |
static int |
MAX_FLOAT
The number is -38. |
static int |
MAX_INTEGER
The number is 38. |
Constructor Summary | |
Chart2DProperties()
Creates a Chart2DProperties object with the documented default values. |
|
Chart2DProperties(net.sourceforge.chart2d.Chart2DProperties chart2DProps)
Creates a Chart2DProperties object with property values copied from another object. |
Method Summary | |
boolean |
getChartBetweenChartAndLegendGapExistence()
Gets whether the gap between the chart and the legend exists. |
int |
getChartBetweenChartAndLegendGapThicknessModel()
Gets the thickness of the gap between the chart and the legend for the chart's model size. |
int |
getChartDataLabelsPrecision()
Gets the look of labels that are supposed to describe the value of the data. |
boolean |
isFontNameExists(java.lang.String name)
Returns true if the font name exists in the graphics enviornment. |
void |
setChart2DProperties(net.sourceforge.chart2d.Chart2DProperties chart2DProps)
Sets all properties to be the values of another Chart2DProperties object. |
void |
setChart2DPropertiesToDefaults()
Sets all properties to their default values. |
void |
setChartBetweenChartAndLegendGapExistence(boolean existence)
Sets whether the gap between the chart and the legend exists. |
void |
setChartBetweenChartAndLegendGapThicknessModel(int thickness)
Sets the thickness of the gap between the chart and the legend for the chart's model size. |
void |
setChartDataLabelsPrecision(int precision)
Sets the look of labels that are supposed to describe the value of the data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX_INTEGER
public static final int MAX_FLOAT
public static final int CHART_DATA_LABELS_PRECISION_DEFAULT
public static final boolean CHART_BETWEEN_CHART_AND_LEGEND_GAP_EXISTENCE_DEFAULT
public static final int CHART_BETWEEN_CHART_AND_LEGEND_GAP_THICKNESS_MODEL_DEFAULT
Constructor Detail |
public Chart2DProperties()
public Chart2DProperties(net.sourceforge.chart2d.Chart2DProperties chart2DProps)
chart2DProps
- The properties to copy.Method Detail |
public final void setChart2DPropertiesToDefaults()
public final void setChart2DProperties(net.sourceforge.chart2d.Chart2DProperties chart2DProps)
chart2DProps
- The properties to copy.public final void setChartDataLabelsPrecision(int precision)
precision
- The adjustement of the precision of numbers labels.public final void setChartBetweenChartAndLegendGapExistence(boolean existence)
existence
- If true, the gap exists.public final void setChartBetweenChartAndLegendGapThicknessModel(int thickness)
thickness
- The model thickness of the gap.public final int getChartDataLabelsPrecision()
public final boolean getChartBetweenChartAndLegendGapExistence()
public final int getChartBetweenChartAndLegendGapThicknessModel()
public final boolean isFontNameExists(java.lang.String name)
name
- The name of the font to determine the existence of.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |