public class Walls extends TeeBase
Title: Walls class
Description: Chart Walls. Accesses Wall and overall Wall display characteristics
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
class |
Walls.BackWall
Title: BackWall class
|
class |
Walls.BottomWall
Title: BottomWall class
|
class |
Walls.LeftWall
Title: LeftWall class
|
class |
Walls.RightWall
Title: RightWall class
|
chart, InternalUse
Constructor and Description |
---|
Walls(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
int |
calcWallSize(Axis a)
Calculates the Wall thickness of the specified Axis.
|
Walls.BackWall |
getBack()
Defines the pen and brush used to fill the back chart side.
Available IWall properties are Brush, Color, Dark3D, Gradient, Pen, Size and Transparent. tChart.Aspect.View3D and tChart.Walls.Visible should be true to use tChart.Walls.Back, tChart.Walls.Bottom, tChart.Walls.Left and tChart.Walls.Right. |
Walls.BottomWall |
getBottom()
Defines the pen and brush used to fill the bottom chart side.
Available IWall properties are Brush, Color, Dark3D, Gradient, Pen, Size and Transparent. tChart.Aspect.View3D and tChart.Walls.Visible should be true to use tChart.Walls.Back, tChart.Walls.Bottom, tChart.Walls.Left and tChart.Walls.Right. |
Walls.LeftWall |
getLeft()
Defines the Pen and Brush used to fill the left chart side.
Available IWall properties are Brush, Color, Dark3D, Gradient, Pen, Size and Transparent. tChart.Aspect.View3D and tChart.Walls.Visible should be true to use tChart.Walls.Back, tChart.Walls.Bottom, tChart.Walls.Left and tChart.Walls.Right. |
Walls.RightWall |
getRight()
Defines the pen and brush used to fill the right chart side.
Available IWall properties are Brush, Color, Dark3D, Gradient, Pen, Size and Transparent. tChart.Aspect.View3D and tChart.Walls.Visible should be true to use tChart.Walls.Back, tChart.Walls.Bottom, tChart.Walls.Left and tChart.Walls.Right. |
boolean |
getView3D()
Shows all Chart walls in 3D.
Default value: true |
boolean |
getVisible()
Shows / Hides all Chart walls.
Visible draws Left and Bottom "walls" to simulate 3D effect. You can control the 3D Wall proportion by using Chart.Aspect.Chart3DPercent. Chart.Aspect.View3D controls (on/off) Walls.Visible. |
void |
paint(IGraphics3D g,
Rectangle r)
Paints walls at rectangle r.
|
void |
setBack(Walls.BackWall value)
Defines the pen and brush used to fill the back chart side.
|
void |
setBottom(Walls.BottomWall value)
Defines the pen and brush used to fill the bottom chart side.
|
void |
setChart(IBaseChart value)
Chart associated with this object.
|
void |
setLeft(Walls.LeftWall value)
Defines the pen and brush used to fill the Left chart side.
|
void |
setRight(Walls.RightWall value)
Defines the pen and brush used to fill the Right chart side.
|
void |
setSize(int value) |
void |
setView3D(boolean value)
Shows all Chart walls in 3D when true.
Default value: true |
void |
setVisible(boolean value)
Shows / Hides all Chart walls.
Default value: true |
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public Walls(IBaseChart c)
public Walls.LeftWall getLeft()
public void setLeft(Walls.LeftWall value)
value
- public Walls.RightWall getRight()
public void setRight(Walls.RightWall value)
value
- public Walls.BackWall getBack()
public void setBack(Walls.BackWall value)
value
- public Walls.BottomWall getBottom()
public void setBottom(Walls.BottomWall value)
value
- public boolean getVisible()
public void setVisible(boolean value)
value
- booleanpublic boolean getView3D()
public void setView3D(boolean value)
value
- booleanpublic void paint(IGraphics3D g, Rectangle r)
g
- IGraphics3Dr
- Rectanglepublic int calcWallSize(Axis a)
a
- Axispublic void setSize(int value)
public void setChart(IBaseChart value)
TeeBase