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 JCSerializable
PlotArea is a utility class used inside JCChart to
represent the background of the ChartArea.
Properties
Name |
Method |
Foreground
|
The Foreground property determines the foreground color used to draw
inside the chart region. Note that the Foreground property is inherited
from the parent ChartCanvas.
|
Background
|
The Background property determines the foreground color used to draw
inside the chart region. Note that the Background property is inherited
from the parent ChartCanvas.
|
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(ChartCanvas)
- Constructor that connects the PlotArea to a
parent ChartCanvas.
-
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.
-
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.
-
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(ChartCanvas p)
- Constructor that connects the PlotArea to a
parent ChartCanvas.
- Parameters:
- p - Parent chart canvas.
getForeground
public Color getForeground()
- Gets the value of the Foreground property. The Foreground
property determines the foreground color used to draw inside
the chart region. Note that the Foreground property is
inherited from the parent ChartCanvas.
- Returns:
- Foreground color used to draw the chart region.
setForeground
public synchronized void setForeground(Color c)
- Sets the value of the Foreground property. The Foreground
property determines the foreground color used to draw inside
the chart region. Note that the Foreground property is
inherited from the parent ChartCanvas.
- Parameters:
- c - Foreground color used to draw the chart region.
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 ChartCanvas.
- Returns:
- Background color used to draw the chart region.
setBackground
public synchronized 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 ChartCanvas.
- Parameters:
- c - Background color used to draw the chart region.
setTop
public synchronized 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 synchronized 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 synchronized 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 synchronized 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 synchronized 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 synchronized 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 synchronized 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 synchronized 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.
All Packages Class Hierarchy This Package Previous Next Index