| java.lang.Object net.sourceforge.chart2d.Area net.sourceforge.chart2d.FontArea net.sourceforge.chart2d.TitledArea net.sourceforge.chart2d.ChartArea net.sourceforge.chart2d.GraphChartArea net.sourceforge.chart2d.LLChartArea
LLChartArea | final class LLChartArea extends GraphChartArea (Code) | | A graph chart with the data category lables located along the left of the
graph chart. A graph chart is a bar chart, a line chart, a scatter plot
chart or any combination (i.e. any chart where data is represented in a
cartesian coordinate system). This class is particulary suited for a
horizontal bar chart. This class manages the xAxis, yAxis, legend,
and graph areas of the chart. This class cannot be added to a content pane;
if that is desired, use LLChart2D. This class is for custom painting, such
as custom painting a JComponent (i.e. overriding the
paintComponent (Graphics g) method). For customizing the LLChart2D class
to use with your data set and needs, you'll have to get this class
LLChartArea. You'll have to pass it your data sets in an array at least.
You'll also want to set the title of this class, and also get its
yAxis and other parts for setting their titles, labels, and so on.
|
Constructor Summary | |
| LLChartArea() Creates LLChartArea with GraphChartArea's defaults, and its defaults. |
LLChartArea | LLChartArea()(Code) | | Creates LLChartArea with GraphChartArea's defaults, and its defaults.
|
getLLChartAreaNeedsUpdate | final boolean getLLChartAreaNeedsUpdate()(Code) | | Indicates whether some property of this class has changed.
True if some property has changed. |
getPrefSize | final Dimension getPrefSize(Graphics2D g2D)(Code) | | Returns the minimum size that the chart would need if it was to be redrawn,
the "preferred" size. The preferred size is the minimum size which would
need to be set as the maxmodel size of the chart, if the chart was to be
redrawn (assuming magnification is disabled).
Parameters: g2D - The graphics context for calculations and painting. The size of the minimum maxmodel for a redraw. |
paintComponent | final void paintComponent(Graphics2D g2D)(Code) | | Paints all the components of this class. First all variables are updated.
Parameters: g2D - The graphics context for calculations and painting. |
resetLLChartAreaModel | final void resetLLChartAreaModel(boolean reset)(Code) | | Resets the model for this class. The model is used for shrinking and
growing of its components based on the maximum size of this class. If this
method is called, then the next time the maximum size is set, this classes
model maximum size will be made equal to the new maximum size. Effectively
what this does is ensure that whenever this objects maximum size is equal
to the one given, then all of the components will take on their default
model sizes. Note: This is only useful when auto model max sizing is
disabled.
Parameters: reset - True causes the max model to be reset upon next max sizing. |
updateLLChartArea | final void updateLLChartArea(Graphics2D g2D)(Code) | | Updates this parent's variables, and this' variables.
Parameters: g2D - The graphics context to use for calculations. |
Methods inherited from net.sourceforge.chart2d.Area | final int applyRatio(int model, float ratio)(Code)(Java Doc) final boolean getAreaNeedsUpdate()(Code)(Java Doc) final boolean getAutoSize(int which)(Code)(Java Doc) final Color getBackgroundColor()(Code)(Java Doc) final boolean getBackgroundExistence()(Code)(Java Doc) final Color getBorderColor()(Code)(Java Doc) final Color getBorderColor(int which)(Code)(Java Doc) final boolean getBorderExistence()(Code)(Java Doc) final boolean getBorderExistence(int which)(Code)(Java Doc) final int getBorderThickness(int which)(Code)(Java Doc) final int getBorderThickness()(Code)(Java Doc) final int getBorderThicknessModel()(Code)(Java Doc) final int getBorderThicknessModel(int which)(Code)(Java Doc) final boolean getGapExistence()(Code)(Java Doc) final boolean getGapExistence(int which)(Code)(Java Doc) final int getGapThickness()(Code)(Java Doc) final int getGapThickness(int which)(Code)(Java Doc) final int getGapThicknessModel()(Code)(Java Doc) final int getJustifications(int which)(Code)(Java Doc) int getLightSource()(Code)(Java Doc) final int getOffsetThickness()(Code)(Java Doc) final float getRatio(int which)(Code)(Java Doc) final boolean getResetAreaModel()(Code)(Java Doc) final Dimension getSize(int which)(Code)(Java Doc) final Point getSizeLocation(int which)(Code)(Java Doc) final Dimension getSpaceSize(int which)(Code)(Java Doc) final Point getSpaceSizeLocation(int which)(Code)(Java Doc) void paintComponent(Graphics2D g2D)(Code)(Java Doc) final void resetAreaModel(boolean reset)(Code)(Java Doc) final void setAutoJustifys(boolean horizontal, boolean vertical)(Code)(Java Doc) final void setAutoSizes(boolean maxModel, boolean min)(Code)(Java Doc) final void setBackgroundColor(Color color)(Code)(Java Doc) final void setBackgroundExistence(boolean existence)(Code)(Java Doc) final void setBorderAssociations(boolean leftRight, boolean leftTop, boolean leftBottom, boolean rightTop, boolean rightBottom, boolean topBottom)(Code)(Java Doc) final void setBorderColor(Color color)(Code)(Java Doc) final void setBorderColors(Color left, Color right, Color top, Color bottom)(Code)(Java Doc) final void setBorderCornerAssociations(int leftTop, int leftBottom, int rightTop, int rightBottom)(Code)(Java Doc) final void setBorderExistence(boolean existences)(Code)(Java Doc) final void setBorderExistences(boolean left, boolean right, boolean top, boolean bottom)(Code)(Java Doc) final void setBorderThicknessModel(int thickness)(Code)(Java Doc) final void setBorderThicknessModels(int left, int right, int top, int bottom)(Code)(Java Doc) final void setCustomRatio(int which, boolean customize, float ratio)(Code)(Java Doc) final void setGapAssociations(boolean leftRight, boolean leftTop, boolean leftBottom, boolean rightTop, boolean rightBottom, boolean topBottom)(Code)(Java Doc) final void setGapExistence(boolean existence)(Code)(Java Doc) final void setGapExistences(boolean left, boolean right, boolean top, boolean bottom)(Code)(Java Doc) final void setGapThicknessModel(int thickness)(Code)(Java Doc) final void setGapThicknessModels(int left, int right, int top, int bottom)(Code)(Java Doc) final void setJustifications(int horizontal, int vertical)(Code)(Java Doc) void setLightSource(int source)(Code)(Java Doc) final void setLockRatios(boolean lock)(Code)(Java Doc) final void setSize(int which, Dimension size)(Code)(Java Doc) final void setSizeLocation(int which, Point location)(Code)(Java Doc) final void setSpaceSize(int which, Dimension size)(Code)(Java Doc) final void setSpaceSizeLocation(int which, Point location)(Code)(Java Doc) final void updateArea()(Code)(Java Doc)
|
|
|