com.steema.teechart
Class Bevel

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

public class Bevel
extends TeeBase

Title: Bevel class

Description: Displays bevels (frames) around rectangles

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

Company: Steema Software SL


Field Summary
protected  BevelStyle defaultOuter
           
protected  BevelStyle inner
           
protected  BevelStyle outer
           
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
Bevel(IBaseChart c)
           
 
Method Summary
 void assign(Bevel b)
          Assigns all properties from one bevel to another.
 void draw(IGraphics3D g, Rectangle rect)
          Draws bevels around rectangle parameter.
 Color getColorOne()
          Color of left and top sides of bevels.
 Color getColorTwo()
          Color of right and bottom sides of bevels.
 BevelStyle getInner()
          Defines the inner bevel type of the TChart Panel border.
 BevelStyle getOuter()
          The outer bevel type of the TChart Panel border.
 boolean getVisible()
           
 int getWidth()
          Width of the TeeChart Panel border in pixels.
protected  java.lang.Object readResolve()
           
 void setColorOne(Color value)
          Sets the Color of left and top sides of bevels.
 void setColorTwo(Color value)
          Sets the Color of right and bottom sides of bevels.
 void setInner(BevelStyle value)
          Defines the inner bevel type of the TChart Panel border.
 void setOuter(BevelStyle value)
          Defines the outer bevel type of the TChart Panel border.
 void setVisible(boolean value)
           
 void setWidth(int value)
          Sets the width of the TeeChart Panel border in pixels.
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inner

protected BevelStyle inner

outer

protected BevelStyle outer

defaultOuter

protected transient BevelStyle defaultOuter
Constructor Detail

Bevel

public Bevel(IBaseChart c)
Method Detail

readResolve

protected java.lang.Object readResolve()

getInner

public BevelStyle getInner()
Defines the inner bevel type of the TChart Panel border.
Default value: BevelStyle.None

Returns:
BevelStyle

setInner

public void setInner(BevelStyle value)
Defines the inner bevel type of the TChart Panel border.
Default value: BevelStyle.None

Parameters:
value - BevelStyle

getWidth

public int getWidth()
Width of the TeeChart Panel border in pixels.
Default value: 1

Returns:
int

setWidth

public void setWidth(int value)
Sets the width of the TeeChart Panel border in pixels.
Default value: 1

Parameters:
value - int

getColorOne

public Color getColorOne()
Color of left and top sides of bevels.
Used together with ColorTwo to set the colors applied to the Bevel edge when Raised or Lowered.
Default value: white

Returns:
Color

setColorOne

public void setColorOne(Color value)
Sets the Color of left and top sides of bevels.
Default value: white

Parameters:
value - Color

getColorTwo

public Color getColorTwo()
Color of right and bottom sides of bevels.
Used together with ColorOne, these properties set the colors applied to the Bevel edge when Raised or Lowered.
Default value: gray

Returns:
Color

setColorTwo

public void setColorTwo(Color value)
Sets the Color of right and bottom sides of bevels.
Default value: gray

Parameters:
value - Color

getOuter

public BevelStyle getOuter()
The outer bevel type of the TChart Panel border.

Returns:
BevelStyle

setOuter

public void setOuter(BevelStyle value)
Defines the outer bevel type of the TChart Panel border.

Parameters:
value - BevelStyle

assign

public void assign(Bevel b)
Assigns all properties from one bevel to another.

Parameters:
b - Bevel

draw

public void draw(IGraphics3D g,
                 Rectangle rect)
Draws bevels around rectangle parameter.

Parameters:
g - IGraphics3D
rect - Rectangle

getVisible

public boolean getVisible()

setVisible

public void setVisible(boolean value)