update documentation (classes)

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

View file

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

View file

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

View file

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

View file

@ -2,7 +2,7 @@
/*@
Ox.MapMarkerImage <f> MapMarkerImage Object
(options) -> <o> google.maps.MarkerImage
(options) -> <o> google.maps.MarkerImage
options <o> Options object
color <a|[255, 0, 0]> marker color
mode <s|normal> can be: normal, selected, editing

View file

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

View file

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

View file

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