TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Class: ThemesList

Source Location: /themes/ThemesList.php

Class Overview


<p>Title: </p>


Author(s):

Variables

Methods



Class Details

[line 23]
<p>Title: </p>

Description: ThemesList is a collection of Theme objects.

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

Company: Steema Software SL

Example:


 ThemesList.applyTheme(myChart.getChart(), new
 ExcelTheme(myChart.getChart()));
 




Tags:

see:  com.steema.teechart.themes.Theme


[ Top ]


Class Variables

static $BLACKISBLACKTHEME =  1

[line 26]



Tags:

access:  public

Type:   mixed


[ Top ]

static $BLUESKYTHEME =  8

[line 33]



Tags:

access:  public

Type:   mixed


[ Top ]

static $BUSINESSTHEME =  7

[line 32]



Tags:

access:  public

Type:   mixed


[ Top ]

static $CLASSICTHEME =  4

[line 29]



Tags:

access:  public

Type:   mixed


[ Top ]

static $DEFAULTTHEME =  2

[line 27]



Tags:

access:  public

Type:   mixed


[ Top ]

static $EXCELTHEME =  3

[line 28]



Tags:

access:  public

Type:   mixed


[ Top ]

static $GRAYSCALETHEME =  9

[line 34]



Tags:

access:  public

Type:   mixed


[ Top ]

static $OPERATHEME =  0

[line 25]



Tags:

access:  public

Type:   mixed


[ Top ]

static $WEBTHEME =  6

[line 31]



Tags:

access:  public

Type:   mixed


[ Top ]

static $XPTHEME =  5

[line 30]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


static method applyTheme [line 94]

static void applyTheme( chart $chart, index $index)

Creates a new instance of index'th Theme and applies it to chart.



Tags:

access:  public


Parameters:

chart   $chart   IBaseChart
index   $index   int

[ Top ]

static method _applyTheme [line 140]

static void _applyTheme( chart $chart, theme $theme)

Applies Theme to Chart. Color palette is determined by the Theme class.



Tags:

access:  public


Parameters:

chart   $chart   IBaseChart
theme   $theme   Theme

[ Top ]

static method __applyTheme [line 152]

static void __applyTheme( chart $chart, theme $theme, paletteIndex $paletteIndex)

Applies Theme to Chart and sets the Chart palette (if paletteIndex is different than -1).



Tags:

access:  public


Parameters:

chart   $chart   IBaseChart
theme   $theme   Theme
paletteIndex   $paletteIndex   int

[ Top ]

method getTheme [line 51]

Class getTheme( index $index)

Returns index'th Theme class in list.



Tags:

access:  public


Parameters:

index   $index   int

[ Top ]

method getThemeDescription [line 167]

String getThemeDescription( index $index)

Returns the textual description of index'th Theme in list.



Tags:

see:  com.steema.teechart.themes.Theme
access:  public


Parameters:

index   $index   int

[ Top ]

method size [line 41]

int size( )

Returns the number of registered Chart Theme classes.



Tags:

access:  public


[ Top ]


Documentation generated on Wed, 16 Jun 2010 12:08:57 +0200 by phpDocumentor 1.4.1