com.jinsight.jetchart
Class Wall
java.lang.Object
|
+--com.jinsight.jetchart.Wall
- public class Wall
- extends java.lang.Object
This class implements the properties and methods of the area painted behind the chart.
It has no public constructor and can only be accessed through 'get' methods implemented
in classes ScatterGraph
and GraphSet
. The Graph
class also keeps a reference to a Wall object, which if enabled takes precedence over
the walls associated with GraphSet objects.
- See Also:
ScatterGraph
,
GraphSet
,
Graph
Constructor Summary |
Wall()
|
Method Summary |
protected void |
finalize()
|
void |
setColor(java.awt.Color color)
Sets the color of the wall. |
void |
setEnabled(boolean isEnabled)
Enables/disables wall. |
void |
setShadowColor(java.awt.Color shadowColor)
Sets wall shadow color. |
void |
setShadowEnabled(boolean isShadowEnabled)
Enables/disables a shadow behind the wall. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Wall
public Wall()
setColor
public void setColor(java.awt.Color color)
- Sets the color of the wall. The default color is white.
- Parameters:
color
- A Color object.
setEnabled
public void setEnabled(boolean isEnabled)
- Enables/disables wall.
- Parameters:
isEnabled
- A boolean value(true/false).
setShadowEnabled
public void setShadowEnabled(boolean isShadowEnabled)
- Enables/disables a shadow behind the wall.
isShadowEnabled A boolean value(true/false).
setShadowColor
public void setShadowColor(java.awt.Color shadowColor)
- Sets wall shadow color. Default color is black.
- Parameters:
shadowColor
- A Color object.
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object