From d2e05200da4302b9018e4ec8c7fd0bbd19ae5bae Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 18 Jun 2012 00:38:26 +0200 Subject: [PATCH] document events --- source/Ox.UI/js/Bar/Progressbar.js | 9 +++--- source/Ox.UI/js/Calendar/Calendar.js | 1 + source/Ox.UI/js/Calendar/CalendarEditor.js | 1 + source/Ox.UI/js/Code/DocPage.js | 1 + source/Ox.UI/js/Code/DocPanel.js | 7 ++-- source/Ox.UI/js/Code/ExamplePanel.js | 3 ++ source/Ox.UI/js/Core/App.js | 4 ++- source/Ox.UI/js/Form/ArrayEditable.js | 12 +++++++ source/Ox.UI/js/Form/ArrayInput.js | 1 + source/Ox.UI/js/Form/ButtonGroup.js | 6 ++++ source/Ox.UI/js/Form/Checkbox.js | 2 +- source/Ox.UI/js/Form/CheckboxGroup.js | 4 +-- source/Ox.UI/js/Form/ColorInput.js | 1 + source/Ox.UI/js/Form/ColorPicker.js | 2 +- source/Ox.UI/js/Form/DateInput.js | 2 +- source/Ox.UI/js/Form/DateTimeInput.js | 2 +- source/Ox.UI/js/Form/Editable.js | 8 +++++ source/Ox.UI/js/Form/FileButton.js | 1 + source/Ox.UI/js/Form/FileInput.js | 1 + source/Ox.UI/js/Form/Filter.js | 1 + source/Ox.UI/js/Form/Form.js | 3 ++ source/Ox.UI/js/Form/FormElementGroup.js | 3 ++ source/Ox.UI/js/Form/FormPanel.js | 2 ++ source/Ox.UI/js/Form/Input.js | 12 +++++-- source/Ox.UI/js/Form/InputGroup.js | 2 ++ source/Ox.UI/js/Form/ObjectArrayInput.js | 1 + source/Ox.UI/js/Form/ObjectInput.js | 1 + source/Ox.UI/js/Form/Picker.js | 4 +-- source/Ox.UI/js/Form/Range.js | 2 +- source/Ox.UI/js/Form/Select.js | 4 +-- source/Ox.UI/js/Form/Spreadsheet.js | 1 + source/Ox.UI/js/List/List.js | 4 +++ source/Ox.UI/js/List/ListItem.js | 4 +-- source/Ox.UI/js/List/TextList.js | 2 ++ source/Ox.UI/js/Map/Map.js | 4 +++ source/Ox.UI/js/Map/MapEditor.js | 4 +++ source/Ox.UI/js/Menu/Menu.js | 16 +++++---- source/Ox.UI/js/Menu/MenuButton.js | 4 +++ source/Ox.UI/js/Panel/CollapsePanel.js | 1 + source/Ox.UI/js/Panel/SplitPanel.js | 8 ++--- source/Ox.UI/js/Panel/TabPanel.js | 1 + source/Ox.UI/js/Video/AnnotationFolder.js | 16 +++++++++ source/Ox.UI/js/Video/AnnotationPanel.js | 16 +++++++++ source/Ox.UI/js/Video/BlockVideoTimeline.js | 3 ++ source/Ox.UI/js/Video/LargeVideoTimeline.js | 1 + source/Ox.UI/js/Video/SmallVideoTimeline.js | 1 + source/Ox.UI/js/Video/VideoEditor.js | 34 ++++++++++++++++++++ source/Ox.UI/js/Video/VideoEditorPlayer.js | 4 +++ source/Ox.UI/js/Video/VideoElement.js | 6 ++++ source/Ox.UI/js/Video/VideoPanel.js | 23 +++++++++++++ source/Ox.UI/js/Video/VideoPlayer.js | 21 ++++++++++++ source/Ox.UI/js/Video/VideoPreview.js | 1 + source/Ox.UI/js/Video/VideoTimelinePanel.js | 19 +++++++++++ source/Ox.UI/js/Video/VideoTimelinePlayer.js | 7 ++++ source/Ox.UI/js/Window/Dialog.js | 4 +++ source/Ox.UI/js/Window/Layer.js | 1 + 56 files changed, 277 insertions(+), 32 deletions(-) diff --git a/source/Ox.UI/js/Bar/Progressbar.js b/source/Ox.UI/js/Bar/Progressbar.js index 4ebdcf17..7cd4a99f 100644 --- a/source/Ox.UI/js/Bar/Progressbar.js +++ b/source/Ox.UI/js/Bar/Progressbar.js @@ -3,6 +3,11 @@ /*@ Ox.Progressbar Progress Bar ([options[, self]]) -> Progress Bar + cancel cancelled + complete completed + pause paused + restart restart + resume resumed options Options object cancelled If true, progress bar is cancelled paused If true, progress bar is paused @@ -15,10 +20,6 @@ Ox.Progressbar Progress Bar showTooltips If true, buttons have tooltips width Width in px self Shared private variable - cancel cancelled - complete completed - pause paused - resume resumed @*/ Ox.Progressbar = function(options, self) { diff --git a/source/Ox.UI/js/Calendar/Calendar.js b/source/Ox.UI/js/Calendar/Calendar.js index cdf91a63..8be40977 100644 --- a/source/Ox.UI/js/Calendar/Calendar.js +++ b/source/Ox.UI/js/Calendar/Calendar.js @@ -3,6 +3,7 @@ /*@ Ox.Calendar Basic calendar object ([options[, self]]) -> Calendar object + select select options Options object date UTC Date on which the calendar is centered events <[o]|[]> Event objects to be displayed diff --git a/source/Ox.UI/js/Calendar/CalendarEditor.js b/source/Ox.UI/js/Calendar/CalendarEditor.js index 31b35e25..c2b11bd0 100644 --- a/source/Ox.UI/js/Calendar/CalendarEditor.js +++ b/source/Ox.UI/js/Calendar/CalendarEditor.js @@ -5,6 +5,7 @@ Ox.CalendarEditor Calendar Editor ([options[, self]]) -> Calendar Editor options Options self Shared private variable + loadlist loadlist @*/ Ox.CalendarEditor = function(options, self) { diff --git a/source/Ox.UI/js/Code/DocPage.js b/source/Ox.UI/js/Code/DocPage.js index 743bf1ed..0fcfa94e 100644 --- a/source/Ox.UI/js/Code/DocPage.js +++ b/source/Ox.UI/js/Code/DocPage.js @@ -3,6 +3,7 @@ /*@ Ox.DocPage DocPage ([options[, self]]) -> DocPage object + example example options Options object item doc item replace <[[]]|[]> See Ox.SyntaxHighlighter diff --git a/source/Ox.UI/js/Code/DocPanel.js b/source/Ox.UI/js/Code/DocPanel.js index f1060577..1cb43b6a 100644 --- a/source/Ox.UI/js/Code/DocPanel.js +++ b/source/Ox.UI/js/Code/DocPanel.js @@ -3,6 +3,11 @@ /*@ Ox.DocPanel Documentation Panel ([options[, self]]) -> Documentation Panel + load Fires once all docs are loaded + items [o] Array of doc items + tests Fires once all tests finished + results [o] Array of results + select select options Options object collapsible If true, the list can be collabsed element Default content @@ -21,8 +26,6 @@ Ox.DocPanel Documentation Panel showTooltips If true, show test result tooltips in list size Default list size self Shared private variable - load Fires once all docs are loaded - items [o] Array of doc items @*/ Ox.DocPanel = function(options, self) { diff --git a/source/Ox.UI/js/Code/ExamplePanel.js b/source/Ox.UI/js/Code/ExamplePanel.js index 28d25213..9d3b0e4d 100644 --- a/source/Ox.UI/js/Code/ExamplePanel.js +++ b/source/Ox.UI/js/Code/ExamplePanel.js @@ -3,6 +3,9 @@ /*@ Ox.ExamplePanel Example Panel ([options[, self]]) -> Example Panel + load load + select select + id selected example options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Core/App.js b/source/Ox.UI/js/Core/App.js index 1300c4d3..7452b882 100644 --- a/source/Ox.UI/js/Core/App.js +++ b/source/Ox.UI/js/Core/App.js @@ -3,12 +3,12 @@ /*@ Ox.App Basic application instance that communicates with a JSON API ([options]) -> App object + load app loaded options Options object timeout request timeout type HTTP Request type, i.e. 'GET' or 'POST' url JSON API url self Shared private variable - load app loaded @*/ Ox.App = function(options) { @@ -24,6 +24,7 @@ Ox.App = function(options) { }, that = Ox.Element({}, Ox.extend({}, self)); + //@ api api endpoint that.api = Ox.API({ type: self.options.type, timeout: self.options.timeout, @@ -37,6 +38,7 @@ Ox.App = function(options) { }); }); + //@ localStorage Ox.localStorage instance that.localStorage = Ox.localStorage(self.options.name); function getUserData() { diff --git a/source/Ox.UI/js/Form/ArrayEditable.js b/source/Ox.UI/js/Form/ArrayEditable.js index cfe70e49..0682e31e 100644 --- a/source/Ox.UI/js/Form/ArrayEditable.js +++ b/source/Ox.UI/js/Form/ArrayEditable.js @@ -3,6 +3,18 @@ /*@ Ox.ArrayEditable Array Editable ([options[, self]]) -> Array Editable + add add + blur blur + change change + delete delete + edit edit + insert insert + open open + selectafter selectafter + selectbefore selectbefore + selectnone selectnone + select select + submit submit options Options object self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/ArrayInput.js b/source/Ox.UI/js/Form/ArrayInput.js index b5b9dd09..04f8c4cb 100644 --- a/source/Ox.UI/js/Form/ArrayInput.js +++ b/source/Ox.UI/js/Form/ArrayInput.js @@ -10,6 +10,7 @@ Ox.ArrayInput Array input value <[]> value width width self Shared private variable + change change @*/ Ox.ArrayInput = function(options, self) { diff --git a/source/Ox.UI/js/Form/ButtonGroup.js b/source/Ox.UI/js/Form/ButtonGroup.js index d4fcb58b..1c426d50 100644 --- a/source/Ox.UI/js/Form/ButtonGroup.js +++ b/source/Ox.UI/js/Form/ButtonGroup.js @@ -122,10 +122,16 @@ Ox.ButtonGroup = function(options, self) { } } + /*@ + disableButton disableButton + @*/ that.disableButton = function(id) { getButtonById(id).options({disabled: true}); }; + /*@ + enableButton enableButton + @*/ that.enableButton = function(id) { getButtonById(id).options({disabled: false}); }; diff --git a/source/Ox.UI/js/Form/Checkbox.js b/source/Ox.UI/js/Form/Checkbox.js index 5277095f..f8e20b01 100644 --- a/source/Ox.UI/js/Form/Checkbox.js +++ b/source/Ox.UI/js/Form/Checkbox.js @@ -3,6 +3,7 @@ /*@ Ox.Checkbox Checkbox Element ([options[, self]]) -> Checkbox Element + change triggered when value changes options Options object disabled if true, checkbox is disabled group if true, checkbox is part of a group @@ -12,7 +13,6 @@ Ox.Checkbox Checkbox Element value if true, checkbox is checked width width in px self Shared private variable - change triggered when value changes @*/ Ox.Checkbox = function(options, self) { diff --git a/source/Ox.UI/js/Form/CheckboxGroup.js b/source/Ox.UI/js/Form/CheckboxGroup.js index ba48427f..01abeb2c 100644 --- a/source/Ox.UI/js/Form/CheckboxGroup.js +++ b/source/Ox.UI/js/Form/CheckboxGroup.js @@ -3,6 +3,8 @@ /*@ Ox.CheckboxGroup CheckboxGroup Object ([options[, self]]) -> CheckboxGroup Object + change triggered when checked property changes + passes {id, title, value} options Options object checkboxes array of checkboxes max max selected @@ -10,8 +12,6 @@ Ox.CheckboxGroup CheckboxGroup Object type type ("group" or "list") width width in px self shared private variable - change triggered when checked property changes - passes {id, title, value} @*/ Ox.CheckboxGroup = function(options, self) { diff --git a/source/Ox.UI/js/Form/ColorInput.js b/source/Ox.UI/js/Form/ColorInput.js index 0750bb8c..78028802 100644 --- a/source/Ox.UI/js/Form/ColorInput.js +++ b/source/Ox.UI/js/Form/ColorInput.js @@ -3,6 +3,7 @@ /*@ Ox.ColorInput ColorInput Element ([options[, self]]) -> ColorInput Element + change change options Options object mode Mode ('rgb' or 'hsl') value <[n]|[0, 0, 0]> Value diff --git a/source/Ox.UI/js/Form/ColorPicker.js b/source/Ox.UI/js/Form/ColorPicker.js index 8ebdd1f8..a08fd948 100644 --- a/source/Ox.UI/js/Form/ColorPicker.js +++ b/source/Ox.UI/js/Form/ColorPicker.js @@ -3,11 +3,11 @@ /*@ Ox.ColorPicker ColorPicker Element ([options[, self]]) -> ColorPicker Element + change triggered on change of value options Options object mode Mode ('rgb' or 'hsl') value <[n]|[0, 0, 0]> Value self Shared private variable - change triggered on change of value @*/ Ox.ColorPicker = function(options, self) { diff --git a/source/Ox.UI/js/Form/DateInput.js b/source/Ox.UI/js/Form/DateInput.js index ca95edf1..531b2690 100644 --- a/source/Ox.UI/js/Form/DateInput.js +++ b/source/Ox.UI/js/Form/DateInput.js @@ -3,6 +3,7 @@ /*@ Ox.DateInput DateInput Element ([options[, self]]) -> DateInput Element + change triggered on change of value options Options object format format can be short, medium, long value date value, defaults to current date @@ -13,7 +14,6 @@ Ox.DateInput DateInput Element weekday width of weekday input element year width of year input element self Shared private variable - change triggered on change of value @*/ Ox.DateInput = function(options, self) { diff --git a/source/Ox.UI/js/Form/DateTimeInput.js b/source/Ox.UI/js/Form/DateTimeInput.js index 9069e1e1..2f9e6eff 100644 --- a/source/Ox.UI/js/Form/DateTimeInput.js +++ b/source/Ox.UI/js/Form/DateTimeInput.js @@ -3,6 +3,7 @@ /*@ Ox.DateTimeInput DateTimeInput Element ([options[, self]]) -> DateTimeInput Element + change triggered on change of value options Options object ampm false is 24h true is am/pm format options are short, medium, long @@ -10,7 +11,6 @@ Ox.DateTimeInput DateTimeInput Element value defautls to now weekday weekday self Shared private variable - change triggered on change of value @*/ Ox.DateTimeInput = function(options, self) { diff --git a/source/Ox.UI/js/Form/Editable.js b/source/Ox.UI/js/Form/Editable.js index 12f6a69f..9e2348d9 100644 --- a/source/Ox.UI/js/Form/Editable.js +++ b/source/Ox.UI/js/Form/Editable.js @@ -3,6 +3,11 @@ /*@ Ox.Editable Editable element ([options[, self]]) -> Input Element + blur blur + cancel cancel + edit edit + open open + submit submit options Options object editing If true, loads in editing state format Format function @@ -257,6 +262,9 @@ Ox.Editable = function(options, self) { that.triggerEvent('submit', {value: self.options.value}); } + /*@ + css css + @*/ that.css = function(css) { self.css = css; that.$element.css(css); diff --git a/source/Ox.UI/js/Form/FileButton.js b/source/Ox.UI/js/Form/FileButton.js index 7136a2f3..0a1815df 100644 --- a/source/Ox.UI/js/Form/FileButton.js +++ b/source/Ox.UI/js/Form/FileButton.js @@ -3,6 +3,7 @@ /*@ Ox.FileButton File Button ([options[, self]]) -> File Button + click click options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/FileInput.js b/source/Ox.UI/js/Form/FileInput.js index 222b98ec..0194acc3 100644 --- a/source/Ox.UI/js/Form/FileInput.js +++ b/source/Ox.UI/js/Form/FileInput.js @@ -3,6 +3,7 @@ /*@ Ox.FileInput File Input ([options[, self]]) -> File Input + change change options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Filter.js b/source/Ox.UI/js/Form/Filter.js index c364eeed..8f7d68cd 100644 --- a/source/Ox.UI/js/Form/Filter.js +++ b/source/Ox.UI/js/Form/Filter.js @@ -3,6 +3,7 @@ /*@ Ox.Filter Filter Object ([options[, self]]) -> Filter Object + change change options Options object findKeys <[]|[]> keys list list object diff --git a/source/Ox.UI/js/Form/Form.js b/source/Ox.UI/js/Form/Form.js index 8e6bdbc0..65a0018d 100644 --- a/source/Ox.UI/js/Form/Form.js +++ b/source/Ox.UI/js/Form/Form.js @@ -3,6 +3,9 @@ /*@ Ox.Form Form Object ([options[, self]]) -> Form Object + change change + validate validate + submit submit options Options object error error id id diff --git a/source/Ox.UI/js/Form/FormElementGroup.js b/source/Ox.UI/js/Form/FormElementGroup.js index a87af1ae..988fd11c 100644 --- a/source/Ox.UI/js/Form/FormElementGroup.js +++ b/source/Ox.UI/js/Form/FormElementGroup.js @@ -3,6 +3,9 @@ /*@ Ox.FormElementGroup FormElementGroup Element ([options[, self]]) -> FormElementGroup Element + autovalidate autovalidate + change change + validate validate options Options object id element id elements <[o:Ox.Element]|[]> elements in group diff --git a/source/Ox.UI/js/Form/FormPanel.js b/source/Ox.UI/js/Form/FormPanel.js index 93f4cb39..187de87f 100644 --- a/source/Ox.UI/js/Form/FormPanel.js +++ b/source/Ox.UI/js/Form/FormPanel.js @@ -3,6 +3,8 @@ /*@ Ox.FormPanel Form Panel ([options[, self]]) -> Form Panel + change change + validate validate options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Input.js b/source/Ox.UI/js/Form/Input.js index 827c08ae..c4729d5a 100644 --- a/source/Ox.UI/js/Form/Input.js +++ b/source/Ox.UI/js/Form/Input.js @@ -3,6 +3,16 @@ /*@ Ox.Input Input Element ([options[, self]]) -> Input Element + autocomplete autocomplete + autovalidate autovalidate + blur blur + cancel cancel + change input changed event + clear clear + focus focus + insert insert + submit input submit event + validate validate options Options object arrows if true, and type is 'float' or 'int', display arrows arrowStep step when clicking arrows @@ -56,8 +66,6 @@ Ox.Input Input Element validate remote validation width px - change input changed event - submit input submit event @*/ Ox.Input = function(options, self) { diff --git a/source/Ox.UI/js/Form/InputGroup.js b/source/Ox.UI/js/Form/InputGroup.js index a0b51353..c17b5ea5 100644 --- a/source/Ox.UI/js/Form/InputGroup.js +++ b/source/Ox.UI/js/Form/InputGroup.js @@ -3,6 +3,8 @@ /*@ Ox.InputGroup InputGroup Object ([options[, self]]) -> InputGroup Object + change change + validate validate options Options object id id inputs inputs diff --git a/source/Ox.UI/js/Form/ObjectArrayInput.js b/source/Ox.UI/js/Form/ObjectArrayInput.js index ce5009ce..e0890e10 100644 --- a/source/Ox.UI/js/Form/ObjectArrayInput.js +++ b/source/Ox.UI/js/Form/ObjectArrayInput.js @@ -3,6 +3,7 @@ /*@ Ox.ObjectArrayInput Object Array Input ([options[, self]]) -> Object Array Input + change change options Options buttonTitles inputs diff --git a/source/Ox.UI/js/Form/ObjectInput.js b/source/Ox.UI/js/Form/ObjectInput.js index 68b401a9..004e041e 100644 --- a/source/Ox.UI/js/Form/ObjectInput.js +++ b/source/Ox.UI/js/Form/ObjectInput.js @@ -3,6 +3,7 @@ /*@ Ox.ObjectInput Object Input ([options[, self]]) -> Object Input + change change options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Picker.js b/source/Ox.UI/js/Form/Picker.js index 82e192f8..4af82bd0 100644 --- a/source/Ox.UI/js/Form/Picker.js +++ b/source/Ox.UI/js/Form/Picker.js @@ -3,14 +3,14 @@ /*@ Ox.Picker Picker Object ([options[, self]]) -> Picker Object + show picker is shown + hide picker is hidden options Options object element picker element elementHeight height elemementWidth width id picker id overlap select button overlap value - show picker is shown - hide picker is hidden @*/ Ox.Picker = function(options, self) { diff --git a/source/Ox.UI/js/Form/Range.js b/source/Ox.UI/js/Form/Range.js index e8ab77d7..6d69ed5d 100644 --- a/source/Ox.UI/js/Form/Range.js +++ b/source/Ox.UI/js/Form/Range.js @@ -3,6 +3,7 @@ /*@ Ox.Range Range Object ([options[, self]]) -> Range Object + change triggered on change of the range options Options object arrows if true, show arrows arrowStep step when clicking arrows @@ -22,7 +23,6 @@ Ox.Range Range Object value initial value values <[s]> values to display on thumb self shared private variable - change triggered on change of the range @*/ Ox.Range = function(options, self) { diff --git a/source/Ox.UI/js/Form/Select.js b/source/Ox.UI/js/Form/Select.js index 24f43289..cbf456e0 100644 --- a/source/Ox.UI/js/Form/Select.js +++ b/source/Ox.UI/js/Form/Select.js @@ -3,6 +3,8 @@ /*@ Ox.Select Select Object ([options[, self]) -> Select Object + click Click event + change Change event options Options object disabled If true, select is disabled id Element id @@ -24,8 +26,6 @@ Ox.Select Select Object value Selected id, or array of selected ids width Width in px, or 'auto' self Shared private variable - click Click event - change Change event @*/ Ox.Select = function(options, self) { diff --git a/source/Ox.UI/js/Form/Spreadsheet.js b/source/Ox.UI/js/Form/Spreadsheet.js index 2947f61b..018a363f 100644 --- a/source/Ox.UI/js/Form/Spreadsheet.js +++ b/source/Ox.UI/js/Form/Spreadsheet.js @@ -3,6 +3,7 @@ /*@ Ox.Spreadsheet Spreadsheet ([options[, self]]) -> Spreadsheet + change change options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/List/List.js b/source/Ox.UI/js/List/List.js index 56c96149..f204e502 100644 --- a/source/Ox.UI/js/List/List.js +++ b/source/Ox.UI/js/List/List.js @@ -23,6 +23,7 @@ Ox.List List constructor unique name of the key that acts as unique id self shared private variable ([options[, self]]) -> List object + init init add item added delete item removed draganddrop Fires during drag @@ -38,6 +39,9 @@ Ox.List List constructor openpreview preview of selected item opened closepreview preview closed select select item + selectafter selectafter + selectbefore selectbefore + toggle toggle @*/ // fixme: rename the add event to new, or the delete event to remove diff --git a/source/Ox.UI/js/List/ListItem.js b/source/Ox.UI/js/List/ListItem.js index 128988c2..53891f99 100644 --- a/source/Ox.UI/js/List/ListItem.js +++ b/source/Ox.UI/js/List/ListItem.js @@ -3,6 +3,8 @@ /*@ Ox.ListItem ListItem Object ([options[, self]]) -> ListItem Object + cancel triggered if cancel button is pressed + save triggered if save button is pressed options Options object construct construct function data item data @@ -10,8 +12,6 @@ Ox.ListItem ListItem Object position item position unique unique key self shared private variable - cancel triggered if cancel button is pressed - save triggered if save button is pressed @*/ Ox.ListItem = function(options, self) { diff --git a/source/Ox.UI/js/List/TextList.js b/source/Ox.UI/js/List/TextList.js index dd835473..6d86afde 100644 --- a/source/Ox.UI/js/List/TextList.js +++ b/source/Ox.UI/js/List/TextList.js @@ -36,6 +36,8 @@ Ox.TextList TextList Object sort <[o]|[s]|[]> ['+foo', ...] or [{key: 'foo', operator: '+'}, ...] sortable If true, elements can be re-ordered sums <[s]|[]> Sums to be included in totals + columnresize columnresize + columnchange columnchange self shared private variable @*/ diff --git a/source/Ox.UI/js/Map/Map.js b/source/Ox.UI/js/Map/Map.js index 978109d2..160a150a 100644 --- a/source/Ox.UI/js/Map/Map.js +++ b/source/Ox.UI/js/Map/Map.js @@ -73,8 +73,12 @@ Ox.Map Basic map object lat Latitude lng Longitude types <[s]> Types (like "country" or "political") + load load + select select selectplace Fires when a place has been selected or deselected place Place object + togglecontrols togglecontrols + togglelabels togglelabels @*/ Ox.Map = function(options, self) { diff --git a/source/Ox.UI/js/Map/MapEditor.js b/source/Ox.UI/js/Map/MapEditor.js index 89135980..71a67694 100644 --- a/source/Ox.UI/js/Map/MapEditor.js +++ b/source/Ox.UI/js/Map/MapEditor.js @@ -3,6 +3,10 @@ /*@ Ox.MapEditor Map Editor ([options[, self]]) -> Map Editor + addplace addplace + removeplace removeplace + geocode geocode + loadlist loadlist options Options object height Height in px labels If true, show labels diff --git a/source/Ox.UI/js/Menu/Menu.js b/source/Ox.UI/js/Menu/Menu.js index 9967becb..05da67ee 100644 --- a/source/Ox.UI/js/Menu/Menu.js +++ b/source/Ox.UI/js/Menu/Menu.js @@ -3,6 +3,16 @@ /*@ Ox.Menu Menu Object ([options[, self]]) -> Menu Object + change_groupId {id, value} checked item of a group has changed + click_itemId item not belonging to a group was clicked + click_menuId {id, value} item not belonging to a group was clicked + deselect_menuId {id, value} item was deselected not needed, not implemented + hide_menuId menu was hidden + select_menuId {id, value} item was selected + click click + change change + select select + deselect deselect options Options object element the element the menu is attached to id the menu id @@ -16,12 +26,6 @@ Ox.Menu Menu Object side open to 'bottom' or 'right' size 'large', 'medium' or 'small' self shared private variable - change_groupId {id, value} checked item of a group has changed - click_itemId item not belonging to a group was clicked - click_menuId {id, value} item not belonging to a group was clicked - deselect_menuId {id, value} item was deselected not needed, not implemented - hide_menuId menu was hidden - select_menuId {id, value} item was selected @*/ Ox.Menu = function(options, self) { diff --git a/source/Ox.UI/js/Menu/MenuButton.js b/source/Ox.UI/js/Menu/MenuButton.js index 9377dab5..90b80571 100644 --- a/source/Ox.UI/js/Menu/MenuButton.js +++ b/source/Ox.UI/js/Menu/MenuButton.js @@ -15,6 +15,10 @@ Ox.MenuButton Menu Button e Mouse event type Type ('text' or 'image') width Width in px, or 'auto' + click click + change change + hide hide + show show @*/ Ox.MenuButton = function(options, self) { diff --git a/source/Ox.UI/js/Panel/CollapsePanel.js b/source/Ox.UI/js/Panel/CollapsePanel.js index 2643717f..df6493a8 100644 --- a/source/Ox.UI/js/Panel/CollapsePanel.js +++ b/source/Ox.UI/js/Panel/CollapsePanel.js @@ -3,6 +3,7 @@ /*@ Ox.CollapsePanel CollapsePanel Object ([options[, self]]) -> CollapsePanel Object + toggle toggle options Options object collapsed collapsed state extras panel extras diff --git a/source/Ox.UI/js/Panel/SplitPanel.js b/source/Ox.UI/js/Panel/SplitPanel.js index 57503a40..4306e0d8 100644 --- a/source/Ox.UI/js/Panel/SplitPanel.js +++ b/source/Ox.UI/js/Panel/SplitPanel.js @@ -3,6 +3,10 @@ /*@ Ox.SplitPanel SpliPanel Object ([options[, self]]) -> SpliPanel Object + resize resize + Fires on resize, on both elements being resized + toggle toggle + Fires on collapse or expand, on the element being toggled options Options object elements <[o]|[]> Array of two or three element objects collapsible If true, can be collapsed (if outer element) @@ -16,10 +20,6 @@ Ox.SplitPanel SpliPanel Object tooltip If true, show tooltip, if string, append it orientation orientation ("horizontal" or "vertical") self shared private variable - resize resize - Fires on resize, on both elements being resized - toggle toggle - Fires on collapse or expand, on the element being toggled @*/ Ox.SplitPanel = function(options, self) { diff --git a/source/Ox.UI/js/Panel/TabPanel.js b/source/Ox.UI/js/Panel/TabPanel.js index 7b9a1723..8fd79fe7 100644 --- a/source/Ox.UI/js/Panel/TabPanel.js +++ b/source/Ox.UI/js/Panel/TabPanel.js @@ -3,6 +3,7 @@ /*@ Ox.TabPanel Tabbed panel ([options[, self]]) -> Panel + change change options Options content Content per tab Either `({id1: $element1, id2: $element2}}` or `function(id) { diff --git a/source/Ox.UI/js/Video/AnnotationFolder.js b/source/Ox.UI/js/Video/AnnotationFolder.js index def56d93..27316175 100644 --- a/source/Ox.UI/js/Video/AnnotationFolder.js +++ b/source/Ox.UI/js/Video/AnnotationFolder.js @@ -3,6 +3,22 @@ /*@ Ox.AnnotationFolder AnnotationFolder Object ([options[, self]]) -> AnnotationFolder Object + add add + blur blur + change change + edit edit + info info + insert insert + key_* key_* + open open + remove remove + selectafter selectafter + selectbefore selectbefore + selectnone selectnone + select select + submit submit + togglelayer togglelayer + togglewidget togglewidget options Options object editable If true, annotations can be added id id diff --git a/source/Ox.UI/js/Video/AnnotationPanel.js b/source/Ox.UI/js/Video/AnnotationPanel.js index f5695c4f..c137520f 100644 --- a/source/Ox.UI/js/Video/AnnotationPanel.js +++ b/source/Ox.UI/js/Video/AnnotationPanel.js @@ -3,6 +3,22 @@ /*@ Ox.AnnotationPanel Video Annotation Panel ([options[, self]]) -> AnnotationPanel Object + add add + annotationsID annotationsID + blur blur + change change + define define + edit edit + findannotations findannotations + find find + focus focus + info info + open open + remove remove + resize resize + submit submit + togglelayer togglelayer + toggle* toggle* options Options object calendarSize calendar size clickLink click link callback diff --git a/source/Ox.UI/js/Video/BlockVideoTimeline.js b/source/Ox.UI/js/Video/BlockVideoTimeline.js index 3b90676e..6511eefa 100644 --- a/source/Ox.UI/js/Video/BlockVideoTimeline.js +++ b/source/Ox.UI/js/Video/BlockVideoTimeline.js @@ -3,6 +3,9 @@ /*@ Ox.BlockVideoTimeline Block Video Timeline ([options[, self]]) -> Block Video Timeline + edit edit + select select + position position options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Video/LargeVideoTimeline.js b/source/Ox.UI/js/Video/LargeVideoTimeline.js index 131cc27e..486ff631 100644 --- a/source/Ox.UI/js/Video/LargeVideoTimeline.js +++ b/source/Ox.UI/js/Video/LargeVideoTimeline.js @@ -5,6 +5,7 @@ Ox.LargeVideoTimeline LargeTimeline Object ([options[, self]]) -> LargeTimeline Object options Options object self shared private variable + position position @*/ Ox.LargeVideoTimeline = function(options, self) { diff --git a/source/Ox.UI/js/Video/SmallVideoTimeline.js b/source/Ox.UI/js/Video/SmallVideoTimeline.js index cfd099fa..63baccf7 100644 --- a/source/Ox.UI/js/Video/SmallVideoTimeline.js +++ b/source/Ox.UI/js/Video/SmallVideoTimeline.js @@ -3,6 +3,7 @@ /*@ Ox.SmallVideoTimeline Small video timeline ([options[, self]]) -> Small video timeline + position position @*/ Ox.SmallVideoTimeline = function(options, self) { diff --git a/source/Ox.UI/js/Video/VideoEditor.js b/source/Ox.UI/js/Video/VideoEditor.js index 78809ff5..e280396f 100644 --- a/source/Ox.UI/js/Video/VideoEditor.js +++ b/source/Ox.UI/js/Video/VideoEditor.js @@ -3,6 +3,40 @@ /*@ Ox.VideoEditor VideoEditor Object ([options[, self]]) -> VideoEditor Object + addannotation addannotation + annotationsfont annotationsfont + annotationsrange annotationsrange + annotationssize annotationssize + annotationssort annotationssort + censored censored + define define + downloadselection downloadselection + downloadvideo downloadvideo + editannotation editannotation + editannotation editannotation + embedselection embedselection + findannotations findannotations + find find + importannotations importannotations + info info + key_* key_* + muted muted + paused paused + points points + position position + posterframe posterframe + removeannotation removeannotation + resizecalendar resizecalendar + resizemap resizemap + resolution resolution + select select + subtitles subtitles + timeline timeline + toggleannotations toggleannotations + togglecalendar togglecalendar + togglelayer togglelayer + togglemap togglemap + volume volume options Options object annotationsCalendarSize self shared private variable diff --git a/source/Ox.UI/js/Video/VideoEditorPlayer.js b/source/Ox.UI/js/Video/VideoEditorPlayer.js index 0439f1e8..0d369602 100644 --- a/source/Ox.UI/js/Video/VideoEditorPlayer.js +++ b/source/Ox.UI/js/Video/VideoEditorPlayer.js @@ -3,6 +3,10 @@ /*@ Ox.VideoEditorPlayer VideoEditorPlayer Object ([options[, self]]) -> VideoEditorPlayer Object + change change + playing playing + set set + togglesize togglesize options Options object self shared private variable @*/ diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 86be9017..52894708 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -3,6 +3,12 @@ /*@ Ox.VideoElement VideoElement Object ([options[, self]]) -> VideoElement Object + loadedmetadata loadedmetadata + pointschange pointschange + seeked seeked + seeking seeking + sizechange sizechange + ended ended options Options object self shared private variable @*/ diff --git a/source/Ox.UI/js/Video/VideoPanel.js b/source/Ox.UI/js/Video/VideoPanel.js index 11aff373..304c6149 100644 --- a/source/Ox.UI/js/Video/VideoPanel.js +++ b/source/Ox.UI/js/Video/VideoPanel.js @@ -3,8 +3,31 @@ /*@ Ox.VideoPanel VideoPanel Object ([options[, self]]) -> VideoPanel Object + find find + info info + key_* key_* + muted muted + paused paused + position position + resizecalendar resizecalendar + resolution resolution + scale scale + select select + subtitles subtitles + toggleannotations toggleannotations + togglecalendar togglecalendar + togglelayer togglelayer + togglemap togglemap + toggletimeline toggletimeline + volume volume options Options object self shared private variable + annotationsfont annotationsfont + annotationsrange annotationsrange + annotationssize annotationssize + annotationssort annotationssort + censored censored + downloadvideo downloadvideo @*/ Ox.VideoPanel = function(options, self) { diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index 67b8c086..0da8ad08 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -3,6 +3,27 @@ /*@ Ox.VideoPlayer Generic Video Player ([options[, self]]) -> Video Player + censored censored + close close + download download + ended ended + find find + fullscreen fullscreen + gotopoint gotopoint + loadedmetadata loadedmetadata + muted muted + open open + paused paused + playing playing + position position + resolution resolution + scale scale + select select + setpoint setpoint + size size + subtitles subtitles + volume volume + zap zap options Options annotations <[]> Array of annotations id Optional id diff --git a/source/Ox.UI/js/Video/VideoPreview.js b/source/Ox.UI/js/Video/VideoPreview.js index b6bb3d18..1c11abd9 100644 --- a/source/Ox.UI/js/Video/VideoPreview.js +++ b/source/Ox.UI/js/Video/VideoPreview.js @@ -3,6 +3,7 @@ /*@ Ox.VideoPreview Video Preview ([options[, self]]) -> Video Preview + click click options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Video/VideoTimelinePanel.js b/source/Ox.UI/js/Video/VideoTimelinePanel.js index 96d23042..094b9c82 100644 --- a/source/Ox.UI/js/Video/VideoTimelinePanel.js +++ b/source/Ox.UI/js/Video/VideoTimelinePanel.js @@ -3,6 +3,25 @@ /*@ Ox.VideoTimelinePanel Video timeline panel ([options[, self]]) -> Video timeline panel + annoationssize annoationssize + annotationsfont annotationsfont + annotationsrange annotationsrange + annotationssort annotationssort + censored censored + follow follow + info info + muted muted + paused paused + position position + resizecalendar resizecalendar + resizemap resizemap + select select + timeline timeline + toggleannotations toggleannotations + togglecalendar togglecalendar + togglelayer togglelayer + togglemap togglemap + volume volume @*/ Ox.VideoTimelinePanel = function(options, self) { diff --git a/source/Ox.UI/js/Video/VideoTimelinePlayer.js b/source/Ox.UI/js/Video/VideoTimelinePlayer.js index 380780a9..157e93ea 100644 --- a/source/Ox.UI/js/Video/VideoTimelinePlayer.js +++ b/source/Ox.UI/js/Video/VideoTimelinePlayer.js @@ -3,6 +3,13 @@ /*@ Ox.VideoTimelinePlayer Video Timeline Player ([options[, self]]) -> Video Timeline Player + censored censored + follow follow + muted muted + playing playing + position position + timeline timeline + volume volume options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Window/Dialog.js b/source/Ox.UI/js/Window/Dialog.js index c133255f..b51cb922 100644 --- a/source/Ox.UI/js/Window/Dialog.js +++ b/source/Ox.UI/js/Window/Dialog.js @@ -3,6 +3,10 @@ /*@ Ox.Dialog Dialog object ([options[, self]]) -> Dialog object + close close + open open + resizeend resizeend + resize resize options Options object self Shared private variable @*/ diff --git a/source/Ox.UI/js/Window/Layer.js b/source/Ox.UI/js/Window/Layer.js index 2ab9ac7e..2dc322ee 100644 --- a/source/Ox.UI/js/Window/Layer.js +++ b/source/Ox.UI/js/Window/Layer.js @@ -3,6 +3,7 @@ /*@ Ox.Layer Background layer for dialogs and menus ([options[, self]]) -> Layer + click click options Options type Layer type ('dialog' or 'menu') self Shared private variable