|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.sourceforge.chart2d.GraphChart2DProperties
A data structure for holding the properties common to all graph charts (ie LBChart2D and LLChart2D). Pass this to any number of graph charts to have them configured with these properties. Note: Datasets are added to charts by adding them to a GraphProperties class and adding GraphProperties classes to this class. Multiple GraphProperties classes can be added to this class. The reason to add multiple GraphProperties classes is not to have one set of data graphed by multiple graph components (ie combinations of lines, bars, or dots), but to have different data sets graphed by different combinations of graph components.
| Field Summary | |
static int |
BETWEEN
Indicates the ticks of an axis should be centered between the labels of the axis. |
static int |
CENTERED
Indicates the ticks of an axis should be centered on each label of the axis. |
static java.awt.Color[] |
CHART_DATASET_COLORS_DEFAULT
The default is Color[0]. |
static float |
CHART_DATASET_CUSTOM_GREATEST_VALUE_DEFAULT
The default is 0. |
static float |
CHART_DATASET_CUSTOM_LEAST_VALUE_DEFAULT
The default is 0. |
static boolean |
CHART_DATASET_CUSTOMIZE_GREATEST_VALUE_DEFAULT
The default is false. |
static boolean |
CHART_DATASET_CUSTOMIZE_LEAST_VALUE_DEFAULT
The default is false. |
static float |
CHART_GRAPHABLE_TO_AVAILABLE_RATIO_DEFAULT
The default is 90f. |
static int |
CUSTOM_ORDER
Indicates the order of the graphs is using a custom ordering as defined by the ordering passed to the setGraphOverlayOrderCustom (int[]) method. |
static int[] |
GRAPH_OVERLAY_ORDER_CUSTOM_DEFAULT
The default is int[0]. |
static int |
GRAPH_OVERLAY_ORDER_DEFAULT
The default is ORDER_ADDED. |
static boolean |
LABELS_AXIS_BETWEEN_LABELS_AND_TICKS_GAP_EXISTENCE_DEFAULT
The default is true. |
static int |
LABELS_AXIS_BETWEEN_LABELS_AND_TICKS_GAP_THICKNESS_MODEL_DEFAULT
The default is 2. |
static boolean |
LABELS_AXIS_BETWEEN_LABELS_OR_TICKS_GAP_EXISTENCE_DEFAULT
The default is true. |
static int |
LABELS_AXIS_BETWEEN_LABELS_OR_TICKS_GAP_THICKNESS_MODEL_DEFAULT
The default is 5. |
static java.awt.Color |
LABELS_AXIS_LABELS_FONT_COLOR_DEFAULT
The default is Color.black. |
static java.lang.String |
LABELS_AXIS_LABELS_FONT_NAME_DEFAULT
The default is "SansSerif". |
static int |
LABELS_AXIS_LABELS_FONT_POINT_MODEL_DEFAULT
The default is 12. |
static int |
LABELS_AXIS_LABELS_FONT_STYLE_DEFAULT
The default is Font.PLAIN. |
static java.lang.String[] |
LABELS_AXIS_LABELS_TEXTS_DEFAULT
The default is String[0]. |
static int |
LABELS_AXIS_TICKS_ALIGNMENT_DEFAULT
The default is BETWEEN. |
static java.awt.Color |
LABELS_AXIS_TICKS_COLOR_DEFAULT
The default is Color.black. |
static java.awt.Color |
LABELS_AXIS_TICKS_OUTLINE_COLOR_DEFAULT
The default is Color.black. |
static boolean |
LABELS_AXIS_TICKS_OUTLINE_EXISTENCE_DEFAULT
The default is false. |
static java.awt.Dimension |
LABELS_AXIS_TICKS_SIZE_MODEL_DEFAULT
The default is Dimension (3, 3). |
static boolean |
LABELS_AXIS_TITLE_BETWEEN_REST_GAP_EXISTENCE_DEFAULT
The default is true. |
static int |
LABELS_AXIS_TITLE_BETWEEN_REST_GAP_THICKNESS_MODEL_DEFAULT
The default is 5. |
static boolean |
LABELS_AXIS_TITLE_EXISTENCE_DEFAULT
The default is true. |
static java.awt.Color |
LABELS_AXIS_TITLE_FONT_COLOR_DEFAULT
The default is Color.black. |
static java.lang.String |
LABELS_AXIS_TITLE_FONT_NAME_DEFAULT
The default is "SansSerif". |
static int |
LABELS_AXIS_TITLE_FONT_POINT_MODEL_DEFAULT
The default is 14. |
static int |
LABELS_AXIS_TITLE_FONT_STYLE_DEFAULT
The default is Font.PLAIN. |
static java.lang.String |
LABELS_AXIS_TITLE_TEXT_DEFAULT
The default is "". |
static java.lang.String[] |
LEGEND_LABELS_TEXTS_DEFAULT
The default is String[0]. |
static boolean |
NUMBERS_AXIS_BETWEEN_LABELS_AND_TICKS_GAP_EXISTENCE_DEFAULT
The default is true. |
static int |
NUMBERS_AXIS_BETWEEN_LABELS_AND_TICKS_GAP_THICKNESS_MODEL_DEFAULT
The default is 2. |
static boolean |
NUMBERS_AXIS_BETWEEN_LABELS_OR_TICKS_GAP_EXISTENCE_DEFAULT
The default is true. |
static int |
NUMBERS_AXIS_BETWEEN_LABELS_OR_TICKS_GAP_THICKNESS_MODEL_DEFAULT
The default is 5. |
static java.awt.Color |
NUMBERS_AXIS_LABELS_FONT_COLOR_DEFAULT
The default is Color.black. |
static java.lang.String |
NUMBERS_AXIS_LABELS_FONT_NAME_DEFAULT
The default is "SansSerif". |
static int |
NUMBERS_AXIS_LABELS_FONT_POINT_MODEL_DEFAULT
The default is 12. |
static int |
NUMBERS_AXIS_LABELS_FONT_STYLE_DEFAULT
The default is Font.PLAIN. |
static int |
NUMBERS_AXIS_NUM_LABELS_DEFAULT
The default is 5. |
static java.awt.Color |
NUMBERS_AXIS_TICKS_COLOR_DEFAULT
The default is Color.black. |
static java.awt.Color |
NUMBERS_AXIS_TICKS_OUTLINE_COLOR_DEFAULT
The default is Color.black. |
static boolean |
NUMBERS_AXIS_TICKS_OUTLINE_EXISTENCE_DEFAULT
The default is false. |
static java.awt.Dimension |
NUMBERS_AXIS_TICKS_SIZE_MODEL_DEFAULT
The default is Dimension (3, 3). |
static boolean |
NUMBERS_AXIS_TITLE_BETWEEN_REST_GAP_EXISTENCE_DEFAULT
The default is true. |
static int |
NUMBERS_AXIS_TITLE_BETWEEN_REST_GAP_THICKNESS_MODEL_DEFAULT
The default is 5. |
static boolean |
NUMBERS_AXIS_TITLE_EXISTENCE_DEFAULT
The default is true. |
static java.awt.Color |
NUMBERS_AXIS_TITLE_FONT_COLOR_DEFAULT
The default is Color.black. |
static java.lang.String |
NUMBERS_AXIS_TITLE_FONT_NAME_DEFAULT
The default is "SansSerif". |
static int |
NUMBERS_AXIS_TITLE_FONT_POINT_MODEL_DEFAULT
The default is 14. |
static int |
NUMBERS_AXIS_TITLE_FONT_STYLE_DEFAULT
The default is Font.PLAIN. |
static java.lang.String |
NUMBERS_AXIS_TITLE_TEXT_DEFAULT
The default is "". |
static int |
ORDER_ADDED
Indicates the order of the graphs from top to bottom should be the same as the order in which they were added. |
static int |
REVERSE_ORDER_ADDED
Indicates the order of the graphs from bottom to top should be the same as the order in which they were added. |
static boolean |
VALIDATE_ON_UPDATE_DEFAULT
The default is true. |
| Constructor Summary | |
GraphChart2DProperties()
Creates this object with the documented default values, with a default Chart2DProperties object, and with one default GraphProperties object. |
|
GraphChart2DProperties(Chart2DProperties chart2DProps)
Creates this object with the documented default values, with the given Chart2DProperties object, and with one default GraphProeprties object. |
|
GraphChart2DProperties(Chart2DProperties chart2DProps,
GraphProperties graphProps)
Creates this object with the documented default values, with the given Chart2DProperties object, and with the given GraphProperties object. |
|
GraphChart2DProperties(GraphChart2DProperties graphChart2DProps,
Chart2DProperties chart2DProperties)
Creates this object with properties (deep) copied from the GraphChart2DProperties, with the given Chart2DProperties object, and with one default GraphProperties object. |
|
GraphChart2DProperties(GraphChart2DProperties graphChart2DProps,
Chart2DProperties chart2DProps,
GraphProperties graphProps)
Creates this object with properties (deep) copied from the GraphChart2DProperties, with the given Chart2DProperties object, and with the given GraphProperties object. |
|
GraphChart2DProperties(GraphChart2DProperties graphChart2DProps,
GraphProperties graphProps)
Creates this object with properties (deep) copied from the GraphChart2DProperties, with a default Chart2DProperties object, and with the given GraphProperties object. |
|
GraphChart2DProperties(GraphProperties graphProps)
Creates this object with the documented default values, with a default Chart2DProperties object, and with the given GraphProperties object. |
|
| Method Summary | |
(package private) void |
addGraphChart2D(GraphChart2D graphChart2D)
Adds a GraphChart2D object to the set of objects associated with this properties object. |
void |
addGraphProperties(GraphProperties graphProps)
Adds a graph with the specified properties to this chart. |
Chart2DProperties |
getChart2DProperties()
Returns the chart2DProps of this GraphChart2DProperties. |
java.awt.Color[] |
getChartDatasetColors()
Returns the colors for the chart's data sets [the colors of the legend's bullets and/or the colors of the data representation components [bars, lines, dots, and/or pie sectors]]. |
float |
getChartDatasetCustomGreatestValue()
Returns the custom greatest value of the data sets. |
boolean |
getChartDatasetCustomizeGreatestValue()
Returns whether the true greatest value in the data sets will be substituted by the custom value. |
boolean |
getChartDatasetCustomizeLeastValue()
Returns whether the true least value in the data sets will be substituted by the custom value. |
float |
getChartDatasetCustomLeastValue()
Returns the custom least value of the data sets. |
float |
getChartGraphableToAvailableRatio()
Returns how much of the chart's graph is used by the graph's components. |
(package private) boolean |
getGraphChart2DNeedsUpdate(GraphChart2D graphChart2D)
Gets whether any properties have changed since this GraphChart2D object was last updated. |
java.util.Vector |
getGraphChart2DVector()
Returns the vector of GraphChart2D objects that are using this object. |
int |
getGraphOverlayOrder()
Gets the order graphs are displayed for overlay charts. |
int[] |
getGraphOverlayOrderCustom()
Gets the custom ordering definition for the order in which graphs are displayed for overlay charts. |
java.util.Vector |
getGraphPropertiesVector()
Returns a vector of the GraphProperties that have been added to this object. |
boolean |
getLabelsAxisBetweenLabelsAndTicksGapExistence()
Returns whether a gap between the labels and ticks exists, vertically. |
int |
getLabelsAxisBetweenLabelsAndTicksGapThicknessModel()
Returns the thickness of the gap between the labels and ticks, vertically, for the chart's model size. |
boolean |
getLabelsAxisBetweenLabelsOrTicksGapExistence()
Returns whether a gap between the labels or ticks exists, horizontally. |
int |
getLabelsAxisBetweenLabelsOrTicksGapThicknessModel()
Returns the thickness of the gap between the labels or ticks, horizontally, for the chart's model size. |
java.awt.Color |
getLabelsAxisLabelsFontColor()
Returns the color of the font of the labels of the labels axis. |
java.lang.String |
getLabelsAxisLabelsFontName()
Returns the name of the font of the labels of the labels axis. |
int |
getLabelsAxisLabelsFontPointModel()
Returns the point of the font of the labels axis labels for the chart's model size. |
int |
getLabelsAxisLabelsFontStyle()
Returns the style of the font of the labels axis labels. |
java.lang.String[] |
getLabelsAxisLabelsTexts()
Returns the text of each labels axis label. |
int |
getLabelsAxisTicksAlignment()
Returns the placement of the ticks on the labels axis. |
java.awt.Color |
getLabelsAxisTicksColor()
Returns the color of the labels axis ticks. |
java.awt.Color |
getLabelsAxisTicksOutlineColor()
Returns the color of the thin line that outlines the labels axis ticks. |
boolean |
getLabelsAxisTicksOutlineExistence()
Returns whether a thin line outlines the labels axis ticks. |
java.awt.Dimension |
getLabelsAxisTicksSizeModel()
Returns the size of the labels axis ticks for the chart's model size. |
boolean |
getLabelsAxisTitleBetweenRestGapExistence()
Returns whether the gap above the labels axis title exists. |
int |
getLabelsAxisTitleBetweenRestGapThicknessModel()
Returns the thickness of the gap above the labels axis title for the chart's model size. |
boolean |
getLabelsAxisTitleExistence()
Returns whether the title of the labels axis exists. |
java.awt.Color |
getLabelsAxisTitleFontColor()
Returns the color of the font of the labels axis title. |
java.lang.String |
getLabelsAxisTitleFontName()
Returns the name of the font of the labels axis title. |
int |
getLabelsAxisTitleFontPointModel()
Returns the font point of the labels axis title for the chart's model size. |
int |
getLabelsAxisTitleFontStyle()
Returns the style of teh font of the labels axis title. |
java.lang.String |
getLabelsAxisTitleText()
Returns the text of the title of the labels axis. |
java.lang.String[] |
getLegendLabelsTexts()
Returns the texts of the legend labels. |
boolean |
getNumbersAxisBetweenLabelsAndTicksGapExistence()
Returns whether a gap between the labels and ticks exists, horizontally. |
int |
getNumbersAxisBetweenLabelsAndTicksGapThicknessModel()
Returns the thickness of the gap between the labels and ticks, horizontally, for the chart's model size. |
boolean |
getNumbersAxisBetweenLabelsOrTicksGapExistence()
Returns whether a gap between the labels or ticks exists, vertically. |
int |
getNumbersAxisBetweenLabelsOrTicksGapThicknessModel()
Returns the thickness of the gap between the labels or ticks, vertically, for the chart's model size. |
java.awt.Color |
getNumbersAxisLabelsFontColor()
Returns the color of the font of the labels of the numbers axis. |
java.lang.String |
getNumbersAxisLabelsFontName()
Returns the name of the font of the labels of the numbers axis. |
int |
getNumbersAxisLabelsFontPointModel()
Returns the point of the font of the numbers axis labels for the chart's model size. |
int |
getNumbersAxisLabelsFontStyle()
Returns the style of the font of the numbers axis labels. |
int |
getNumbersAxisNumLabels()
Returns the number of labels in the numbers axis. |
java.awt.Color |
getNumbersAxisTicksColor()
Returns the color of the numbers axis ticks. |
java.awt.Color |
getNumbersAxisTicksOutlineColor()
Returns the color of the thin line that outlines the numbers axis ticks. |
boolean |
getNumbersAxisTicksOutlineExistence()
Returns whether a thin line outlines the numbers axis ticks. |
java.awt.Dimension |
getNumbersAxisTicksSizeModel()
Returns the size of the numbers axis ticks for the chart's model size. |
boolean |
getNumbersAxisTitleBetweenRestGapExistence()
Returns whether the gap right of the numbers axis title exists. |
int |
getNumbersAxisTitleBetweenRestGapThicknessModel()
Returns the thickness of the gap right of the numbers axis title for the chart's model size. |
boolean |
getNumbersAxisTitleExistence()
Returns whether the title of the numbers axis exists. |
java.awt.Color |
getNumbersAxisTitleFontColor()
Returns the color of the font of the numbers axis title. |
java.lang.String |
getNumbersAxisTitleFontName()
Returns the name of the font of the numbers axis title. |
int |
getNumbersAxisTitleFontPointModel()
Returns the font point of the numbers axis title for the chart's model size. |
int |
getNumbersAxisTitleFontStyle()
Returns the style of teh font of the numbers axis title. |
java.lang.String |
getNumbersAxisTitleText()
Returns the text of the title of the numbers axis. |
boolean |
getValidateOnUpdate()
Returns whether the properties should be validated whenever a chart is to be updated with a changed property. |
(package private) void |
removeGraphChart2D(GraphChart2D graphChart2D)
Removes a GraphChart2D object from the set of objects associated with this properties object. |
int |
removeGraphProperties()
Removes the most GraphProperties that was most recently passed into this GraphChart2DProperties. |
void |
setChart2DProperties(Chart2DProperties chart2DProps)
Specifies the Chart2DProperties object. |
void |
setChartDatasetColors(java.awt.Color[] colors)
Specifies the colors for the chart's data sets [the colors of the legend's bullets and/or the colors of the data representation components [bars, lines, dots, and/or pie sectors]]. |
void |
setChartDatasetCustomGreatestValue(float value)
Specifies the custom greatest value of the data sets. |
void |
setChartDatasetCustomizeGreatestValue(boolean customize)
Specifies whether the true greatest value in the data sets will be substituted by the custom value. |
void |
setChartDatasetCustomizeLeastValue(boolean customize)
Specifies whether the true least value in the data sets will be substituted by the custom value. |
void |
setChartDatasetCustomLeastValue(float value)
Specifies the custom least value of the data sets. |
void |
setChartGraphableToAvailableRatio(float ratio)
Specifies how much of the chart's graph is used by the graph's components. |
void |
setGraphChart2DProperties(GraphChart2DProperties graphChart2DProps)
Sets all the graph chart properties to be (deep) copied values from another GraphChart2DProperties. |
void |
setGraphChart2DPropertiesToDefaults()
Sets all the graph chart properties to their documented default values. |
void |
setGraphOverlayOrder(int order)
Sets the order graphs are displayed for overlay charts. |
void |
setGraphOverlayOrderCustom(int[] order)
Sets the custom ordering definition for the order in which graphs are displayed for overlay charts. |
void |
setLabelsAxisBetweenLabelsAndTicksGapExistence(boolean existence)
Specifies whether a gap between the labels and ticks exists, between. |
void |
setLabelsAxisBetweenLabelsAndTicksGapThicknessModel(int thickness)
Specifies the thickness of the gap between the labels and ticks, between, for the chart's model size. |
void |
setLabelsAxisBetweenLabelsOrTicksGapExistence(boolean existence)
Specifies whether a gap between the labels or ticks exists, across. |
void |
setLabelsAxisBetweenLabelsOrTicksGapThicknessModel(int thickness)
Specifies the thickness of the gap between the labels or ticks, across, for the chart's model size. |
void |
setLabelsAxisLabelsFontColor(java.awt.Color color)
Specifies the color of the font of the labels of the labels axis. |
void |
setLabelsAxisLabelsFontName(java.lang.String name)
Specifies the name of the font of the labels of the labels axis. |
void |
setLabelsAxisLabelsFontPointModel(int point)
Specifies the point of the font of the labels axis labels for the chart's model size. |
void |
setLabelsAxisLabelsFontStyle(int style)
Specifies the style of the font of the labels axis labels. |
void |
setLabelsAxisLabelsTexts(java.lang.String[] texts)
Specifies the text of each labels axis label. |
void |
setLabelsAxisTicksAlignment(int alignment)
Specifies the placement of the ticks on the labels axis. |
void |
setLabelsAxisTicksColor(java.awt.Color color)
Specifies the color of the labels axis ticks. |
void |
setLabelsAxisTicksOutlineColor(java.awt.Color color)
Specifies the color of the thin line that outlines the labels axis ticks. |
void |
setLabelsAxisTicksOutlineExistence(boolean existence)
Specifies whether a thin line outlines the labels axis ticks. |
void |
setLabelsAxisTicksSizeModel(java.awt.Dimension size)
Specifies the size of the labels axis ticks for the chart's model size. |
void |
setLabelsAxisTitleBetweenRestGapExistence(boolean existence)
Specifies whether the gap above the labels axis title exists. |
void |
setLabelsAxisTitleBetweenRestGapThicknessModel(int thickness)
Specifies the thickness of the gap above the labels axis title for the chart's model size. |
void |
setLabelsAxisTitleExistence(boolean existence)
Specifies whether the title of the labels axis exists. |
void |
setLabelsAxisTitleFontColor(java.awt.Color color)
Specifies the color of the font of the labels axis title. |
void |
setLabelsAxisTitleFontName(java.lang.String name)
Specifies the name of the font of the labels axis title. |
void |
setLabelsAxisTitleFontPointModel(int point)
Specifies the font point of the labels axis title for the chart's model size. |
void |
setLabelsAxisTitleFontStyle(int style)
Specifies the style of teh font of the labels axis title. |
void |
setLabelsAxisTitleText(java.lang.String text)
Specifies the text of the title of the labels axis. |
void |
setLegendLabelsTexts(java.lang.String[] texts)
Specifies the texts of the legend labels. |
void |
setNumbersAxisBetweenLabelsAndTicksGapExistence(boolean existence)
Specifies whether a gap between the labels and ticks exists, horizontally. |
void |
setNumbersAxisBetweenLabelsAndTicksGapThicknessModel(int thickness)
Specifies the thickness of the gap between the labels and ticks, horizontally, for the chart's model size. |
void |
setNumbersAxisBetweenLabelsOrTicksGapExistence(boolean existence)
Specifies whether a gap between the labels or ticks exists, vertically. |
void |
setNumbersAxisBetweenLabelsOrTicksGapThicknessModel(int thickness)
Specifies the thickness of the gap between the labels or ticks, vertically, for the chart's model size. |
void |
setNumbersAxisLabelsFontColor(java.awt.Color color)
Specifies the color of the font of the labels of the numbers axis. |
void |
setNumbersAxisLabelsFontName(java.lang.String name)
Specifies the name of the font of the labels of the numbers axis. |
void |
setNumbersAxisLabelsFontPointModel(int point)
Specifies the point of the font of the numbers axis labels for the chart's model size. |
void |
setNumbersAxisLabelsFontStyle(int style)
Specifies the style of the font of the numbers axis labels. |
void |
setNumbersAxisNumLabels(int num)
Specifies the number of labels in the numbers axis. |
void |
setNumbersAxisTicksColor(java.awt.Color color)
Specifies the color of the numbers axis ticks. |
void |
setNumbersAxisTicksOutlineColor(java.awt.Color color)
Specifies the color of the thin line that outlines the numbers axis ticks. |
void |
setNumbersAxisTicksOutlineExistence(boolean existence)
Specifies whether a thin line outlines the numbers axis ticks. |
void |
setNumbersAxisTicksSizeModel(java.awt.Dimension size)
Specifies the size of the numbers axis ticks for the chart's model size. |
void |
setNumbersAxisTitleBetweenRestGapExistence(boolean existence)
Specifies whether the gap right of the numbers axis title exists. |
void |
setNumbersAxisTitleBetweenRestGapThicknessModel(int thickness)
Specifies the thickness of the gap right of the numbers axis title for the chart's model size. |
void |
setNumbersAxisTitleExistence(boolean existence)
Specifies whether the title of the numbers axis exists. |
void |
setNumbersAxisTitleFontColor(java.awt.Color color)
Specifies the color of the font of the numbers axis title. |
void |
setNumbersAxisTitleFontName(java.lang.String name)
Specifies the name of the font of the numbers axis title. |
void |
setNumbersAxisTitleFontPointModel(int point)
Specifies the font point of the numbers axis title for the chart's model size. |
void |
setNumbersAxisTitleFontStyle(int style)
Specifies the style of teh font of the numbers axis title. |
void |
setNumbersAxisTitleText(java.lang.String text)
Specifies the text of the title of the numbers axis. |
void |
setValidateOnUpdate(boolean validate)
Returns whether the properties should be validated whenever a chart is to be updated with a changed property. |
(package private) void |
updateGraphChart2D(GraphChart2D graphChart2D)
Updates the GraphChart2D object to the current properties, if it needs it. |
boolean |
validate(boolean debug)
Returns true if the properties are valid. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int CENTERED
public static final int BETWEEN
public static final int ORDER_ADDED
public static final int REVERSE_ORDER_ADDED
public static final int CUSTOM_ORDER
public static final java.lang.String[] LEGEND_LABELS_TEXTS_DEFAULT
public static final java.awt.Color[] CHART_DATASET_COLORS_DEFAULT
public static final boolean CHART_DATASET_CUSTOMIZE_GREATEST_VALUE_DEFAULT
public static final float CHART_DATASET_CUSTOM_GREATEST_VALUE_DEFAULT
public static final boolean CHART_DATASET_CUSTOMIZE_LEAST_VALUE_DEFAULT
public static final float CHART_DATASET_CUSTOM_LEAST_VALUE_DEFAULT
public static final float CHART_GRAPHABLE_TO_AVAILABLE_RATIO_DEFAULT
public static final int NUMBERS_AXIS_NUM_LABELS_DEFAULT
public static final int LABELS_AXIS_TICKS_ALIGNMENT_DEFAULT
public static final java.lang.String[] LABELS_AXIS_LABELS_TEXTS_DEFAULT
public static final boolean LABELS_AXIS_TITLE_EXISTENCE_DEFAULT
public static final java.lang.String LABELS_AXIS_TITLE_TEXT_DEFAULT
public static final int LABELS_AXIS_TITLE_FONT_POINT_MODEL_DEFAULT
public static final java.lang.String LABELS_AXIS_TITLE_FONT_NAME_DEFAULT
public static final java.awt.Color LABELS_AXIS_TITLE_FONT_COLOR_DEFAULT
public static final int LABELS_AXIS_TITLE_FONT_STYLE_DEFAULT
public static final boolean LABELS_AXIS_TITLE_BETWEEN_REST_GAP_EXISTENCE_DEFAULT
public static final int LABELS_AXIS_TITLE_BETWEEN_REST_GAP_THICKNESS_MODEL_DEFAULT
public static final java.awt.Dimension LABELS_AXIS_TICKS_SIZE_MODEL_DEFAULT
public static final java.awt.Color LABELS_AXIS_TICKS_COLOR_DEFAULT
public static final boolean LABELS_AXIS_TICKS_OUTLINE_EXISTENCE_DEFAULT
public static final java.awt.Color LABELS_AXIS_TICKS_OUTLINE_COLOR_DEFAULT
public static final int LABELS_AXIS_LABELS_FONT_POINT_MODEL_DEFAULT
public static final java.lang.String LABELS_AXIS_LABELS_FONT_NAME_DEFAULT
public static final java.awt.Color LABELS_AXIS_LABELS_FONT_COLOR_DEFAULT
public static final int LABELS_AXIS_LABELS_FONT_STYLE_DEFAULT
public static final boolean LABELS_AXIS_BETWEEN_LABELS_OR_TICKS_GAP_EXISTENCE_DEFAULT
public static final int LABELS_AXIS_BETWEEN_LABELS_OR_TICKS_GAP_THICKNESS_MODEL_DEFAULT
public static final boolean LABELS_AXIS_BETWEEN_LABELS_AND_TICKS_GAP_EXISTENCE_DEFAULT
public static final int LABELS_AXIS_BETWEEN_LABELS_AND_TICKS_GAP_THICKNESS_MODEL_DEFAULT
public static final boolean NUMBERS_AXIS_TITLE_EXISTENCE_DEFAULT
public static final java.lang.String NUMBERS_AXIS_TITLE_TEXT_DEFAULT
public static final int NUMBERS_AXIS_TITLE_FONT_POINT_MODEL_DEFAULT
public static final java.lang.String NUMBERS_AXIS_TITLE_FONT_NAME_DEFAULT
public static final java.awt.Color NUMBERS_AXIS_TITLE_FONT_COLOR_DEFAULT
public static final int NUMBERS_AXIS_TITLE_FONT_STYLE_DEFAULT
public static final boolean NUMBERS_AXIS_TITLE_BETWEEN_REST_GAP_EXISTENCE_DEFAULT
public static final int NUMBERS_AXIS_TITLE_BETWEEN_REST_GAP_THICKNESS_MODEL_DEFAULT
public static final java.awt.Dimension NUMBERS_AXIS_TICKS_SIZE_MODEL_DEFAULT
public static final java.awt.Color NUMBERS_AXIS_TICKS_COLOR_DEFAULT
public static final boolean NUMBERS_AXIS_TICKS_OUTLINE_EXISTENCE_DEFAULT
public static final java.awt.Color NUMBERS_AXIS_TICKS_OUTLINE_COLOR_DEFAULT
public static final int NUMBERS_AXIS_LABELS_FONT_POINT_MODEL_DEFAULT
public static final java.lang.String NUMBERS_AXIS_LABELS_FONT_NAME_DEFAULT
public static final java.awt.Color NUMBERS_AXIS_LABELS_FONT_COLOR_DEFAULT
public static final int NUMBERS_AXIS_LABELS_FONT_STYLE_DEFAULT
public static final boolean NUMBERS_AXIS_BETWEEN_LABELS_OR_TICKS_GAP_EXISTENCE_DEFAULT
public static final int NUMBERS_AXIS_BETWEEN_LABELS_OR_TICKS_GAP_THICKNESS_MODEL_DEFAULT
public static final boolean NUMBERS_AXIS_BETWEEN_LABELS_AND_TICKS_GAP_EXISTENCE_DEFAULT
public static final int NUMBERS_AXIS_BETWEEN_LABELS_AND_TICKS_GAP_THICKNESS_MODEL_DEFAULT
public static final int GRAPH_OVERLAY_ORDER_DEFAULT
public static final int[] GRAPH_OVERLAY_ORDER_CUSTOM_DEFAULT
public static final boolean VALIDATE_ON_UPDATE_DEFAULT
| Constructor Detail |
public GraphChart2DProperties()
public GraphChart2DProperties(Chart2DProperties chart2DProps)
chart2DProps - The Chart2DProperties to use.public GraphChart2DProperties(GraphProperties graphProps)
graphProps - A GraphProperties to use.
public GraphChart2DProperties(Chart2DProperties chart2DProps,
GraphProperties graphProps)
chart2DProps - The Chart2DProperties to use.graphProps - A GraphProperties to use.
public GraphChart2DProperties(GraphChart2DProperties graphChart2DProps,
Chart2DProperties chart2DProperties)
graphChart2DProps - The graph chart properties to copy.chart2DProps - The Chart2DProperties to use.
public GraphChart2DProperties(GraphChart2DProperties graphChart2DProps,
GraphProperties graphProps)
graphChart2DProps - The graph chart properties to copy.graphProps - A GraphProperties to use.
public GraphChart2DProperties(GraphChart2DProperties graphChart2DProps,
Chart2DProperties chart2DProps,
GraphProperties graphProps)
graphChart2DProps - The graph chart properties to copy.chart2DProps - The Chart2DProperties to use.graphProps - A GraphProperties to use.| Method Detail |
public void setGraphChart2DPropertiesToDefaults()
public void setGraphChart2DProperties(GraphChart2DProperties graphChart2DProps)
graphChart2DProps - The GraphChart2DProperties to copy.public void setChart2DProperties(Chart2DProperties chart2DProps)
chart2DProps - The Chart2DProperties object to use.public void setLegendLabelsTexts(java.lang.String[] texts)
texts - The texts for the legend labels.public void setChartDatasetColors(java.awt.Color[] colors)
colors - The colors to use for the data sets.public void setChartDatasetCustomizeGreatestValue(boolean customize)
customize - If true, the greatest value of the data will be
customized.public void setChartDatasetCustomGreatestValue(float value)
value - The custom greatest value of the data sets.public void setChartDatasetCustomizeLeastValue(boolean customize)
customize - If true, the least value of the data will be
customized.public void setChartDatasetCustomLeastValue(float value)
value - The custom least value of the data sets.public void setChartGraphableToAvailableRatio(float ratio)
ratio - The ratio of usable to available of the graph.public void setLabelsAxisTicksAlignment(int alignment)
alignment - The alignment of the labels axis ticks.public void setLabelsAxisLabelsTexts(java.lang.String[] texts)
texts - The texts of the labels axis labels.public void setLabelsAxisTitleExistence(boolean existence)
existence - If true, the title exists.public void setLabelsAxisTitleText(java.lang.String text)
text - The title of the labels axis.public void setLabelsAxisTitleFontPointModel(int point)
point - The model font point of the labels axis title.public void setLabelsAxisTitleFontName(java.lang.String name)
name - The name of the font of the labels axis title.public void setLabelsAxisTitleFontColor(java.awt.Color color)
color - The color of the font of the labels axis title.public void setLabelsAxisTitleFontStyle(int style)
style - The style of the font of the labels axis title.public void setLabelsAxisTitleBetweenRestGapExistence(boolean existence)
existence - If true, the gap exists.public void setLabelsAxisTitleBetweenRestGapThicknessModel(int thickness)
thickness - The model thickness of the gap.public void setLabelsAxisTicksSizeModel(java.awt.Dimension size)
size - The model size of the labels axis ticks.public void setLabelsAxisTicksColor(java.awt.Color color)
color - The color of the labels axis ticks.public void setLabelsAxisTicksOutlineExistence(boolean existence)
existence - If true, then a thin outline exists.public void setLabelsAxisTicksOutlineColor(java.awt.Color color)
color - The color of the line that outlines the labels axis ticks.public void setLabelsAxisLabelsFontPointModel(int point)
point - The model font point of the labels axis labels.public void setLabelsAxisLabelsFontName(java.lang.String name)
name - The name of the font.public void setLabelsAxisLabelsFontColor(java.awt.Color color)
color - The color of the font.public void setLabelsAxisLabelsFontStyle(int style)
style - The style of the font.public void setLabelsAxisBetweenLabelsOrTicksGapExistence(boolean existence)
existence - If true, the gap exists.public void setLabelsAxisBetweenLabelsOrTicksGapThicknessModel(int thickness)
thicknss - The model thickness of the gap.public void setLabelsAxisBetweenLabelsAndTicksGapExistence(boolean existence)
existence - If true, the gap exists.public void setLabelsAxisBetweenLabelsAndTicksGapThicknessModel(int thickness)
thickness - The model thickness of the gap.public void setNumbersAxisTitleExistence(boolean existence)
existence - If true, the title exists.public void setNumbersAxisTitleText(java.lang.String text)
text - The title of the numbers axis.public void setNumbersAxisTitleFontPointModel(int point)
point - The model font point of the numbers axis title.public void setNumbersAxisTitleFontName(java.lang.String name)
name - The name of the font of the numbers axis title.public void setNumbersAxisTitleFontColor(java.awt.Color color)
color - The color of the font of the numbers axis title.public void setNumbersAxisTitleFontStyle(int style)
style - The style of the font of the numbers axis title.public void setNumbersAxisTitleBetweenRestGapExistence(boolean existence)
existence - If true, the gap exists.public void setNumbersAxisTitleBetweenRestGapThicknessModel(int thickness)
thickness - The model thickness of the gap.public void setNumbersAxisTicksSizeModel(java.awt.Dimension size)
size - The model size of the numbers axis ticks.public void setNumbersAxisTicksColor(java.awt.Color color)
color - The color of the numbers axis ticks.public void setNumbersAxisTicksOutlineExistence(boolean existence)
existence - If true, then a thin outline exists.public void setNumbersAxisTicksOutlineColor(java.awt.Color color)
color - The color of the line that outliens the numbers axis ticks.public void setNumbersAxisNumLabels(int num)
num - The number of labels in the numbers axis.public void setNumbersAxisLabelsFontPointModel(int point)
point - The model font point of the numbers axis labels.public void setNumbersAxisLabelsFontName(java.lang.String name)
name - The name of the font.public void setNumbersAxisLabelsFontColor(java.awt.Color color)
color - The color of the font.public void setNumbersAxisLabelsFontStyle(int style)
style - The style of the font.public void setNumbersAxisBetweenLabelsOrTicksGapExistence(boolean existence)
existence - If true, the gap exists.public void setNumbersAxisBetweenLabelsOrTicksGapThicknessModel(int thickness)
thicknss - The model thickness of the gap.public void setNumbersAxisBetweenLabelsAndTicksGapExistence(boolean existence)
existence - If true, the gap exists.public void setNumbersAxisBetweenLabelsAndTicksGapThicknessModel(int thickness)
thickness - The model thickness of the gap.public void setGraphOverlayOrder(int order)
order - The order in which graphs should be displayed.public void setGraphOverlayOrderCustom(int[] order)
order - The definition of the custom ordering of the graphs.public void setValidateOnUpdate(boolean validate)
validate - If true, then the properties will be validated every time
they are used to update a chart.public Chart2DProperties getChart2DProperties()
public java.util.Vector getGraphChart2DVector()
public java.util.Vector getGraphPropertiesVector()
public java.lang.String[] getLegendLabelsTexts()
public java.awt.Color[] getChartDatasetColors()
public boolean getChartDatasetCustomizeGreatestValue()
public float getChartDatasetCustomGreatestValue()
public boolean getChartDatasetCustomizeLeastValue()
public float getChartDatasetCustomLeastValue()
public float getChartGraphableToAvailableRatio()
public int getLabelsAxisTicksAlignment()
public java.lang.String[] getLabelsAxisLabelsTexts()
public boolean getLabelsAxisTitleExistence()
public java.lang.String getLabelsAxisTitleText()
public int getLabelsAxisTitleFontPointModel()
public java.lang.String getLabelsAxisTitleFontName()
public java.awt.Color getLabelsAxisTitleFontColor()
public int getLabelsAxisTitleFontStyle()
public boolean getLabelsAxisTitleBetweenRestGapExistence()
public int getLabelsAxisTitleBetweenRestGapThicknessModel()
public java.awt.Dimension getLabelsAxisTicksSizeModel()
public java.awt.Color getLabelsAxisTicksColor()
public boolean getLabelsAxisTicksOutlineExistence()
public java.awt.Color getLabelsAxisTicksOutlineColor()
public int getLabelsAxisLabelsFontPointModel()
public java.lang.String getLabelsAxisLabelsFontName()
public java.awt.Color getLabelsAxisLabelsFontColor()
public int getLabelsAxisLabelsFontStyle()
public boolean getLabelsAxisBetweenLabelsOrTicksGapExistence()
public int getLabelsAxisBetweenLabelsOrTicksGapThicknessModel()
public boolean getLabelsAxisBetweenLabelsAndTicksGapExistence()
public int getLabelsAxisBetweenLabelsAndTicksGapThicknessModel()
public boolean getNumbersAxisTitleExistence()
public java.lang.String getNumbersAxisTitleText()
public int getNumbersAxisTitleFontPointModel()
public java.lang.String getNumbersAxisTitleFontName()
public java.awt.Color getNumbersAxisTitleFontColor()
public int getNumbersAxisTitleFontStyle()
public boolean getNumbersAxisTitleBetweenRestGapExistence()
public int getNumbersAxisTitleBetweenRestGapThicknessModel()
public java.awt.Dimension getNumbersAxisTicksSizeModel()
public java.awt.Color getNumbersAxisTicksColor()
public boolean getNumbersAxisTicksOutlineExistence()
public java.awt.Color getNumbersAxisTicksOutlineColor()
public int getNumbersAxisNumLabels()
public int getNumbersAxisLabelsFontPointModel()
public java.lang.String getNumbersAxisLabelsFontName()
public java.awt.Color getNumbersAxisLabelsFontColor()
public int getNumbersAxisLabelsFontStyle()
public boolean getNumbersAxisBetweenLabelsOrTicksGapExistence()
public int getNumbersAxisBetweenLabelsOrTicksGapThicknessModel()
public boolean getNumbersAxisBetweenLabelsAndTicksGapExistence()
public int getNumbersAxisBetweenLabelsAndTicksGapThicknessModel()
public int getGraphOverlayOrder()
public int[] getGraphOverlayOrderCustom()
public boolean getValidateOnUpdate()
public void addGraphProperties(GraphProperties graphProps)
graphProps - The graph to add to this chart.public int removeGraphProperties()
public boolean validate(boolean debug)
debug - If true, then debug messages will be printed.boolean getGraphChart2DNeedsUpdate(GraphChart2D graphChart2D)
graphChart2D - The object that is not updated.void updateGraphChart2D(GraphChart2D graphChart2D)
graphChart2D - The object to update.void addGraphChart2D(GraphChart2D graphChart2D)
graphChart2D - The object to use these properties.void removeGraphChart2D(GraphChart2D graphChart2D)
graphChart2D - The object to not use these properties.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||