Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class Theme

    Object
       |
       +--Theme

class Theme

Defined in obj-theme.js
Version: 1.0
Author: mpollack

Field Summary
`string` | `objname` Name given to identify object on debug
`Main` | `par` Reference to parent object
`array` | `themetext` Associative array of all theme text items

Constructor Summary
`Theme(<Main> p)` Contains theme data

Method Summary
`void` | `addThemeItem(<string> k, <string> i)` Adds a theme item to the themetext associative array
`void` | `dump()` Sends debug information of all theme data to the debug window
`void` | `getData()` Sends a command to get the theme data
`string` | `getThemeItem(<string> i)` Returns a theme item from the themetext associative array
`void` | `setData(<string> d)` Sets data on the object using a delimited string sent via the jshook api.

Field Detail

### objname

    string objname

Name given to identify object on debug

### par

    Main par

Reference to parent object

### themetext

    array themetext

Associative array of all theme text items

Constructor Detail

### Theme

    Theme(<Main> p)

Contains theme data

Parameters:

`p` - parent object reference

Version: 1.0
Author: mpollack

Method Detail

### addThemeItem

    void addThemeItem(<string> k, <string> i)

Adds a theme item to the themetext associative array

Parameters:

`k` - entry key

`i` - entry item

### dump

    void dump()

Sends debug information of all theme data to the debug window

### getData

    void getData()

Sends a command to get the theme data

### getThemeItem

    string getThemeItem(<string> i)

Returns a theme item from the themetext associative array

Parameters:

`i` - entry key

Returns:

Either the string associated with the supplied key or an error string

### setData

    void setData(<string> d)

Sets data on the object using a delimited string sent via the jshook api. The string is split and each entry is run through eval() to execute.

Parameters:

`d` - delimited string with js commands

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Tue Mar 4 12:01:48 2008