|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.steema.teechart.themes.ThemesList
public final class ThemesList
Title:
Description: ThemesList is a collection of Theme objects.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Example:
ThemesList.applyTheme(myChart.getChart(), new ExcelTheme(myChart.getChart()));
Theme| Constructor Summary | |
|---|---|
ThemesList()
|
|
| Method Summary | |
|---|---|
static void |
applyTheme(IBaseChart chart,
int index)
Creates a new instance of index'th Theme and applies it to chart. |
static void |
applyTheme(IBaseChart chart,
Theme theme)
Applies Theme to Chart. |
static void |
applyTheme(IBaseChart chart,
Theme theme,
int paletteIndex)
Applies Theme to Chart and sets the Chart palette (if paletteIndex is different than -1). |
static java.lang.Class |
getTheme(int index)
Returns index'th Theme class in list. |
static java.lang.String |
getThemeDescription(int index)
Returns the textual description of index'th Theme in list. |
static int |
size()
Returns the number of registered Chart Theme classes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThemesList()
| Method Detail |
|---|
public static int size()
public static java.lang.Class getTheme(int index)
index - int
public static void applyTheme(IBaseChart chart,
int index)
chart - IBaseChartindex - int
public static void applyTheme(IBaseChart chart,
Theme theme)
chart - IBaseCharttheme - Theme
public static void applyTheme(IBaseChart chart,
Theme theme,
int paletteIndex)
chart - IBaseCharttheme - ThemepaletteIndex - intpublic static java.lang.String getThemeDescription(int index)
index - int
Theme
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||