All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Component | +----java.awt.Canvas | +----jclass.bwt.JCComponent | +----jclass.chart.ChartCanvas | +----jclass.chart.JCTitle
Name | Method |
---|---|
IsShowing | If true, the ChartCanvas will appear on the screen. If false, it will not appear on the screen. (Note that legend, header, footer and chart area are all ChartCanvas instances). Default value is true. |
BorderType | Determines the style of border drawn around the ChartCanvas. Valid values come from BWTEnum, and include SHADOW_NONE, SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT, SHADOW_IN, SHADOW_OUT, SHADOW_PLAIN, SHADOW_FRAME_IN, SHADOW_FRAME_OUT. (Note that legend, header, footer and chart area are all ChartCanvas instances). Default value is BWTEnum.SHADOW_IN. |
BorderWidth | The BorderWidth property determines the width of the border drawn around the canvas. (Note that legend, header, footer and chart area are all ChartCanvas instances). Default value is 2. |
Text | The Text property controls the text displayed inside the title. The default value is " " (empty string). |
Top | The Top property determines the location of the top of the ChartCanvas. The default value is calculated. |
TopIsDefault | The TopIsDefault property determines whether the top position of the chart canvas is calculated by Chart (true) or taken from the Top property (false). Default value is true. |
Left | The Left property determines the location of the left of the ChartCanvas. Default value is generated. |
LeftIsDefault | The LeftIsDefault property determines whether the left position of the chart canvas is calculated by Chart (true) or taken from the Left property (false). Default value is true. |
Width | The Width property determines the width of the ChartCanvas. Default value is generated. |
WidthIsDefault | The WidthIsDefault property determines whether the width of the chart canvas is calculated by Chart (true) or taken from the Width property (false). Default value is true. |
Height | The Height property determines the height of the ChartCanvas. Default value is generated. |
HeightIsDefault | The HeightIsDefault property determines whether the height of the chart canvas is calculated by Chart (true) or taken from the Height property (false). Default value is true. |
Adjust | The Adjust property determines how text is justified or positioned in the title. Valid values include ChartText.LEFT, ChartText.CENTER and ChartText.RIGHT. Default value is ChartText.LEFT. |
public JCTitle()
public ChartText getLabel()
public String getText()
public void setText(String t)
public int getAdjust()
public synchronized void setAdjust(int justify)
public void paintComponent(Graphics gc)
public boolean getChanged()
public void setChanged(boolean changed)
public void setChanged(boolean n, boolean u)
public void recalc()
public Dimension preferredSize()
All Packages Class Hierarchy This Package Previous Next Index