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).


Constructor Index

 o PlotArea(ChartCanvas)
Constructor that connects the PlotArea to a parent ChartCanvas.

Method Index

 o getBackground()
Gets the value of the Background property.
 o getBottom()
Gets the value of the Bottom property.
 o getBottomIsDefault()
Gets the value of the BottomIsDefault property.
 o getForeground()
Gets the value of the Foreground property.
 o getLeft()
Gets the value of the Left property.
 o getLeftIsDefault()
Gets the value of the LeftIsDefault property.
 o getRight()
Gets the value of the Right property.
 o getRightIsDefault()
Gets the value of the RightIsDefault property.
 o getTop()
Gets the value of the Top property.
 o getTopIsDefault()
Gets the value of the TopIsDefault property.
 o setBackground(Color)
Sets the value of the Background property.
 o setBottom(int)
Sets the value of the Bottom property.
 o setBottomIsDefault(boolean)
Sets the value of the BottomIsDefault property.
 o setForeground(Color)
Sets the value of the Foreground property.
 o setLeft(int)
Sets the value of the Left property.
 o setLeftIsDefault(boolean)
Sets the value of the LeftIsDefault property.
 o setRight(int)
Sets the value of the Right property.
 o setRightIsDefault(boolean)
Sets the value of the RightIsDefault property.
 o setTop(int)
Sets the value of the Top property.
 o setTopIsDefault(boolean)
Sets the value of the TopIsDefault property.

Constructors

 o PlotArea
  public PlotArea(ChartCanvas p)
Constructor that connects the PlotArea to a parent ChartCanvas.

Parameters:
p - Parent chart canvas.

Methods

 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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