|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart.PlotArea
PlotArea
is a utility class used inside JCChart
to
represent the background of the ChartArea
.
Field Summary | |
protected com.klg.jclass.chart.DerivedInt |
bottom
|
protected com.klg.jclass.util.ImageMapInfo |
imageMapInfo
The image map information for the PlotArea . |
protected com.klg.jclass.chart.DerivedInt |
left
|
protected com.klg.jclass.chart.ChartRegion |
parent
Connetion to the chart region on which the PlotArea appears. |
protected com.klg.jclass.chart.DerivedInt |
right
|
protected com.klg.jclass.chart.DerivedInt |
top
|
Constructor Summary | |
PlotArea()
|
|
PlotArea(com.klg.jclass.chart.ChartRegion p)
Constructor that connects the PlotArea to a
parent ChartRegion . |
Method Summary | |
Color |
getBackground()
Gets the value of the Background property. |
int |
getBottom()
Gets the value of the Bottom property. |
boolean |
getBottomIsDefault()
Gets the value of the BottomIsDefault property. |
Color |
getForeground()
Gets the value of the Foreground property. |
com.klg.jclass.util.ImageMapInfo |
getImageMapInfo()
Retrieve the image map information for this PlotArea . |
int |
getLeft()
Gets the value of the Left property. |
boolean |
getLeftIsDefault()
Gets the value of the LeftIsDefault property. |
com.klg.jclass.chart.ChartRegion |
getParent()
Gets the ChartArea that contains this Plot Area. |
int |
getRight()
Gets the value of the Right property. |
boolean |
getRightIsDefault()
Gets the value of the RightIsDefault property. |
int |
getTop()
Gets the value of the Top property. |
boolean |
getTopIsDefault()
Gets the value of the TopIsDefault property. |
void |
setBackground(Color c)
Sets the value of the Background property. |
void |
setBottom(int t)
Sets the value of the Bottom property. |
void |
setBottomIsDefault(boolean d)
Sets the value of the BottomIsDefault property. |
void |
setForeground(Color c)
Sets the value of the Foreground property. |
void |
setImageMapInfo(com.klg.jclass.util.ImageMapInfo imageMapInfo)
Set the image map information for this PlotArea . |
void |
setLeft(int t)
Sets the value of the Left property. |
void |
setLeftIsDefault(boolean d)
Sets the value of the LeftIsDefault property. |
void |
setRight(int t)
Sets the value of the Right property. |
void |
setRightIsDefault(boolean d)
Sets the value of the RightIsDefault property. |
void |
setTop(int t)
Sets the value of the Top property. |
void |
setTopIsDefault(boolean d)
Sets the value of the TopIsDefault property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.klg.jclass.chart.DerivedInt left
protected com.klg.jclass.chart.DerivedInt top
protected com.klg.jclass.chart.DerivedInt bottom
protected com.klg.jclass.chart.DerivedInt right
protected com.klg.jclass.util.ImageMapInfo imageMapInfo
PlotArea
.
protected com.klg.jclass.chart.ChartRegion parent
PlotArea
appears.
Constructor Detail |
public PlotArea()
public PlotArea(com.klg.jclass.chart.ChartRegion p)
PlotArea
to a
parent ChartRegion
.
p
- parent chart regionMethod Detail |
public Color getForeground()
Foreground
property. The
Foreground
property determines the color used to draw the axis
bounding box controlled by JCChartArea
. Foreground
property is inherited from the parent
ChartRegion
.
public void setForeground(Color c)
Foreground
property. The
Foreground
property determines the color used to draw the axis
bounding box controlled by JCChartArea
. Foreground
property is inherited from the parent
ChartRegion
.
c
- color used to draw the axis bounding boxJCChartArea.setAxisBoundingBox(boolean)
public Color getBackground()
Background
property. The
Background
property determines the background color used to
draw inside the chart region. The Background
property is
derived as follows:
If the property has been set by a user, that value is used.
Otherwise, it is inherited from the object's parent. If the parent
is null, null is returned.
public void setBackground(Color c)
Background
property. The
Background
property determines the foreground color used to
draw inside the chart region. Background
property is inherited from the parent ChartRegion
.
Also note that the Opaque
property of the parent
JCChartArea
object needs to be set to true
for the
background color to be visible. JCChartArea
is transparent
by default.
c
- background color used to draw the chart regionpublic void setTop(int t)
Top
property.
The Top
property determines the location of the
top of the ChartRegion
.
t
- top value in pixelspublic int getTop()
Top
property.
The Top
property determines the location of the
top of the ChartRegion
.
public void setTopIsDefault(boolean d)
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
).
d
- true
if the position is to be calculated,
false
otherwisepublic boolean getTopIsDefault()
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
).
true
if the position is to be calculated,
false
otherwisepublic void setLeft(int t)
Left
property.
The Left
property determines the location of the
left of the ChartRegion
.
t
- left value in pixelspublic int getLeft()
Left
property.
The Left
property determines the location of the
left of the ChartRegion
.
public void setLeftIsDefault(boolean d)
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
).
d
- true
if the position is to be calculated,
false
otherwisepublic boolean getLeftIsDefault()
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
).
true
if the position is to be calculated,
false
otherwisepublic void setBottom(int t)
Bottom
property.
The Bottom
property determines the bottom of the
ChartRegion
.
t
- bottom value in pixelspublic int getBottom()
Bottom
property.
The Bottom
property determines the location of the
bottom of the ChartRegion
.
public void setBottomIsDefault(boolean d)
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
).
d
- true
if the bottom is to be calculated;
false
otherwisepublic boolean getBottomIsDefault()
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
).
true
if the bottom is to be calculated;
false
otherwisepublic void setRight(int t)
Right
property.
The Right
property determines the right of the
ChartRegion
.
t
- right value in pixelspublic int getRight()
Right
property.
The Right
property determines the location of the
right of the ChartRegion
.
public void setRightIsDefault(boolean d)
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
).
d
- true
if the right is to be calculated;
false
otherwisepublic boolean getRightIsDefault()
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
).
true
if the right is to be calculated;
false
otherwisepublic com.klg.jclass.chart.ChartRegion getParent()
ChartArea
that contains this Plot Area.
ChartRegion
public com.klg.jclass.util.ImageMapInfo getImageMapInfo()
PlotArea
.
public void setImageMapInfo(com.klg.jclass.util.ImageMapInfo imageMapInfo)
PlotArea
.
imageMapInfo
- The new image map information.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |