|
||||||||||
| 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.Shape
public class Shape
Title: Shape class
Description: Base class for Chart Shape elements
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Field Summary | |
|---|---|
protected Bevel |
bBevel
|
protected int |
bBorderRound
|
protected ChartBrush |
bBrush
|
protected ImageBevel |
bImageBevel
|
protected boolean |
bTransparent
|
protected boolean |
defaultVisible
|
protected ChartPen |
pPen
|
protected Shadow |
shadow
|
protected Rectangle |
shapeBounds
|
protected boolean |
visible
|
| Fields inherited from class com.steema.teechart.TeeBase |
|---|
chart |
| Constructor Summary | |
|---|---|
Shape()
|
|
Shape(IBaseChart c)
|
|
| Method Summary | |
|---|---|
void |
assign(Shape s)
Assign all properties from a shape to another. |
Bevel |
getBevel()
Sets the bevel characteristics of the Shape. |
BevelStyle |
getBevelInner()
Obsolete. |
BevelStyle |
getBevelOuter()
Obsolete. |
int |
getBevelWidth()
Obsolete. |
int |
getBorderRound()
Rounds the Borders of the Chart Shapes. |
int |
getBottom()
Shape rectangle bottom co-ordinate. |
ChartBrush |
getBrush()
Defines the kind of brush used to fill shape background. |
Color |
getColor()
Defines the shape Color. |
Gradient |
getGradient()
Calls the Gradient characteristics for the shape. |
int |
getHeight()
|
java.awt.Image |
getImage()
Rendered Image for Shape background. |
ImageBevel |
getImageBevel()
Sets the bevel characteristics of the Shape. |
ImageMode |
getImageMode()
ImageMode for rendered Shape background Image. |
boolean |
getImageTransparent()
Sets the shape image to transparent. |
int |
getLeft()
Shape rectangle left co-ordinate. |
ChartPen |
getPen()
Specifies the pen used to draw the shape. |
int |
getRight()
Shape rectangle right co-ordinate. |
Shadow |
getShadow()
Defines the shape's Shadow characteristics. |
Rectangle |
getShapeBounds()
Defines the boundaries of the Shape. |
int |
getTop()
Shape rectangle top co-ordinate. |
int |
getTransparency()
The Transparency level from 0 to 100% of shape. |
boolean |
getTransparent()
Enables/disables transparency of shape. |
boolean |
getVisible()
Shows or hides the Shape. |
int |
getWidth()
|
void |
paint(IGraphics3D g,
Rectangle rect)
|
void |
setBevel(Bevel value)
Internal use - serialization |
void |
setBevelInner(BevelStyle value)
Defines the inner bevel type of the TChart Panel border. |
void |
setBevelOuter(BevelStyle value)
Defines the outer bevel type of the TChart Panel border. |
void |
setBevelWidth(int value)
Obsolete. |
void |
setBorderRound(int value)
Rounds the Borders of the Chart Shapes. |
void |
setBottom(int value)
Shape rectangle bottom co-ordinate. |
void |
setBrush(ChartBrush value)
Internal use - serialization |
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setColor(java.awt.Color value)
|
void |
setColor(Color value)
Defines the shape Color. |
void |
setDefaultVisible(boolean value)
|
void |
setHeight(int value)
|
void |
setImage(java.awt.Image value)
Sets Rendered Image for Shape background. |
void |
setImageMode(ImageMode value)
Sets the ImageMode for rendered Shape background Image. |
void |
setImageTransparent(boolean value)
|
void |
setLeft(int value)
Shape rectangle left co-ordinate. |
void |
setPen(ChartPen value)
Internal use - serialization |
void |
setRight(int value)
Shape rectangle right co-ordinate. |
void |
setShapeBounds(Rectangle value)
Defines the boundaries of the Shape. |
void |
setTop(int value)
Shape rectangle top co-ordinate. |
void |
setTransparency(int value)
Sets Transparency level from 0 to 100% of shape. |
void |
setTransparent(boolean value)
Enables/disables transparency of shape. |
void |
setVisible(boolean value)
Shows or hides the Shape. |
void |
setWidth(int value)
|
| 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 transient boolean defaultVisible
protected boolean visible
protected boolean bTransparent
protected ChartPen pPen
protected Bevel bBevel
protected Shadow shadow
protected ImageBevel bImageBevel
protected ChartBrush bBrush
protected Rectangle shapeBounds
protected int bBorderRound
| Constructor Detail |
|---|
public Shape()
public Shape(IBaseChart c)
| Method Detail |
|---|
public Rectangle getShapeBounds()
public void setShapeBounds(Rectangle value)
value - Rectanglepublic BevelStyle getBevelInner()
public void setBevelInner(BevelStyle value)
value - BevelStylepublic int getBevelWidth()
public void setBevelWidth(int value)
value - intpublic BevelStyle getBevelOuter()
public void setBevelOuter(BevelStyle value)
value - BevelStylepublic void setChart(IBaseChart c)
setChart in class TeeBasec - IBaseChartpublic ImageBevel getImageBevel()
public Bevel getBevel()
public void setBevel(Bevel value)
public Shadow getShadow()
public ChartBrush getBrush()
public void setBrush(ChartBrush value)
public int getBorderRound()
public void setBorderRound(int value)
value - intpublic java.awt.Image getImage()
public void setDefaultVisible(boolean value)
public void setImage(java.awt.Image value)
value - Imagepublic ImageMode getImageMode()
public void setImageMode(ImageMode value)
value - ImageModepublic boolean getImageTransparent()
public void setImageTransparent(boolean value)
public Color getColor()
public void setColor(java.awt.Color value)
public void setColor(Color value)
value - Colorpublic Gradient getGradient()
public boolean getVisible()
public void setVisible(boolean value)
value - booleanpublic boolean getTransparent()
getTransparency()public void setTransparent(boolean value)
value - booleanpublic ChartPen getPen()
public void setPen(ChartPen value)
public int getLeft()
public void setLeft(int value)
public int getTop()
public void setTop(int value)
value - intpublic int getRight()
public void setRight(int value)
value - intpublic int getBottom()
public void setBottom(int value)
value - intpublic int getHeight()
public void setHeight(int value)
public int getWidth()
public void setWidth(int value)
public void assign(Shape s)
s - Shape
public void paint(IGraphics3D g,
Rectangle rect)
public int getTransparency()
public void setTransparency(int value)
value - int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||