All Packages Class Hierarchy This Package Previous Next Index
Class jclass.chart.PlotArea
java.lang.Object
|
+----jclass.chart.PlotArea
- public class PlotArea
- extends Object
- implements Serializable, HTMLHandler
PlotArea is a utility class used inside JCChart to
represent the background of the ChartArea.
Properties
Name |
Description |
Background
|
The Background property determines the background color used to draw
inside the chart region. Note that the Background is inherited
from the parent ChartRegion.
|
Foreground
|
The Foreground property determines the color used to draw the axis bounding
box controlled by JCChartArea. Note that the Foreground property is inherited
from the parent ChartRegion.
|
Top
|
The Top property determines the location of the
top of the PlotArea.
|
TopIsDefault
|
The TopIsDefault property determines whether the top
position of the chart region is calculated by Chart (true) or
taken from the Top property (false).
|
Left
|
The Left property determines the location of the
left of the PlotArea
|
LeftIsDefault
|
The LeftIsDefault property determines whether the left
position of the chart region is calculated by Chart (true) or
taken from the Left property (false).
|
Bottom
|
The Bottom property determines the location of the
bottom of the PlotArea
|
BottomIsDefault
|
The BottomIsDefault property determines whether the Bottom
of the chart region is calculated by Chart (true) or
taken from the Bottom property (false).
|
Right
|
The Right property determines the Right of the
PlotArea.
|
RightIsDefault
|
The RightIsDefault property determines whether the Right
of the chart region is calculated by Chart (true) or
taken from the Right property (false).
|
-
PlotArea()
-
-
PlotArea(ChartRegion)
- Constructor that connects the PlotArea to a
parent ChartRegion.
-
getBackground()
- Gets the value of the Background property.
-
getBottom()
- Gets the value of the Bottom property.
-
getBottomIsDefault()
- Gets the value of the BottomIsDefault property.
-
getForeground()
- Gets the value of the Foreground property.
-
getLeft()
- Gets the value of the Left property.
-
getLeftIsDefault()
- Gets the value of the LeftIsDefault property.
-
getParent()
- Gets ChartArea that contains this Plot Area
-
getRight()
- Gets the value of the Right property.
-
getRightIsDefault()
- Gets the value of the RightIsDefault property.
-
getTop()
- Gets the value of the Top property.
-
getTopIsDefault()
- Gets the value of the TopIsDefault property.
-
loadParams(String, JCChart)
- Load JCChart parameters from HTML file
-
saveParams(String, HTMLSaveDriver)
- Save JCChart parameters as HTML tags
-
setBackground(Color)
- Sets the value of the Background property.
-
setBottom(int)
- Sets the value of the Bottom property.
-
setBottomIsDefault(boolean)
- Sets the value of the BottomIsDefault property.
-
setForeground(Color)
- Sets the value of the Foreground property.
-
setLeft(int)
- Sets the value of the Left property.
-
setLeftIsDefault(boolean)
- Sets the value of the LeftIsDefault property.
-
setRight(int)
- Sets the value of the Right property.
-
setRightIsDefault(boolean)
- Sets the value of the RightIsDefault property.
-
setTop(int)
- Sets the value of the Top property.
-
setTopIsDefault(boolean)
- Sets the value of the TopIsDefault property.
PlotArea
public PlotArea()
PlotArea
public PlotArea(ChartRegion p)
- Constructor that connects the PlotArea to a
parent ChartRegion.
- Parameters:
- p - Parent chart region.
getForeground
public Color getForeground()
- Gets the value of the Foreground property. The Foreground
property determines the color used to draw the axis bounding
box controlled by JCChartArea. Note that the Foreground property is
inherited from the parent ChartRegion.
- Returns:
- Color used to draw the axis bounding box.
setForeground
public void setForeground(Color c)
- Sets the value of the Foreground property. The Foreground
property determines the color used to draw the axis bounding
box controlled by JCChartArea. Note that the Foreground property is
inherited from the parent ChartRegion.
- Parameters:
- c - Color used to draw the axis bounding box.
- See Also:
- setAxisBoundingBox
getBackground
public Color getBackground()
- Gets the value of the Background property. The Background
property determines the foreground color used to draw inside
the chart region. Note that the Background property is
inherited from the parent ChartRegion.
- Returns:
- Background color used to draw the chart region.
setBackground
public void setBackground(Color c)
- Sets the value of the Background property. The Background
property determines the foreground color used to draw inside
the chart region. Note that the Background property is
inherited from the parent ChartRegion.
- Parameters:
- c - Background color used to draw the chart region.
setTop
public void setTop(int t)
- Sets the value of the Top property.
The Top property determines the location of the
top of the ChartRegion.
- Parameters:
- t - top value in pixels.
getTop
public int getTop()
- Gets the value of the Top property.
The Top property determines the location of the
top of the ChartRegion.
- Returns:
- top value in pixels.
setTopIsDefault
public void setTopIsDefault(boolean d)
- Sets the value of the TopIsDefault property.
The TopIsDefault property determines whether the top
position of the chart region is calculated by Chart (true) or
taken from the Top property (false).
- Parameters:
- d - true if the position is to be calculated, false
otherwise.
getTopIsDefault
public boolean getTopIsDefault()
- Gets the value of the TopIsDefault property.
The TopIsDefault property determines whether the top
position of the chart region is calculated by Chart (true) or
taken from the Top property (false).
- Returns:
- true if the position is to be calculated, false
otherwise.
setLeft
public void setLeft(int t)
- Sets the value of the Left property.
The Left property determines the location of the
left of the ChartRegion.
- Parameters:
- t - left value in pixels.
getLeft
public int getLeft()
- Gets the value of the Left property.
The Left property determines the location of the
left of the ChartRegion.
- Returns:
- left value in pixels.
setLeftIsDefault
public void setLeftIsDefault(boolean d)
- Sets the value of the LeftIsDefault property.
The LeftIsDefault property determines whether the left
position of the chart region is calculated by Chart (true) or
taken from the Left property (false).
- Parameters:
- d - true if the position is to be calculated, false
otherwise.
getLeftIsDefault
public boolean getLeftIsDefault()
- Gets the value of the LeftIsDefault property.
The LeftIsDefault property determines whether the left
position of the chart region is calculated by Chart (true) or
taken from the Left property (false).
- Returns:
- true if the position is to be calculated, false
otherwise.
setBottom
public void setBottom(int t)
- Sets the value of the Bottom property.
The Bottom property determines the Bottom of the
ChartRegion.
- Parameters:
- t - Bottom value in pixels.
getBottom
public int getBottom()
- Gets the value of the Bottom property.
The Bottom property determines the location of the
Bottom of the ChartRegion.
- Returns:
- Bottom value in pixels.
setBottomIsDefault
public void setBottomIsDefault(boolean d)
- Sets the value of the BottomIsDefault property.
The BottomIsDefault property determines whether the Bottom
of the chart region is calculated by Chart (true) or
taken from the Bottom property (false).
- Parameters:
- d - true if the Bottom is to be calculated, false
otherwise.
getBottomIsDefault
public boolean getBottomIsDefault()
- Gets the value of the BottomIsDefault property.
The BottomIsDefault property determines whether the Bottom
of the chart region is calculated by Chart (true) or
taken from the Bottom property (false).
- Returns:
- true if the Bottom is to be calculated, false
otherwise.
setRight
public void setRight(int t)
- Sets the value of the Right property.
The Right property determines the Right of the
ChartRegion.
- Parameters:
- t - Right value in pixels.
getRight
public int getRight()
- Gets the value of the Right property.
The Right property determines the location of the
Right of the ChartRegion.
- Returns:
- Right value in pixels.
setRightIsDefault
public void setRightIsDefault(boolean d)
- Sets the value of the RightIsDefault property.
The RightIsDefault property determines whether the Right
of the chart region is calculated by Chart (true) or
taken from the Right property (false).
- Parameters:
- d - true if the Right is to be calculated, false
otherwise.
getRightIsDefault
public boolean getRightIsDefault()
- Gets the value of the RightIsDefault property.
The RightIsDefault property determines whether the Right
of the chart region is calculated by Chart (true) or
taken from the Right property (false).
- Returns:
- true if the Right is to be calculated, false
otherwise.
getParent
public ChartRegion getParent()
- Gets ChartArea that contains this Plot Area
- Returns:
- the parent ChartRegion
saveParams
public void saveParams(String name,
HTMLSaveDriver comp)
- Save JCChart parameters as HTML tags
- Parameters:
- name - the PARAM NAME
- chart - the JCChart component
loadParams
public void loadParams(String name,
JCChart comp)
- Load JCChart parameters from HTML file
- Parameters:
- name - the PARAM NAME
- chart - the JCChart component
All Packages Class Hierarchy This Package Previous Next Index