|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.sourceforge.chart2d.Area
|
+--net.sourceforge.chart2d.FontArea
|
+--net.sourceforge.chart2d.TitledArea
|
+--net.sourceforge.chart2d.ChartArea
|
+--net.sourceforge.chart2d.GraphChartArea
A container containing information and components for cartesian coordinate charts. That is, charts that are plotted on a parralelogram surface.
| Fields inherited from class net.sourceforge.chart2d.ChartArea |
DEFAULT_FLOAT, MAX_FLOAT, MAX_INTEGER |
| Fields inherited from class net.sourceforge.chart2d.Area |
BETWEEN, BOTTOM, CENTER, CENTERED, CONTINUOUS, DASHED, DOTTED, FLOAT, HEIGHT, HORIZONTAL, INTEGER, LABELSBOTTOM, LABELSLEFT, LEFT, LEFTBOTTOM, LEFTRIGHT, LEFTTOP, LESSER, MAX, MAXMODEL, MIN, RIGHT, RIGHTBOTTOM, RIGHTTOP, TOP, TOPBOTTOM, VERTICAL, WIDTH |
| Constructor Summary | |
(package private) |
GraphChartArea()
Creates a Graph Chart Area with the default values of a TitledArea, and its own default values. |
| Method Summary | |
(package private) void |
addDataset(Dataset dataset)
Adds another "dataSets" to the chart. |
(package private) void |
addGraph(GraphArea graph)
Adds another graph area to the chart. |
(package private) void |
clearDatasetVector()
Clears the dataset vector. |
(package private) float |
getCustomGreatestValue()
Gets the float value passed to setCustomGreatestValue (boolean, float). |
(package private) boolean |
getCustomizeGreatestValue()
Gets the boolean value passed to setCustomGreatestValue (boolean, float). |
(package private) boolean |
getCustomizeLeastValue()
Gets the boolean value passed to setCustomLeastValue (boolean, float). |
(package private) float |
getCustomLeastValue()
Gets the float value passed to setCustomLeastValue (boolean, float). |
(package private) java.util.Vector |
getDataSetsVector()
Returns a vector with all the data sets that were added by the addDataSets method. |
(package private) java.util.Vector |
getDatasetVector()
Returns all the Dataset objects added to this object. |
(package private) float |
getGraphableToAvailableRatio()
Returns this property in order for subclasses to have access to it. |
(package private) boolean |
getGraphChartAreaNeedsUpdate()
Indicates whether some property of this class has changed. |
(package private) int |
getGraphOverlayOrder()
Matches GraphChart2DProperties.setGraphOverlayOrder (int). |
(package private) int[] |
getGraphOverlayOrderCustom()
Matches GraphChart2DProperties.setGraphOverlayOrderCustom (int[]). |
(package private) float |
getGraphToHeightRatio()
Returns this property in order for subclasses to have access to it. |
(package private) float |
getGraphToWidthRatio()
Returns this property in order for subclasses to have access to it. |
(package private) java.util.Vector |
getGraphVector()
Returns a vector with all the graphs that were added by the addGraph method. |
(package private) float |
getNumbersAxisRangeHigh()
For accessing the range of the numbers axis. |
(package private) float |
getNumbersAxisRangeLow()
For accessing the range of the numbers axis. |
(package private) int |
getNumPlotAxisLabels()
Gets the number of labels for the plot axis. |
(package private) XAxisArea |
getXAxis()
Returns the x Axis in order to allow customizations of it. |
(package private) float |
getXAxisToHeightRatio()
Returns this property in order for subclasses to have access to it. |
(package private) float |
getXAxisToWidthRatio()
Returns this property in order for subclasses to have access to it. |
(package private) YAxisArea |
getYAxis()
Returns the y axis in order to allow customization of it. |
(package private) float |
getYAxisToHeightRatio()
Returns this property in order for subclasses to have access to it. |
(package private) float |
getYAxisToWidthRatio()
Returns this property in order for subclasses to have access to it. |
(package private) void |
paintComponent(java.awt.Graphics2D g2D)
Updates this parent's variables, and this' variables. |
(package private) void |
resetGraphChartAreaModel(boolean reset)
Resets the model for this class. |
(package private) void |
setCustomGreatestValue(boolean customize,
float value)
Influences the plot axis' label with the highest value. |
(package private) void |
setCustomLeastValue(boolean customize,
float value)
Influences the plot axis' label with the lowest value. |
(package private) void |
setGraphableToAvailableRatio(float ratio)
Specifies how much of he height of the graph to make available to the components plot area. |
(package private) void |
setGraphOverlayOrder(int which)
Matches GraphChart2DProperties.setGraphOverlayOrder (int). |
(package private) void |
setGraphOverlayOrderCustom(int[] order)
Matches GraphChart2DProperties.setGraphOverlayOrderCustom (int[]). |
(package private) void |
setGraphToHeightRatio(float ratio)
Specifies how much of the maximum height less borders, gaps, and title to make availalble to the graph maximum size. |
(package private) void |
setGraphToWidthRatio(float ratio)
Specifies how much of the maximum width less borders and gaps to make availalble to the graph maximum size. |
(package private) void |
setNumbersAxisRangeHigh(float high)
For setting the range of the numbers axis. |
(package private) void |
setNumbersAxisRangeLow(float low)
For setting the range of the numbers axis. |
(package private) void |
setNumPlotAxisLabels(int num)
Sets the number of labels for the plot axis. |
(package private) void |
setXAxisToHeightRatio(float ratio)
Specifies how much of the maximum height less borders, gaps, and title to make availalble to the x axis maximum size. |
(package private) void |
setXAxisToWidthRatio(float ratio)
Specifies how much of the maximum width less borders and gaps to make availalble to the x axis maximum size. |
(package private) void |
setYAxisToHeightRatio(float ratio)
Specifies how much of the maximum height less borders, gaps, and title to make availalble to the y axis maximum size. |
(package private) void |
setYAxisToWidthRatio(float ratio)
Specifies how much of the maximum width less borders and gaps to make availalble to the y axis maximum size. |
(package private) void |
updateGraphChartArea(java.awt.Graphics2D g2D)
Updates this parent's variables, and this' variables. |
| Methods inherited from class net.sourceforge.chart2d.FontArea |
getFont, getFontAreaNeedsUpdate, getFontColor, getFontName, getFontPointModel, getFontStyle, resetFontAreaModel, setFontColor, setFontName, setFontPointModel, setFontStyle, updateFontArea |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
GraphChartArea()
| Method Detail |
void setNumbersAxisRangeHigh(float high)
void setNumbersAxisRangeLow(float low)
float getNumbersAxisRangeHigh()
float getNumbersAxisRangeLow()
void setGraphOverlayOrder(int which)
void setGraphOverlayOrderCustom(int[] order)
int getGraphOverlayOrder()
int[] getGraphOverlayOrderCustom()
void addDataset(Dataset dataset)
dataSets - Another data set to graph.void clearDatasetVector()
java.util.Vector getDataSetsVector()
java.util.Vector getDatasetVector()
void setNumPlotAxisLabels(int num)
num - The number of plot axis labels.void setYAxisToWidthRatio(float ratio)
ratio - The ratio to the width, to make available to the y axis.void setYAxisToHeightRatio(float ratio)
ratio - The ratio to the height, to make available to the y axis.void setXAxisToWidthRatio(float ratio)
ratio - The ratio to the width, to make available to the x axis.void setXAxisToHeightRatio(float ratio)
ratio - The ratio to the height, to make available to the x axis.void setGraphToWidthRatio(float ratio)
ratio - The ratio to the width, to make available to the graph.void setGraphToHeightRatio(float ratio)
ratio - The ratio to the height, to make available to the graph.
void setCustomGreatestValue(boolean customize,
float value)
customize - Whether this value is used.value - The value to use.
void setCustomLeastValue(boolean customize,
float value)
customize - Whether this value is used.value - The value to use.void setGraphableToAvailableRatio(float ratio)
ratio - The ratio of the graph height to the greatest value in the
data set. [Must be between 0.0 and 1.0]XAxisArea getXAxis()
YAxisArea getYAxis()
void addGraph(GraphArea graph)
graph - The graph for the added dataset.java.util.Vector getGraphVector()
int getNumPlotAxisLabels()
float getYAxisToWidthRatio()
float getYAxisToHeightRatio()
float getXAxisToWidthRatio()
float getXAxisToHeightRatio()
float getGraphToWidthRatio()
float getGraphToHeightRatio()
boolean getCustomizeGreatestValue()
float getCustomGreatestValue()
boolean getCustomizeLeastValue()
float getCustomLeastValue()
float getGraphableToAvailableRatio()
boolean getGraphChartAreaNeedsUpdate()
void resetGraphChartAreaModel(boolean reset)
reset - True resets the max model upon the next max sizing.void updateGraphChartArea(java.awt.Graphics2D g2D)
g2D - The graphics context to use for calculations.void paintComponent(java.awt.Graphics2D g2D)
paintComponent in class ChartAreag2D - The graphics context to use for calculations.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||