Netoolkit - Documentation


Overview

NTK_Element

Details

NTK_Element

Functions:ntk_hideElem(id);
Example:ntk_hideElem('id_1');
top

Label

Status:beta
Creating:ntk_createLabel(label, id, posx, posy, width, height);
Functions:(no special functions are existing for this element)
Example:ntk_addElem('body', ntk_createLabel('Hello', 'label_1', 100, 10, 300, 20));
top

Button

Status:beta
Creating:ntk_createButton(label, action, id, posx, posy, width, height);
Functions:(no special functions are existing for this element)
Example:ntk_addElem('body', ntk_createBody('Click', 'alert(\'Hello\')', 'button_1', 100, 10, 300, 20));
top

ImageButton

Status:beta
Creating:ntk_createImageButton(url, action, id, posx, posy, width, height);
Functions:(no special functions are existing for this element)
Example:ntk_addElem('body', ntk_createImageButton('test.gif', 'alert(\'Hello\');', 'imagebutton_1', 100, 10, 300, 20));
top

Text

Functions: ntk_getValue(id);
ntk_setValue(id, value);
ntk_clearValue(id);
Example:ntk_addElem('body', ntk_create....);
top

Textline

Status:beta
Creating:ntk_createTextline(value, id, posx, posy, width, height);
Functions:(no special functions are existing for this element)
Example:ntk_addElem('body', ntk_createTextline('default text', 'textline_1', 100, 10, 300, 20));
top

Textarea

Status:beta
Creating:ntk_createTextarea(value, id, posx, posy, width, height);
Functions:(no special functions are existing for this element)
Example:ntk_addElem('body', ntk_createTextarea('default \n text', 'textarea_1', 100, 10, 300, 20));
top

Checkbox

Status:beta
Creating:ntk_createCheckbox(checked, id, posx, posy);
Functions:(no special functions are existing for this element)
Example:ntk_addElem('body', ntk_createCheckbox(true, 'checkbox_1', 100, 10));
top

RadioButton

Status:beta
Creating:ntk_createRadioButton(checked, group, id, posx, posy);
Functions:(no special functions are existing for this element)
Example:ntk_addElem('body', ntk_createRadioButton(false, 'group_1', 'radiobutton_1', 100, 10));
top

ComboBox

Status:beta
Creating:ntk_createComboBox(id, posx, posy, width, height);
Functions:ntk_addComboBoxItem(id, label, value);
Example: ntk_addElem('body', ntk_createComboBox('combobox_1', 100, 10, 300, 20));
ntk_addComboBoxItem('combobox_1', 'item 1', 'value_1');
top

Spinner

Status:alpha
Creating:(element only planned)
Functions:(no special functions are existing for this element)
Example:
top

Slider

Status:alpha
Creating:(element only planned)
Functions:(no special functions are existing for this element)
Example:
top

Container

Functions:ntk_addElem(id, elem);
Example:ntk_addElem('body', ntk_create....);
top

simple Container

Status:beta
Creating:ntk_createContainer(id, posx, posy, width, height);
Functions:(no special functions are existing for this element)
Example: ntk_addElem('body', ntk_createRadioButton('container_1', 100, 10, 200, 300));
ntk_addElem('container_1', ntk_createLabel('hello world', 10, 10, 100, 20));
top

Dialog

Status:beta
Creating:ntk_createDialog(action, id, width, height);
Functions:(no special functions are existing for this element)
Example: ntk_addElem('body', ntk_createDialog(alert(\'Hello\');', 'dialog_1', 400, 300));
top