BuilderContainer
Extends:
Direct Subclass:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
pathstack: *[] |
Private Members | ||
private |
_class: * |
|
private |
_struct: * |
Method Summary
Public Methods | ||
public |
beginPath(path: *, cls: *) |
|
public |
button(name: *, tooltip: *, args: *) |
|
public |
col() |
|
public |
colorbutton(path: *, args: *) |
|
public |
colorpicker(path: *, args: *) |
|
public |
iconbutton(icon: *, tooltip: *, args: *) |
|
public |
iconcheck(path: *, args: *) |
|
public |
iconenum(path: *, args: *) |
|
public |
init() |
|
public |
joinPath(path: *): * |
|
public |
listenum(path: *, args: *) |
|
public |
menu(title: *, definition: *, args: *): * |
|
public |
popPath(path: *, cls: *) |
|
public |
prop(path: *, args: *): * |
|
public |
row() |
|
public |
simpleslider(path: *, args: *): * |
|
public |
slider(path: *, args: *): * |
|
public |
strip() |
|
public |
table() |
|
public |
textbox(path: *, args: *): * |
|
public |
tool(path: *, args: *): * |
|
public |
useIcons() |
|
public |
|
|
public |
vector(path: *, args: *) |
Private Methods | ||
private |
_args(args: {}): * |
|
private |
_buildPath(): * |
|
private |
_makeAPI(path: *): * |
|
private |
_wrapElem(e: *, dpath: *): {"widget": *, "range": *, "description": *, "on": *, "off": *, "simpleSlider": *, "rollerSlider": *, "uiRange": *, "decimalPlaces": *, "expRate": *, "radix": *, "step": *, "icon": *, "icons": *, "descriptions": *, "customGetSet": *} |
Inherited Summary
From class Container | ||
public static |
|
|
public set |
|
|
public get |
children: * |
|
public |
ctx: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
packflag: * |
|
public |
|
|
private |
__background: * |
|
private |
_mass_prefixstack: *[] |
|
private |
_menu: * |
|
private |
_prefixstack: *[] |
|
public |
add(child: *): * |
|
public |
appendChild(child: *): * |
|
public |
asDialogFooter(): * |
|
public |
|
|
public |
changePathPrefix(newprefix: *) recursively change path prefix for all children |
|
public |
|
|
public |
checkenum(inpath: *, name: *, packflag: *, enummap: *, defaultval: *, callback: *, iconmap: *, mass_set_path: *): * |
|
public |
checkenum_panel(inpath: *, name: *, packflag: number, callback: *, mass_set_path: *, prop: *): * |
|
public |
|
|
public |
|
|
public |
colorPicker(inpath: *, packflag_or_args: number, mass_set_path: *, themeOverride: *): * |
|
public |
colorbutton(inpath: *, packflag: *, mass_set_path: *): * |
|
public |
|
|
public |
dynamicMenu(title: *, list: *, packflag: number): * |
|
public |
getroot(): * |
|
public |
helppicker(): * makes a button for a help picker tool to view tooltips on mobile devices |
|
public |
iconbutton(icon: *, description: *, cb: *, thisvar: *, packflag: number): * |
|
public |
iconcheck(inpath: *, icon: *, name: *, mass_set_path: *): * |
|
public |
init() |
|
public |
insert(i: *, ch: *) |
|
public |
label(text: *): * |
|
public |
|
|
public |
listen() |
|
public |
listenum(inpath: *, name: *, enumDef: *, defaultval: *, callback: *, iconmap: *, packflag: number): * |
|
public |
load() |
|
public |
loadData(obj: *) |
|
public |
loadJSON(obj: *): * |
|
public |
loadVisibility(): * |
|
public |
example usage: |
|
public |
noMarginsOrPadding(): * |
|
public |
|
|
public |
oneAxisMargin(m: *, m2: number): * tries to set margin along one axis only in smart manner |
|
public |
oneAxisPadding(axisPadding: *, otherPadding: number): * tries to set padding along one axis only in smart manner |
|
public |
overrideDefault(key: *, val: *): * |
|
public |
|
|
public |
|
|
public |
popDataPrefix(): * |
|
public |
popMassSetPrefix(): * |
|
public |
prepend(child: *) |
|
public |
|
|
public |
pushDataPrefix(val: *): * |
|
public |
pushMassSetPrefix(val: *): * |
|
public |
|
|
public |
removeChild(child: *, trigger_on_destroy: boolean): * |
|
public |
reverse(): * |
|
public |
|
|
public |
save() |
|
public |
saveData(): {} |
|
public |
saveVisibility(): * |
|
public |
setCSS() |
|
public |
setMargin(m: *): * |
|
public |
setPadding(m: *): * |
|
public |
setSize(width: *, height: *): * |
|
public |
simpleslider(inpath: *, name: *, defaultval: *, min: *, max: *, step: *, is_int: *, do_redraw: *, callback: *, packflag: number): * |
|
public |
slider(inpath: *, name: *, defaultval: *, min: *, max: *, step: *, is_int: *, do_redraw: *, callback: *, packflag: number): * usage: .slider(inpath, { name : bleh, defaultval : number, etc... |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
toJSON(): * |
|
public |
tool(path_or_cls: *, packflag_or_args: {}, createCb: *, label: *): * |
|
public |
toolPanel(path_or_cls: *, args: {}): * |
|
public |
treeview(): * |
|
public |
|
|
public |
update() |
|
public |
Returns previous icon flags |
|
public |
|
|
public |
html5 viewer |
|
public |
|
|
private |
|
|
private |
_container_inherit(elem: *, packflag: number) |
|
private |
_getMassPath(ctx: *, inpath: *, mass_set_path: *): * |
|
private |
_joinPrefix(path: *, prefix: *): * |
|
private |
|
|
private |
_prepend(child: *): * |
Static Public Methods
Public Constructors
Public Members
public pathstack: *[] source
Private Members
private _class: * source
private _struct: * source
Public Methods
public beginPath(path: *, cls: *) source
Params:
Name | Type | Attribute | Description |
path | * | ||
cls | * |
public button(name: *, tooltip: *, args: *) source
Override:
Container#buttonParams:
Name | Type | Attribute | Description |
name | * | ||
tooltip | * | ||
args | * |
public colorbutton(path: *, args: *) source
Override:
Container#colorbuttonParams:
Name | Type | Attribute | Description |
path | * | ||
args | * |
public colorpicker(path: *, args: *) source
Params:
Name | Type | Attribute | Description |
path | * | ||
args | * |
public iconbutton(icon: *, tooltip: *, args: *) source
Override:
Container#iconbuttonParams:
Name | Type | Attribute | Description |
icon | * | ||
tooltip | * | ||
args | * |
public iconcheck(path: *, args: *) source
Override:
Container#iconcheckParams:
Name | Type | Attribute | Description |
path | * | ||
args | * |
public iconenum(path: *, args: *) source
Params:
Name | Type | Attribute | Description |
path | * | ||
args | * |
public listenum(path: *, args: *) source
Override:
Container#listenumParams:
Name | Type | Attribute | Description |
path | * | ||
args | * |
public menu(title: *, definition: *, args: *): * source
example usage:
.menu([ "some_tool_path.tool()|CustomLabel", ui_widgets.Menu.SEP, "some_tool_path.another_tool()", ["Name", () => {console.log("do something")}] ])
Override:
Container#menuParams:
Name | Type | Attribute | Description |
title | * | ||
definition | * | ||
args | * |
Return:
* |
public popPath(path: *, cls: *) source
Params:
Name | Type | Attribute | Description |
path | * | ||
cls | * |
public prop(path: *, args: *): * source
Override:
Container#propParams:
Name | Type | Attribute | Description |
path | * | ||
args | * |
Return:
* |
public simpleslider(path: *, args: *): * source
Override:
Container#simplesliderParams:
Name | Type | Attribute | Description |
path | * | ||
args | * |
Return:
* |
public slider(path: *, args: *): * source
usage: .slider(inpath, { name : bleh, defaultval : number, etc... });
Override:
Container#sliderParams:
Name | Type | Attribute | Description |
path | * | ||
args | * |
Return:
* |
public textbox(path: *, args: *): * source
Override:
Container#textboxParams:
Name | Type | Attribute | Description |
path | * | ||
args | * |
Return:
* |
public tool(path: *, args: *): * source
Override:
Container#toolParams:
Name | Type | Attribute | Description |
path | * | ||
args | * |
Return:
* |
public useSimpleSliderS() source
public vector(path: *, args: *) source
Params:
Name | Type | Attribute | Description |
path | * | ||
args | * |
Private Methods
private _args(args: {}): * source
Params:
Name | Type | Attribute | Description |
args | {} |
|
Return:
* |
private _wrapElem(e: *, dpath: *): {"widget": *, "range": *, "description": *, "on": *, "off": *, "simpleSlider": *, "rollerSlider": *, "uiRange": *, "decimalPlaces": *, "expRate": *, "radix": *, "step": *, "icon": *, "icons": *, "descriptions": *, "customGetSet": *} source
Params:
Name | Type | Attribute | Description |
e | * | ||
dpath | * |
Return:
{"widget": *, "range": *, "description": *, "on": *, "off": *, "simpleSlider": *, "rollerSlider": *, "uiRange": *, "decimalPlaces": *, "expRate": *, "radix": *, "step": *, "icon": *, "icons": *, "descriptions": *, "customGetSet": *} |