Download Offline Manual - Docs

Transcript
qooxdoo Documentation, Release 4.1.1
’}’
destruct_spec
:= ’{’
{ ’this._disposeFields’
’(’ <fields_list> ’)’ ’;’ }
{ ’this._disposeObjects’
’(’ <fields_list> ’)’ ’;’ }
{ ’this._disposeObjectDeep’ ’(’ <deep_field> ’)’
}
’}’
c_map
:= ’{’
{ <key> ’:’ ( js_primitive_value
js_reference_value
js_function_value
js_function_call
’}’
js_function_value
js_function_call
js_primitive_value
js_reference_value
qx_event_type
|
|
|
) ’,’ }
:= ? Javascript anonymous function ’function (...)
{...}’ ?
:= ? Javascript function call ’foo(...)’ ?
:= ? any value from the Javascript primitive types ?
:= ? any value from the Javascript reference types ?
:= ? any qooxdoo event type class name, e.g.
’qx.event.type.DataEvent’ ?
11.1.4 Properties Quick Reference
This is a quick reference for the various property features available in qooxdoo.
Properties are declared in the constructor map of the class as a dedicated key-value pair (here called
properties_decl). This is the quick reference for properties_decl (expressed in an EBNF-ish way):
properties_decl
:= ’properties’ ’:’ properites_map
properties_map
prop_spec
:= ’{’ { prop_spec ’,’ } ’}’
:= ’"’ <property_name> ’"’ ’:’
’{’ { property_feature ’,’ } ’}’
property_feature := nullable_spec
apply_spec
event_spec
init_spec
refine_spec
check_spec
themeable_spec
inheritable_spec
group_spec
mode_spec
validate_spec
dereference_spec
|
|
|
|
|
|
|
|
|
|
|
nullable_spec
apply_spec
event_spec
init_spec
refine_spec
:=
:=
:=
:=
:=
bool_val
’"’ <FunctionName> ’"’
’"’ <EventName> ’"’
<InitVal>
bool_val
check_spec
:= ’check’
458
’nullable’
’apply’
’event’
’init’
’refine’
’:’
’:’
’:’
’:’
’:’
’:’ ’"’ type_spec ’"’
’"’ <ClassName> ’"’
|
|
Chapter 11. References