com.steema.teechart
Class Walls

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.Walls

public class Walls
extends TeeBase

Title: Walls class

Description: Chart Walls. Accesses Wall and overall Wall display characteristics

Copyright (c) 2005-2012 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Nested Class Summary
 class Walls.BackWall
           Title: BackWall class Description: Wall Panel at rear of Chart Copyright (c) 2005-2013 by Steema Software SL.
 class Walls.BottomWall
           Title: BottomWall class Description: Wall Panel at bottom of Chart.
 class Walls.LeftWall
           Title: LeftWall class Description: Wall Panel at left of Chart Copyright (c) 2005-2013 by Steema Software SL.
 class Walls.RightWall
           Title: RightWall class Description: Wall Panel at right of Chart.
 
Field Summary
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
Walls(IBaseChart c)
           
 
Method Summary
 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.
 Walls.BottomWall getBottom()
          Defines the pen and brush used to fill the bottom chart side.
 Walls.LeftWall getLeft()
          Defines the Pen and Brush used to fill the left chart side.
 Walls.RightWall getRight()
          Defines the pen and brush used to fill the right chart side.
 boolean getView3D()
          Shows all Chart walls in 3D.
 boolean getVisible()
          Shows / Hides all Chart walls.
 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.
 void setVisible(boolean value)
          Shows / Hides all Chart walls.
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Walls

public Walls(IBaseChart c)
Method Detail

getLeft

public 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.

Returns:
LeftWall

setLeft

public void setLeft(Walls.LeftWall value)
Defines the pen and brush used to fill the Left chart side.

Parameters:
value -

getRight

public 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.

Returns:
RightWall

setRight

public void setRight(Walls.RightWall value)
Defines the pen and brush used to fill the Right chart side.

Parameters:
value -

getBack

public 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.

Returns:
BackWall

setBack

public void setBack(Walls.BackWall value)
Defines the pen and brush used to fill the back chart side.

Parameters:
value -

getBottom

public 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.

Returns:
BottomWall

setBottom

public void setBottom(Walls.BottomWall value)
Defines the pen and brush used to fill the bottom chart side.

Parameters:
value -

getVisible

public 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.
Default value: true

Returns:
boolean

setVisible

public void setVisible(boolean value)
Shows / Hides all Chart walls.
Default value: true

Parameters:
value - boolean

getView3D

public boolean getView3D()
Shows all Chart walls in 3D.
Default value: true

Returns:
boolean

setView3D

public void setView3D(boolean value)
Shows all Chart walls in 3D when true.
Default value: true

Parameters:
value - boolean

paint

public void paint(IGraphics3D g,
                  Rectangle r)
Paints walls at rectangle r.

Parameters:
g - IGraphics3D
r - Rectangle

calcWallSize

public int calcWallSize(Axis a)
Calculates the Wall thickness of the specified Axis.

Parameters:
a - Axis
Returns:
int

setSize

public void setSize(int value)

setChart

public void setChart(IBaseChart value)
Description copied from class: TeeBase
Chart associated with this object.

Overrides:
setChart in class TeeBase
Parameters:
value - IBaseChart