update documentation (classes)

This commit is contained in:
rolux 2012-05-31 12:32:54 +02:00
parent 684c4ceaf2
commit 8c347d9009
88 changed files with 177 additions and 227 deletions

View file

@ -1,12 +1,10 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Bar <f:Ox.Element> Bar Ox.Bar <f> Bar
() -> <o> Bar object ([options[, self]]) -> <o:Ox.Element> Bar object
(options) -> <o> Bar object
(options, self) -> <o> Bar object
options <o> Options object options <o> Options object
orientation <s|'horizontal'> orientation <s|'horizontal'>
size <s|'medium'> can be small, medium, large or number size <n|s|'medium'> can be small, medium, large or number
self <o> Shared private variable self <o> Shared private variable
@*/ @*/
Ox.Bar = function(options, self) { Ox.Bar = function(options, self) {

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Progressbar <f:Ox.Element> Progress Bar Ox.Progressbar <f> Progress Bar
() -> <o> Progress Bar ([options[, self]]) -> <o:Ox.Element> Progress Bar
(options) -> <o> Progress Bar
(options, self) -> <o> Progress Bar
options <o|{}> Options object options <o|{}> Options object
cancelled <b|false> If true, progress bar is cancelled cancelled <b|false> If true, progress bar is cancelled
paused <b|false> If true, progress bar is paused paused <b|false> If true, progress bar is paused

View file

@ -1,9 +1,7 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Resizebar <f:Ox.Element> Resizebar Ox.Resizebar <f> Resizebar
() -> <f> Resizebar object ([options[, self]]) -> <o:Ox.Element> Resizebar object
(options) -> <f> Resizebar object
(options, self) -> <f> Resizebar object
options <o> Options object options <o> Options object
collapsed <b|false> inital collapse state collapsed <b|false> inital collapse state
collapsible <b|true> collapse state can be changed collapsible <b|true> collapse state can be changed

View file

@ -1,9 +1,7 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Tabbar <f:Ox.Bar> Tabbar Ox.Tabbar <f> Tabbar
() -> <o> Tabbar object ([options[, self]]) -> <o:Ox.Bar> Tabbar object
(options) -> <o> Tabbar object
(options, self) -> <o> Tabbar object
options <o> Options object options <o> Options object
selected <n|0> selected item selected <n|0> selected item
tabs <a|[]> tabs tabs <a|[]> tabs

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Calendar <f:Ox.Element> Basic calendar object Ox.Calendar <f> Basic calendar object
() -> <o> Calendar object ([options[, self]]) -> <o:Ox.Element> Calendar object
(options) -> <o> Calendar object
(options, self) -> <o> Calendar object
options <o> Options object options <o> Options object
date <d|new Date()> UTC Date on which the calendar is centered date <d|new Date()> UTC Date on which the calendar is centered
events <[o]|[]> Event objects to be displayed events <[o]|[]> Event objects to be displayed

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ListCalendar <f:Ox.Element> List Calendar Ox.ListCalendar <f> List Calendar
(options[, self]) -> <o> List Calendar ([options[, self]]) -> <o:Ox.SplitPanel> List Calendar
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.DocPage <f:Ox.Element> DocPage Ox.DocPage <f> DocPage
() -> <o> DocPage object ([options[, self]]) -> <o:Ox.SplitPanel> DocPage object
(options) -> <o> DocPage object
(options, self) -> <o> DocPage object
options <o> Options object options <o> Options object
item <o> doc item item <o> doc item
replace <[[]]|[]> See Ox.SyntaxHighlighter replace <[[]]|[]> See Ox.SyntaxHighlighter

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.DocPanel <f:Ox.Element> Documentation Panel Ox.DocPanel <f> Documentation Panel
() -> <f> Documentation Panel ([options[, self]]) -> <o:Ox.SplitPanel> Documentation Panel
(options) -> <f> Documentation Panel
(options, self) -> <f> Documentation Panel
options <o> Options object options <o> Options object
collapsible <b|false> If true, the list can be collabsed collapsible <b|false> If true, the list can be collabsed
element <e> Default content element <e> Default content

View file

@ -1,8 +1,8 @@
'use strict' 'use strict'
/*@ /*@
Ox.ExamaplePage <f:Ox.Element> Example Page Ox.ExamplePage <f> Example Page
(options[, self]) -> <o> Example Page ([options[, self]]) -> <o:Ox.SplitPanel> Example Page
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ExamplePanel <f:Ox.Element> Example Panel Ox.ExamplePanel <f> Example Panel
(options[, self]) -> <o> Example Panel ([options[, self]]) -> <o:Ox.SplitPanel> Example Panel
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.SourceViewer <f:Ox.Container> Source Viewer Ox.SourceViewer <f> Source Viewer
(options[, self]) -> <o> Source Viewer ([options[, self]]) -> <o:Ox.Container> Source Viewer
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.SyntaxHighlighter <f:Ox.Element> Syntax Highlighter Ox.SyntaxHighlighter <f> Syntax Highlighter
(options[, self]) -> <o> Syntax Highlighter ([options[, self]]) -> <o:Ox.Element> Syntax Highlighter
options <o> Options options <o> Options
lineLength <n|0> If larger than zero, show edge of page lineLength <n|0> If larger than zero, show edge of page
offset <n|1> First line number offset <n|1> First line number

View file

@ -1,7 +1,7 @@
'use strict'; 'use strict';
/*@ /*@
Ox.App <f:Ox.Element> Basic application instance that communicates with a JSON API Ox.App <f> Basic application instance that communicates with a JSON API
([options]) -> <o> App object ([options]) -> <o> App object
options <o> Options object options <o> Options object
timeout <n> request timeout timeout <n> request timeout

View file

@ -5,10 +5,8 @@
// 0, 1, 2, etc, so that append would append 0, and appendTo // 0, 1, 2, etc, so that append would append 0, and appendTo
// would append (length - 1)? // would append (length - 1)?
/*@ /*@
Ox.Container <f:Ox.Element> Container element Ox.Container <f> Container element
() -> <o> Container object ([options[, self]]) -> <o:Ox.Element> Container object
(options) -> <o> Container object
(options, self) -> <o> Container object
options <o> Options object options <o> Options object
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,14 +1,11 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Element <f:Ox.JQueryElement> Basic UI element object Ox.Element <function> Basic UI element object
# Usage -------------------------------------------------------------------- # Usage --------------------------------------------------------------------
(element) -> <object> UI element ([options[, self]]) -> <object:Ox.JQueryElement> Element object
(options) -> <object> UI element
(options, self) -> <object> UI element
# Arguments ---------------------------------------------------------------- # Arguments ----------------------------------------------------------------
element <string> Tagname or CSS selector options <object|string> Options of the element, or just `element` option
options <object> Options of the element
# Properties # Properties
element <string> Tagname or CSS selector element <string> Tagname or CSS selector
tooltip <string|function> Tooltip title, or a function that returns one tooltip <string|function> Tooltip title, or a function that returns one

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.LoadingIcon <f:Ox.Element> Loading Icon Element Ox.LoadingIcon <f> Loading Icon Element
() -> <f> Loading Icon Element ([options[, self]]) -> <o:Ox.Element> Loading Icon Element
(options) -> <f> Loading Icon Element
(options, self) -> <f> Loading Icon Element
options <o> Options object options <o> Options object
size <s|medium> size of icon size <s|medium> size of icon
self <o> Shared private variable self <o> Shared private variable

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ArrayEditable <f:Ox.Element> Array Editable Ox.ArrayEditable <f> Array Editable
(options, self) -> <f> Array Editable ([options[, self]]) -> <o:Ox.Element> Array Editable
options <o> Options object options <o> Options object
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ArrayInput <f:Ox.Element> Array input Ox.ArrayInput <f> Array input
(options, self) -> <o> Array input ([options[, self]]) -> <o:Ox.Element> Array input
options <o> Options object options <o> Options object
label <s> string, '' label <s> string, ''
max <n> integer, maximum number of items, 0 for all max <n> integer, maximum number of items, 0 for all

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Button <f:Ox.Element> Button Object Ox.Button <f> Button Object
() -> <o> Button Object ([options[, self]]) -> <o:Ox.Element> Button Object
(options) -> <o> Button Object
(options, self) -> <o> Button Object
options <o> Options object options <o> Options object
If a button is both selectable and has two values, its value is the If a button is both selectable and has two values, its value is the
selected id, and the second value corresponds to the selected state selected id, and the second value corresponds to the selected state

View file

@ -1,12 +1,10 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ButtonGroup <f:Ox.Element> ButtonGroup Object Ox.ButtonGroup <f> ButtonGroup Object
() -> <o> ButtonGroup Object ([options[, self]]) -> <o:Ox.Element> ButtonGroup Object
(options) -> <o> ButtonGroup Object
(options, self) -> <o> ButtonGroup Object
options <o> Options object options <o> Options object
buttons <a> array of buttons buttons <[o]> array of button options
max <n> integer, maximum number of selected buttons, 0 for all max <n> integer, maximum number of selected buttons, 0 for all
min <n> integer, minimum number of selected buttons, 0 for none min <n> integer, minimum number of selected buttons, 0 for none
selectable <b> if true, buttons are selectable selectable <b> if true, buttons are selectable

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Checkbox <f:Ox.Element> Checkbox Element Ox.Checkbox <f> Checkbox Element
() -> <o> Checkbox Element ([options[, self]]) -> <o:Ox.Element> Checkbox Element
(options) -> <o> Checkbox Element
(options, self) -> <o> Checkbox Element
options <o> Options object options <o> Options object
disabled <b> if true, checkbox is disabled disabled <b> if true, checkbox is disabled
group <b> if true, checkbox is part of a group group <b> if true, checkbox is part of a group

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.CheckboxGroup <f:Ox.Element> CheckboxGroup Object Ox.CheckboxGroup <f> CheckboxGroup Object
() -> <o> CheckboxGroup Object ([options[, self]]) -> <o:Ox.Element> CheckboxGroup Object
(options) -> <o> CheckboxGroup Object
(options, self) -> <o> CheckboxGroup Object
options <o> Options object options <o> Options object
checkboxes <a|[]> array of checkboxes checkboxes <a|[]> array of checkboxes
max <n|1> max selected max <n|1> max selected

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ColorInput <f:Ox.InputGroup> ColorInput Element Ox.ColorInput <f> ColorInput Element
() -> <o> ColorInput Element ([options[, self]]) -> <o:Ox.InputGroup> ColorInput Element
(options) -> <o> ColorInput Element
(options, self) -> <o> ColorInput Element
options <o> Options object options <o> Options object
id <s> element id id <s> element id
value <s|0, 0, 0> rgb value value <s|0, 0, 0> rgb value

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ColorPicker <f:Ox.Element> ColorPicker Element Ox.ColorPicker <f> ColorPicker Element
() -> <o> ColorPicker Element ([options[, self]]) -> <o:Ox.Picker> ColorPicker Element
(options) -> <o> ColorPicker Element
(options, self) -> <o> ColorPicker Element
options <o> Options object options <o> Options object
id <s> element id id <s> element id
value <s|0, 0, 0> rgb value value <s|0, 0, 0> rgb value

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.DateInput <f:Ox.InputGroup> DateInput Element Ox.DateInput <f> DateInput Element
([options[, self]]) -> <o> DateInput Element ([options[, self]]) -> <o:Ox.InputGroup> DateInput Element
options <o> Options object options <o> Options object
format <s|short> format can be short, medium, long format <s|short> format can be short, medium, long
value <d> date value, defaults to current date value <d> date value, defaults to current date

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.DateTimeInput <f:Ox.InputGroup> DateTimeInput Element Ox.DateTimeInput <f> DateTimeInput Element
([options[, self]]) -> <o> DateTimeInput Element ([options[, self]]) -> <o:Ox.InputGroup> DateTimeInput Element
options <o> Options object options <o> Options object
ampm <b|false> false is 24h true is am/pm ampm <b|false> false is 24h true is am/pm
format <s|short> options are short, medium, long format <s|short> options are short, medium, long

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Editable <f:Ox.Element> Editable element Ox.Editable <f> Editable element
([options[, self]]) -> <o> Input Element ([options[, self]]) -> <o:Ox.Element> Input Element
options <o> Options object options <o> Options object
editing <b|false> If true, loads in editing state editing <b|false> If true, loads in editing state
format <f|null> Format function format <f|null> Format function

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.FileButton <f:Ox.Element> File Button Ox.FileButton <f> File Button
([options[, self]]) -> <o> File Button ([options[, self]]) -> <o:Ox.Element> File Button
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.FileInput <f:Ox.Element> File Input Ox.FileInput <f> File Input
([options[, self]]) -> <o> File Input ([options[, self]]) -> <o:Ox.Element> File Input
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Filter <f:Ox.Element> Filter Object Ox.Filter <f> Filter Object
([options[, self]]) -> <o> Filter Object ([options[, self]]) -> <o:Ox.Element> Filter Object
options <o> Options object options <o> Options object
findKeys <[]|[]> keys findKeys <[]|[]> keys
list <o> list object list <o> list object

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Form <f:Ox.Element> Form Object Ox.Form <f> Form Object
([options[, self]]) -> <o> Form Object ([options[, self]]) -> <o:Ox.Element> Form Object
options <o> Options object options <o> Options object
error <s> error error <s> error
id <s> id id <s> id

View file

@ -1,11 +1,11 @@
'use strict'; 'use strict';
/*@ /*@
Ox.FormElementGroup <f:Ox.Element> FormElementGroup Element Ox.FormElementGroup <f> FormElementGroup Element
([options[, self]]) -> <f> FormElementGroup Element ([options[, self]]) -> <o:Ox.Element> FormElementGroup Element
options <o> Options object options <o> Options object
id <s> element id id <s> element id
elements <a|[]> elements in group elements <[o:Ox.Element]|[]> elements in group
float <s|left> alignment float <s|left> alignment
separators <a|[]> separators (not implemented) separators <a|[]> separators (not implemented)
width <n|0> group width width <n|0> group width

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.FormItem <f:Ox.Element> FormItem Element, wrap form element with an error message Ox.FormItem <f> FormItem Element, wraps form element with an error message
([options[, self]]) -> <f> FormItem Element ([options[, self]]) -> <o:Ox.Element> FormItem Element
options <o> Options object options <o> Options object
element <o|null> element element <o|null> element
error <s> error message error <s> error message

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.FormPanel <f:Ox.Element> Form Panel Ox.FormPanel <f> Form Panel
([options[, self]]) -> <o> Form Panel ([options[, self]]) -> <o:Ox.Element> Form Panel
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Input <f:Ox.Element> Input Element Ox.Input <f> Input Element
([options[, self]]) -> <o> Input Element ([options[, self]]) -> <o:Ox.Element> Input Element
options <o> Options object options <o> Options object
arrows <b> if true, and type is 'float' or 'int', display arrows arrows <b> if true, and type is 'float' or 'int', display arrows
arrowStep <n> step when clicking arrows arrowStep <n> step when clicking arrows

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.InputGroup <f:Ox.Element> InputGroup Object Ox.InputGroup <f> InputGroup Object
([options[, self]]) -> <o> InputGroup Object ([options[, self]]) -> <o:Ox.Element> InputGroup Object
options <o> Options object options <o> Options object
id <s|''> id id <s|''> id
inputs <a|[]> inputs inputs <a|[]> inputs

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.InsertHTMLDialog <f:Ox.Dialog> Insert HTML Dialog Ox.InsertHTMLDialog <f> Insert HTML Dialog
([options[, self]]) -> <o> Insert HTML Dialog ([options[, self]]) -> <o:Ox.Dialog> Insert HTML Dialog
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Label <f:Ox.Element> Label Object Ox.Label <f> Label element
([options[, self]]) -> <o> Label Object ([options[, self]]) -> <o:Ox.Element> Label element
options <o> Options object options <o> Options object
@*/ @*/
Ox.Label = function(options, self) { Ox.Label = function(options, self) {

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ObjectArrayInput <f:Ox.Element> Object Array Input Ox.ObjectArrayInput <f> Object Array Input
([options[, self]]) -> <o> Object Array Input ([options[, self]]) -> <o:Ox.Element> Object Array Input
options <o> Options options <o> Options
buttonTitles buttonTitles
inputs inputs

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ObjectInput <f:Ox.Element> Object Input Ox.ObjectInput <f> Object Input
([options[, self]]) -> <o> Object Input ([options[, self]]) -> <o:Ox.Element> Object Input
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Picker <f:Ox.Element> Picker Object Ox.Picker <f> Picker Object
([options[, self]]) -> <o> Picker Object ([options[, self]]) -> <o:Ox.Element> Picker Object
options <o> Options object options <o> Options object
element <o|null> picker element element <o|null> picker element
elementHeight <n|128> height elementHeight <n|128> height

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.PlaceInput <f:Ox.FormElementGroup> PlaceInput Object Ox.PlaceInput <f> PlaceInput Object
([options[, self]]) -> <f> PlaceInput Object ([options[, self]]) -> <o:Ox.FormElementGroup> PlaceInput Object
options <o> Options object options <o> Options object
id <s> element id id <s> element id
value <s|United States> default value of place input value <s|United States> default value of place input

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.PlacePicker <f:Ox.Picker> PlacePicker Object Ox.PlacePicker <f> PlacePicker Object
([options[, self]]) -> <o> PlacePicker Object ([options[, self]]) -> <o:Ox.Picker> PlacePicker Object
options <o> Options object options <o> Options object
id <s> element id id <s> element id
value <s|United States> default value of place input value <s|United States> default value of place input

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Range <f:Ox.Element> Range Object Ox.Range <f> Range Object
([options[, self]]) -> <o> Range Object ([options[, self]]) -> <o:Ox.Element> Range Object
options <o> Options object options <o> Options object
arrows <b> if true, show arrows arrows <b> if true, show arrows
arrowStep <n> step when clicking arrows arrowStep <n> step when clicking arrows

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Select <f:Ox.Element> Select Object Ox.Select <f> Select Object
([options[, self]) -> <o> Select Object ([options[, self]) -> <o:Ox.Element> Select Object
options <o> Options object options <o> Options object
disabled <b|false> If true, select is disabled disabled <b|false> If true, select is disabled
id <s> Element id id <s> Element id

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
//FIXME: does not work without options //FIXME: does not work without options
/*@ /*@
Ox.SelectInput <f:Ox.FormElementGroup> Select Input Ox.SelectInput <f> Select Input
([options[, self]]) -> <o> Select Input ([options[, self]]) -> <o:Ox.FormElementGroup> Select Input
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Spreadsheet <f:Ox.Element> Spreadsheet Ox.Spreadsheet <f> Spreadsheet
([options[, self]]) -> <o> Spreadsheet ([options[, self]]) -> <o:Ox.Element> Spreadsheet
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.TimeInput <f:Ox.Element> TimeInput Object Ox.TimeInput <f> TimeInput Object
([options[, self]]) -> <f> TimeInput Object ([options[, self]]) -> <o:Ox.InputGroup> TimeInput Object
options <o> Options object options <o> Options object
ampm <b|false> 24h/ampm ampm <b|false> 24h/ampm
seconds <b|false> show seconds seconds <b|false> show seconds

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Chart <f:Ox.Element> Bar Chart Ox.Chart <f> Bar Chart
([options[, self]]) -> <o> Chart object ([options[, self]]) -> <o:Ox.Element> Chart object
options <o> Options options <o> Options
color <[n]|[[n]]|[128, 128, 128]> Bar color color <[n]|[[n]]|[128, 128, 128]> Bar color
data <o> {k: v, ...} or {k: {k: v, ...}, ...} data <o> {k: v, ...} or {k: {k: v, ...}, ...}

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.IconItem <f:Ox.Element> IconItem Object Ox.IconItem <f> IconItem Object
([options[, self]]) -> <o> IconItem Object ([options[, self]]) -> <o:Ox.Element> IconItem Object
options <o> Options object options <o> Options object
borderRadius <n|0> Border radius for icon images borderRadius <n|0> Border radius for icon images
find <s|''> String to be highlighted find <s|''> String to be highlighted

View file

@ -1,7 +1,7 @@
'use strict'; 'use strict';
/*@ /*@
Ox.IconList <f:Ox.Element> IconList Object Ox.IconList <f> IconList Object
([options[, self]]) -> <o> IconList Object ([options[, self]]) -> <o:Ox.List> IconList Object
options <o> Options object options <o> Options object
borderRadius <n|0> border radius for icon images borderRadius <n|0> border radius for icon images
centerSelection <b|false> scroll list so selection is always centered centerSelection <b|false> scroll list so selection is always centered

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.InfoList <f:Ox.Element> Info List Ox.InfoList <f> Info List
([options[, self]]) -> <o> Info List ([options[, self]]) -> <o:Ox.List> Info List
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,7 +1,7 @@
'use strict'; 'use strict';
/*@ /*@
Ox.List <f:Ox.Container> List constructor Ox.List <f> List constructor
options <o> Options object options <o> Options object
centered <b|false> if true, and orientation is 'horizontal', then keep the selected item centered centered <b|false> if true, and orientation is 'horizontal', then keep the selected item centered
construct <f|null> (data) returns the list item HTML construct <f|null> (data) returns the list item HTML
@ -22,7 +22,7 @@ Ox.List <f:Ox.Container> List constructor
type <s|'text'> type type <s|'text'> type
unique <s|''> name of the key that acts as unique id unique <s|''> name of the key that acts as unique id
self <o> shared private variable self <o> shared private variable
([options[, self]]) -> <o> List object ([options[, self]]) -> <o:Ox.Container> List object
add <!> item added add <!> item added
delete <!> item removed delete <!> item removed
draganddrop <!> Fires during drag draganddrop <!> Fires during drag

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ListItem <f:Ox.Element> ListItem Object Ox.ListItem <f> ListItem Object
([options[, self]]) -> <o> ListItem Object ([options[, self]]) -> <o:Ox.Element> ListItem Object
options <o> Options object options <o> Options object
construct <f> construct function construct <f> construct function
data <o|{}> item data data <o|{}> item data

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ListPage <f:Ox.Element> ListPage Object Ox.ListPage <f> ListPage Object
([options[, self]]) -> <o> ListPage Object ([options[, self]]) -> <o:Ox.Element> ListPage Object
options <o> Options object options <o> Options object
self <o> shared private variable self <o> shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.TextList <f:Ox.Element> TextList Object Ox.TextList <f> TextList Object
([options[, self]]) -> <o> TextList Object ([options[, self]]) -> <o:Ox.Element> TextList Object
options <o> Options object options <o> Options object
columns <[o]|[]> Columns columns <[o]|[]> Columns
# Fixme: There's probably more... # Fixme: There's probably more...

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.TreeList <f:Ox.Element> TreeList Object Ox.TreeList <f> TreeList Object
([options[, self]]) -> <o> TreeList Object ([options[, self]]) -> <o:Ox.List> TreeList Object
options <o> Options object options <o> Options object
data <f|null> data to be parsed to items, needs documentation data <f|null> data to be parsed to items, needs documentation
items <a|[]> array of items items <a|[]> array of items

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ListMap <f:Ox.Element> ListMap object Ox.ListMap <f> ListMap object
([options[, self]]) -> <o> ListMap object ([options[, self]]) -> <o:Ox.SplitPanel> ListMap object
options <o> Options object options <o> Options object
height <n|256> Height in px height <n|256> Height in px
labels <b|false> If true, show labels labels <b|false> If true, show labels

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.MapImage <f:Ox.Element> MapImage Object Ox.MapImage <f> MapImage Object
([options[, self]]) -> <o> MapImage Object ([options[, self]]) -> <o:Ox.Element> MapImage Object
options <o> Options object options <o> Options object
height <n|360> image height (px) height <n|360> image height (px)
place <o|null> Object with south, west, north and east properties place <o|null> Object with south, west, north and east properties

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.MapMarker <f> MapMarker Object Ox.MapMarker <f> MapMarker
(options) -> <f> MapMarker Object (options) -> <o> MapMarker object
options <o> Options object options <o> Options object
color <a|[255, 0, 0]> marker color color <a|[255, 0, 0]> marker color
map <o|null> map map <o|null> map

View file

@ -2,7 +2,7 @@
/*@ /*@
Ox.MapPlace <f> MapPlace Object Ox.MapPlace <f> MapPlace Object
(options) -> <f> MapPlace Object (options) -> <o> MapPlace Object
options <o> Options object options <o> Options object
east <n|0> east <n|0>
editing <b|false> editing <b|false>

View file

@ -2,14 +2,13 @@
/*@ /*@
Ox.MapRectangle <f> MapRectangle Object Ox.MapRectangle <f> MapRectangle Object
([options[, self]]) -> <f> MapRectangle Object (options) -> <o> MapRectangle Object
options <o> Options object options <o> Options object
map <o|null> map map <o|null> map
place <o|null> place place <o|null> place
self <o> shared private variable
@*/ @*/
Ox.MapRectangle = function(options, self) { Ox.MapRectangle = function(options) {
var that = this; var that = this;
options = Ox.extend({ options = Ox.extend({

View file

@ -2,15 +2,14 @@
/*@ /*@
Ox.MapRectangleMarker <f> MapRectangleMarker Object Ox.MapRectangleMarker <f> MapRectangleMarker Object
([options[, self]]) -> <o> MapRectangleMarker Object (options) -> <o> MapRectangleMarker Object
options <o> Options object options <o> Options object
map <o|null> map map <o|null> map
place <o|null> place place <o|null> place
position <s|''> position <s|''>
self <o> shared private variable
@*/ @*/
Ox.MapRectangleMarker = function(options, self) { Ox.MapRectangleMarker = function(options) {
options = Ox.extend({ options = Ox.extend({
map: null, map: null,

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.MainMenu <f:Ox.Bar> MainMenu Object Ox.MainMenu <f> MainMenu Object
([options[, self]]) -> <o> MainMenu Object ([options[, self]]) -> <o:Ox.Bar> MainMenu Object
options <o> Options object options <o> Options object
extras <a|[]> extra menus extras <a|[]> extra menus
menus <a|[]> submenus menus <a|[]> submenus

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Menu <f:Ox.Element> Menu Object Ox.Menu <f> Menu Object
([options[, self]]) -> <f> Menu Object ([options[, self]]) -> <o:Ox.Element> Menu Object
options <o> Options object options <o> Options object
element <o> the element the menu is attached to element <o> the element the menu is attached to
id <s> the menu id id <s> the menu id

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.MenuButton <f:Ox.Element> Menu Button Ox.MenuButton <f> Menu Button
([options[, self]]) -> <o> Menu Button ([options[, self]]) -> <o:Ox.Element> Menu Button
options <o> Options object options <o> Options object
disabled <b|false> If true, button is disabled disabled <b|false> If true, button is disabled
id <s|''> Element id id <s|''> Element id

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.MenuItem <f:Ox.Element> MenuItem Object Ox.MenuItem <f> MenuItem Object
([options[, self]]) -> <o> MenuItem Object ([options[, self]]) -> <o:Ox.Element> MenuItem Object
options <o> Options object options <o> Options object
bind <a|[]> fixme: what's this? bind <a|[]> fixme: what's this?
checked <f|null> checked <f|null>

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.CollapsePanel <f:Ox.Element> CollapsePanel Object Ox.CollapsePanel <f> CollapsePanel Object
([options[, self]]) -> <o> CollapsePanel Object ([options[, self]]) -> <o:Ox.Element> CollapsePanel Object
options <o> Options object options <o> Options object
collapsed <b|false> collapsed state collapsed <b|false> collapsed state
extras <a|[]> panel extras extras <a|[]> panel extras

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.SplitPanel <f:Ox.Element> SpliPanel Object Ox.SplitPanel <f> SpliPanel Object
() -> <o> SpliPanel Object ([options[, self]]) -> <o:Ox.Element> SpliPanel Object
(options) -> <o> SpliPanel Object
(options, self) -> <o> SpliPanel Object
options <o> Options object options <o> Options object
elements <[o]|[]> Array of two or three element objects elements <[o]|[]> Array of two or three element objects
collapsible <b|false> If true, can be collapsed (if outer element) collapsible <b|false> If true, can be collapsed (if outer element)

View file

@ -1,9 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.TabPanel <f:Ox.Element> Tabbed panel Ox.TabPanel <f> Tabbed panel
(options) -> <o> Panel ([options[, self]]) -> <o:Ox.SplitPanel> Panel
(options, self) -> <o> Panel
options <o> Options options <o> Options
content <o|f> Content per tab content <o|f> Content per tab
Either <code>({id1: $element1, id2: $element2}}</code> or Either <code>({id1: $element1, id2: $element2}}</code> or

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.AnnotationFolder <f:Ox.Element> AnnotationFolder Object Ox.AnnotationFolder <f> AnnotationFolder Object
([options[, self]]) -> <o> AnnotationFolder Object ([options[, self]]) -> <o:Ox.CollapsePanel> AnnotationFolder Object
options <o> Options object options <o> Options object
editable <b|false> If true, annotations can be added editable <b|false> If true, annotations can be added
id <s> id id <s> id

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.AnnotationPanel <f:Ox.Element> Video Annotation Panel Ox.AnnotationPanel <f> Video Annotation Panel
([options[, self]]) -> <f> AnnotationPanel Object ([options[, self]]) -> <o:Ox.SplitPanel> AnnotationPanel Object
options <o> Options object options <o> Options object
calendarSize <n|256> calendar size calendarSize <n|256> calendar size
clickLink <f|null> click link callback clickLink <f|null> click link callback

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.BlockVideoTimeline <f:Ox.Element> Block Video Timeline Ox.BlockVideoTimeline <f> Block Video Timeline
([options[, self]]) -> <o> Block Video Timeline ([options[, self]]) -> <o:Ox.Element> Block Video Timeline
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.LargeVideoTimeline <f:Ox.Element> LargeTimeline Object Ox.LargeVideoTimeline <f> LargeTimeline Object
() -> <f> LargeTimeline Object ([options[, self]]) -> <o:Ox.Element> LargeTimeline Object
(options) -> <f> LargeTimeline Object
(options, self) -> <f> LargeTimeline Object
options <o> Options object options <o> Options object
self <o> shared private variable self <o> shared private variable
@*/ @*/

View file

@ -1,7 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.SmallVideoTimeline <f:Ox.Element> Small Video Timeline Ox.SmallVideoTimeline <f> Small video timeline
([options[, self]]) -> <o:Ox.Element> Small video timeline
@*/ @*/
Ox.SmallVideoTimeline = function(options, self) { Ox.SmallVideoTimeline = function(options, self) {

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.SmallVideoTimelineImage <f:Ox.Element> Small Video Timeline Image Ox.SmallVideoTimelineImage <f> Small Video Timeline Image
(options[, self]) -> <o> Small Video Timeline Image (options[, self]) -> <o:Ox.Element> Small Video Timeline Image
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.VideoEditor <f:Ox.Element> VideoEditor Object Ox.VideoEditor <f> VideoEditor Object
() -> <o> VideoEditor Object ([options[, self]]) -> <o:Ox.SplitPanel> VideoEditor Object
(options) -> <o> VideoEditor Object
(options, self) -> <o> VideoEditor Object
options <o> Options object options <o> Options object
annotationsCalendarSize <n|256> annotationsCalendarSize <n|256>
self <o> shared private variable self <o> shared private variable

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.VideoEditorPlayer <f:Ox.Element> VideoEditorPlayer Object Ox.VideoEditorPlayer <f> VideoEditorPlayer Object
() -> <o> VideoEditorPlayer Object ([options[, self]]) -> <o:Ox.Element> VideoEditorPlayer Object
(options) -> <o> VideoEditorPlayer Object
(options, self) -> <o> VideoEditorPlayer Object
options <o> Options object options <o> Options object
self <o> shared private variable self <o> shared private variable
@*/ @*/

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.VideoElement <f:Ox.Element> VideoElement Object Ox.VideoElement <f> VideoElement Object
() -> <o> VideoElement Object ([options[, self]]) -> <o:Ox.Element> VideoElement Object
(options) -> <o> VideoElement Object
(options, self) -> <o> VideoElement Object
options <o> Options object options <o> Options object
self <o> shared private variable self <o> shared private variable
@*/ @*/

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.VideoPanel <f:Ox.Element> VideoPanel Object Ox.VideoPanel <f> VideoPanel Object
() -> <o> VideoPanel Object ([options[, self]]) -> <o:Ox.SplitPanel> VideoPanel Object
(options) -> <o> VideoPanel Object
(options, self) -> <o> VideoPanel Object
options <o> Options object options <o> Options object
self <o> shared private variable self <o> shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.VideoPlayer <f:Ox.Element> Generic Video Player Ox.VideoPlayer <f> Generic Video Player
(options, self) -> <o> Video Player ([options[, self]]) -> <o:Ox.Element> Video Player
options <o> Options options <o> Options
annotations <[]> Array of annotations annotations <[]> Array of annotations
id <s> Optional id id <s> Optional id

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.VideoPreview <f:Ox.Element> Video Preview Ox.VideoPreview <f> Video Preview
(options[, self]) -> <o> Video Preview ([options[, self]]) -> <o:Ox.Element> Video Preview
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,7 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.VideoTimelinePanel <f:Ox.Element> VideoTimelinePanel Ox.VideoTimelinePanel <f> Video timeline panel
([options[, self]]) -> <o:Ox.SplitPanel> Video timeline panel
@*/ @*/
Ox.VideoTimelinePanel = function(options, self) { Ox.VideoTimelinePanel = function(options, self) {

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.VideoTimelinePlayer <f:Ox.Element> Video Timeline Player Ox.VideoTimelinePlayer <f> Video Timeline Player
(options[, self]) -> <o> Video Timeline Player ([options[, self]]) -> <o:Ox.SplitPanel> Video Timeline Player
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Dialog <f:Ox.Element> Dialog object Ox.Dialog <f> Dialog object
() -> <o> Dialog object ([options[, self]]) -> <o:Ox.Element> Dialog object
(options) -> <o> Dialog object
(options, self) -> <o> Dialog object
options <o> Options object options <o> Options object
self <o> Shared private variable self <o> Shared private variable
@*/ @*/

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Layer <f:Ox.Element> Background layer for dialogs and menus Ox.Layer <f> Background layer for dialogs and menus
(options, self) -> <o> Layer ([options[, self]]) -> <o:Ox.Element> Layer
options <o> Options options <o> Options
type <s|'dialog'> Layer type ('dialog' or 'menu') type <s|'dialog'> Layer type ('dialog' or 'menu')
self <o> Shared private variable self <o> Shared private variable

View file

@ -1,10 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.Tooltip <f:Ox.Element> Tooltip Object Ox.Tooltip <f> Tooltip Object
() -> <o> Tooltip Object ([options[, self]]) -> <o:Ox.Element> Tooltip Object
(options) -> <o> Tooltip Object
(options, self) -> <o> Tooltip Object
options <o> Options object options <o> Options object
self <o> shared private variable self <o> shared private variable
@*/ @*/