Home Reference Source
import {BuilderRow} from './scripts/widgets/ui_container.js'
public class | source

BuilderRow

Extends:

scripts/core/ui_base.js~ui_base.UIBaseContainerBuilderContainer → BuilderRow

Static Method Summary

Static Public Methods
public static

define(): {"tagname": string}

Method Summary

Public Methods
public

init()

Inherited Summary

From class Container
public static

define(): {"tagname": string}

public set
public get
public

ctx: *

public
public
public
public
public
private
private
private

_menu: *

private
public

add(child: *): *

public

appendChild(child: *): *

public
public

button(label: *, cb: *, thisvar: *, id: *, packflag: number): *

public

changePathPrefix(newprefix: *)

recursively change path prefix for all children

public

check(inpath: *, name: *, packflag: number, mass_set_path: *): *

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

clear(trigger_on_destroy: boolean)

public

col(packflag: number): *

public

colorPicker(inpath: *, packflag_or_args: number, mass_set_path: *, themeOverride: *): *

public

colorbutton(inpath: *, packflag: *, mass_set_path: *): *

public

curve1d(inpath: *, packflag: number, mass_set_path: *): *

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

listbox(packflag: number): *

public

listen()

public

listenum(inpath: *, name: *, enumDef: *, defaultval: *, callback: *, iconmap: *, packflag: number): *

public

load()

public

loadData(obj: *)

public

loadJSON(obj: *): *

public
public

menu(title: *, list: *, packflag: number): *

example usage:

public
public

noteframe(packflag: number): *

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

panel(name: *, id: *, packflag: number, tooltip: *): *

public

pathlabel(inpath: *, label: string, packflag: number): *

public
public
public

prepend(child: *)

public

prop(inpath: *, packflag: number, mass_set_path: *): *

public

pushDataPrefix(val: *): *

public

pushMassSetPrefix(val: *): *

public
public

removeChild(child: *, trigger_on_destroy: boolean): *

public

reverse(): *

public

row(packflag: number): *

public

save()

public

saveData(): {}

public
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

strip(themeClass: string, margin1: *, margin2: number, horiz: *): *

public

table(packflag: number): *

public

tabs(position: string, packflag: number): *

public

textarea(datapath: *, value: string, packflag: number, mass_set_path: *): *

public

textbox(inpath: *, text: *, cb: *, packflag: number): *

public

toJSON(): *

public

tool(path_or_cls: *, packflag_or_args: {}, createCb: *, label: *): *

public

toolPanel(path_or_cls: *, args: {}): *

public

treeview(): *

public

twocol(parentDepth: number, packflag: number): *

public

update()

public

useIcons(enabled_or_sheet: boolean): *

Returns previous icon flags

public

vecpopup(inpath: *, packflag: number, mass_set_path: *): *

public

viewer(datapath: *, value: string, packflag: number, mass_set_path: *): *

html5 viewer

public

wrap(mode:: *): Container

private

_add(child: *, prepend: boolean): *

private

_container_inherit(elem: *, packflag: number)

private

_getMassPath(ctx: *, inpath: *, mass_set_path: *): *

private

_joinPrefix(path: *, prefix: *): *

private
private

_prepend(child: *): *

From class BuilderContainer
public static

define(): {"tagname": string}

public
public

pathstack: *[]

private

_class: *

private

_struct: *

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
public
public

vector(path: *, args: *)

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": *}

Static Public Methods

public static define(): {"tagname": string} source

Override:

BuilderContainer#define

Return:

{"tagname": string}

Public Methods

public init() source

Override:

BuilderContainer#init