ListCalendar -> CalendarEditor; ListMap -> MapEditor

This commit is contained in:
rolux 2012-06-05 10:25:27 +02:00
parent 2fd3345328
commit 6c5b8ef0b6
4 changed files with 14 additions and 18 deletions

View file

@ -1,14 +1,13 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ListCalendar <f> List Calendar Ox.CalendarEditor <f> Calendar Editor
([options[, self]]) -> <o:Ox.SplitPanel> List Calendar ([options[, self]]) -> <o:Ox.SplitPanel> Calendar Editor
options <o> Options options <o> Options
self <o> Shared private variable self <o> Shared private variable
@*/ @*/
// FIXME: should be Ox.CalendarEditor
Ox.ListCalendar = function(options, self) { Ox.CalendarEditor = function(options, self) {
self = self || {}; self = self || {};
var that = Ox.Element({}, self) var that = Ox.Element({}, self)
@ -553,7 +552,7 @@ Ox.ListCalendar = function(options, self) {
], ],
orientation: 'horizontal' orientation: 'horizontal'
}) })
.addClass('OxListMap') .addClass('OxCalendarEditor')
); );
// if loaded with selection, set calendar and form // if loaded with selection, set calendar and form

View file

@ -1,8 +1,8 @@
'use strict'; 'use strict';
/*@ /*@
Ox.ListMap <f> ListMap object Ox.MapEditor <f> Map Editor
([options[, self]]) -> <o:Ox.SplitPanel> ListMap object ([options[, self]]) -> <o:Ox.SplitPanel> Map Editor
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
@ -13,9 +13,7 @@ Ox.ListMap <f> ListMap object
self <o> Shared private variable self <o> Shared private variable
@*/ @*/
// FIXME: Should be Ox.MapEditor Ox.MapEditor = function(options, self) {
Ox.ListMap = function(options, self) {
self = self || {}; self = self || {};
var that = Ox.Element({}, self) var that = Ox.Element({}, self)
@ -777,7 +775,7 @@ Ox.ListMap = function(options, self) {
], ],
orientation: 'horizontal' orientation: 'horizontal'
}) })
.addClass('OxListMap') .addClass('OxMapEditor')
); );
function addPlace() { function addPlace() {
@ -1138,7 +1136,7 @@ Ox.ListMap = function(options, self) {
that.focusList = function() { that.focusList = function() {
self.$list.gainFocus(); self.$list.gainFocus();
return that; return that;
} };
/*@ /*@
reloadList <f> reloadList reloadList <f> reloadList
@ -1146,13 +1144,12 @@ Ox.ListMap = function(options, self) {
that.reloadList = function() { that.reloadList = function() {
self.$list.reloadList(); self.$list.reloadList();
return that; return that;
} };
/*@ /*@
resizeMap <f> resizeMap resizeMap <f> resizeMap
@*/ @*/
that.resizeMap = function() { that.resizeMap = function() {
Ox.Log('Map', 'Ox.ListMap.resizeMap()')
self.$map.resizeMap(); self.$map.resizeMap();
return that; return that;
}; };

View file

@ -193,7 +193,7 @@ Calendar
color: rgb(64, 64, 64); color: rgb(64, 64, 64);
} }
.OxThemeClassic .OxListCalendar .OxWarning { .OxThemeClassic .OxCalendarEditor .OxWarning {
border-bottom: 2px dotted rgb(255, 64, 64); border-bottom: 2px dotted rgb(255, 64, 64);
} }
@ -559,7 +559,7 @@ Maps
.OxThemeClassic .OxTypeIcon { .OxThemeClassic .OxTypeIcon {
border-color: rgb(0, 0, 0); border-color: rgb(0, 0, 0);
} }
.OxThemeClassic .OxListMap .OxWarning { .OxThemeClassic .OxMapEditor .OxWarning {
border-bottom: 2px dotted rgb(255, 64, 64); border-bottom: 2px dotted rgb(255, 64, 64);
} }

View file

@ -193,7 +193,7 @@ Calendar
color: rgb(192, 192, 192); color: rgb(192, 192, 192);
} }
.OxThemeModern .OxListCalendar .OxWarning { .OxThemeModern .OxCalendarEditor .OxWarning {
border-bottom: 2px dotted rgb(192, 0, 0); border-bottom: 2px dotted rgb(192, 0, 0);
} }
@ -549,7 +549,7 @@ Maps
.OxThemeModern .OxTypeIcon { .OxThemeModern .OxTypeIcon {
border-color: rgb(255, 255, 255); border-color: rgb(255, 255, 255);
} }
.OxThemeModern .OxListMap .OxWarning { .OxThemeModern .OxMapEditor .OxWarning {
border-bottom: 2px dotted rgb(192, 0, 0); border-bottom: 2px dotted rgb(192, 0, 0);
} }