|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.Shadow
public class Shadow
Title: Shadow class
Description: Properties to draw a shadow.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Field Summary | |
|---|---|
protected ChartBrush |
bBrush
|
protected boolean |
bVisible
|
protected Color |
defaultColor
|
protected int |
defaultSize
|
protected boolean |
defaultVisible
|
| Fields inherited from class com.steema.teechart.TeeBase |
|---|
chart |
| Constructor Summary | |
|---|---|
Shadow(IBaseChart c)
Shadow Constructor. |
|
Shadow(IBaseChart c,
int size)
Shadow constructor, defines Shadow size. |
|
Shadow(IBaseChart c,
int size,
Color color)
Shadow constructor, defines initial size and color |
|
| Method Summary | |
|---|---|
void |
assign(Shadow value)
Assigns characteristics of Shadow 'value'. |
void |
draw(IGraphics3D g,
Rectangle rect)
Draws a shadow around the Rect rectangle parameter, using the ACanvas canvas. |
void |
draw(IGraphics3D g,
Rectangle rect,
int angle,
int aZ)
Draws a shadow around the Rect rectangle parameter. |
ChartBrush |
getBrush()
Defines the Brush characteristics to fill the shadow. |
Color |
getColor()
Defines the shadow Color. |
int |
getHeight()
The vertical displacement of the shadow in pixels. |
int |
getHorizSize()
Obsolete. |
java.awt.Dimension |
getSize()
Size in pixels of shadow. |
int |
getTransparency()
The Transparency level from 0 to 100% of shadow. |
int |
getVertSize()
Obsolete. |
boolean |
getVisible()
Determines whether the shadow will appear on screen. |
int |
getWidth()
The horizontal shadow size in pixels. |
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setColor(Color value)
Defines the shadow Color. |
void |
setColor(java.awt.Color value)
|
void |
setDefaultSize(int value)
|
void |
setDefaultVisible(boolean value)
|
void |
setHeight(int value)
Sets the vertical displacement of the shadow in pixels. |
void |
setHorizSize(int value)
Obsolete. |
void |
setSize(java.awt.Dimension value)
Size in pixels of shadow. |
void |
setSize(int value)
Sets both horizontal and vertical shadow size to same value. |
void |
setTransparency(int value)
Sets Transparency level from 0 to 100% of shadow. |
void |
setVertSize(int value)
Obsolete. |
void |
setVisible(boolean value)
Determines whether the shadow will appear on screen. |
void |
setWidth(int value)
Sets the horizontal shadow size in pixels. |
protected boolean |
shouldSerializeHeight()
|
protected boolean |
shouldSerializeVisible()
|
protected boolean |
shouldSerializeWidth()
|
| Methods inherited from class com.steema.teechart.TeeBase |
|---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ChartBrush bBrush
protected boolean bVisible
protected transient boolean defaultVisible
protected transient int defaultSize
protected transient Color defaultColor
| Constructor Detail |
|---|
public Shadow(IBaseChart c)
c - IBaseChart
public Shadow(IBaseChart c,
int size)
c - IBaseChartsize - int
public Shadow(IBaseChart c,
int size,
Color color)
c - IBaseChartsize - intcolor - Color| Method Detail |
|---|
public void assign(Shadow value)
value - Shadowpublic Color getColor()
public void setColor(Color value)
value - Colorpublic void setColor(java.awt.Color value)
public void setDefaultSize(int value)
public void setDefaultVisible(boolean value)
protected boolean shouldSerializeHeight()
public int getTransparency()
public void setTransparency(int value)
value - intpublic int getHeight()
public void setHeight(int value)
value - intpublic int getHorizSize()
public void setHorizSize(int value)
value - intpublic int getVertSize()
public void setVertSize(int value)
value - intprotected boolean shouldSerializeWidth()
public int getWidth()
public void setWidth(int value)
value - intpublic ChartBrush getBrush()
public java.awt.Dimension getSize()
public void setSize(int value)
value - intpublic void setSize(java.awt.Dimension value)
value - Dimensionprotected boolean shouldSerializeVisible()
public boolean getVisible()
public void setVisible(boolean value)
value - boolean
public void draw(IGraphics3D g,
Rectangle rect)
g - IGraphics3Drect - Rectangle
public void draw(IGraphics3D g,
Rectangle rect,
int angle,
int aZ)
g - IGraphics3Drect - Rectangleangle - intaZ - intpublic void setChart(IBaseChart c)
TeeBase
setChart in class TeeBasec - IBaseChart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||