From: Raymond I. <xw...@ya...> - 2003-10-02 04:18:32
|
Hello Everyone, As it relates to the future of Widget creation, do you think we should go Stylable Widgets (like the ones that use the StyleManager) or should we stick to traditional Widget design? Please give your answer and reason why -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Daniel T. <de...@ti...> - 2003-10-02 08:34:42
|
Hi Raymond! I still actually dont get the style manager completly... I have found styles in the gui catalog, but forgive me if i am a bit slow. But i dont really get it :( Say i have the viewpane and by default it uses a style like viewpane.style (or am i already out of the area)? How do i change the style for that one without modifying the source of the viewpane.style? Do I have to make a copy of it, edit it and add it to packages.js? Or is there some other way? Cause i think dynAPI will always be updated, meaning you always have to get a new packages file, witch will overwrite your personal entry. I think i have seen or atleast think i have seen, that you dont need to add stuff to packages but can do that in your code on your page? Is it this way we should do it? Sorry for beeing a bit slow, but its so mutch to keep track on. I would vote for the stylemanager, if i could understand it. Could you make any basic example using a external style who is outside of the dynapi structure, how to change the style and so on? Make it a very simple example so atleast i get it :) Maybee I'm not alone and thats why noone else responds :) Best regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: den 2 oktober 2003 06:18 To: DynAPI-Dev Subject: [Dynapi-Dev] Question for developers.... Hello Everyone, As it relates to the future of Widget creation, do you think we should go Stylable Widgets (like the ones that use the StyleManager) or should we stick to traditional Widget design? Please give your answer and reason why -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-10-02 14:16:32
|
Well Daniel I guess you're correct on this one. the StyleManager is not fully documented that's why it might take some getting use to. I'll go ahead and redesign it and add some basic examples and documentation. PS. Please remember that the StyleManager Components are main for demo use. The final design should however be 95% compatible with the current. -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > Hi Raymond! > > I still actually dont get the style manager > completly... > > I have found styles in the gui catalog, but forgive > me if i am a bit > slow. But i dont really get it :( > > Say i have the viewpane and by default it uses a > style like > viewpane.style (or am i already out of the area)? > How do i change the style for that one without > modifying the source of > the viewpane.style? Do I have to make a copy of it, > edit it and add it > to packages.js? > > Or is there some other way? Cause i think dynAPI > will always be updated, > meaning you always have to get a new packages file, > witch will overwrite > your personal entry. I think i have seen or atleast > think i have seen, > that you dont need to add stuff to packages but can > do that in your code > on your page? Is it this way we should do it? > > Sorry for beeing a bit slow, but its so mutch to > keep track on. > > I would vote for the stylemanager, if i could > understand it. Could you > make any basic example using a external style who is > outside of the > dynapi structure, how to change the style and so on? > Make it a very > simple example so atleast i get it :) Maybee I'm not > alone and thats why > noone else responds :) > > Best regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: den 2 oktober 2003 06:18 > To: DynAPI-Dev > Subject: [Dynapi-Dev] Question for developers.... > > > Hello Everyone, > > As it relates to the future of Widget creation, do > you > think we should go Stylable Widgets (like the ones > that use the StyleManager) or should we stick to > traditional Widget design? > > Please give your answer and reason why > > > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Daniel T. <de...@ti...> - 2003-10-05 19:46:28
|
+ Renamed window to PanelBar - PanelBar: removed function setdragable + PanelBar: Renamed minimizewindow to minimize + PanelBar: Renamed maximizewindow to maximize + Stacker: Added missed Semicolons + Updated quickref and examples for PanelBar and Stacker Regards Daniel |
From: Raymond I. <xw...@ya...> - 2003-10-06 03:08:56
|
Hi Daniel, The PanelBar and Stacker Class looks very good! I think it's a very cool widget indeed! Using stacker a programmer can easily create something like the Micrsoft Outlook Bar. I just have a few things to say concerning the PanelBar widget: 1) IMO I don't think the lyrMenu agrument should be inside the constructor. This method will require the user to create both a menu and a content area. It's simpler to give them a default menu and allow them to change it later: var pb = new PanelBar(content) ... // (Optional) here the user can change the menu pb.setMenuContent(new DynLayer()); Another thing that I try to do when creating widgets is to arrange my arguments in such a manner that most frequently used arguments appears first. IMO I would arrange the contructor agruments like this: PanelBar(lyrcnt,x,y,w,h,minimized,mnuheight) The "mnucss" "cntcss" can be set by the user so I don't see these as necessary inside the constructor: var content = new DynLayer(); content.setClass('content_class'); // user sets the class here pb.setContent(content); .... var menu = new DynLayer(); menu.setClass('menu_class'); // user sets the class here pb.setMenuContent(menu); 2) Whenever the panel is minimized or maximized the menu.setHTML() function is call throughout the entire animation loop. This should be avoided. 3) It would also be nice to provide an function to turn on or off the animation. example: pb.setAnimated(false); 4) It would be nice if the widget could trigger a minimize and maximized event when the appropiate button is pressed. 5) Change line 54 to read: var p = dynapi.setPrototype('PanelBar','DynLayer'); By doing this a programmer and take advantage of the isClass() and getClass() functions 6) I don't think setDraging() is necessary since the user can call the setDragEnabled function when DragEvent is included best regards, -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > + Renamed window to PanelBar > - PanelBar: removed function setdragable > + PanelBar: Renamed minimizewindow to minimize > + PanelBar: Renamed maximizewindow to maximize > + Stacker: Added missed Semicolons > + Updated quickref and examples for PanelBar and > Stacker > > Regards > Daniel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Daniel T. <de...@ti...> - 2003-10-06 08:34:03
|
Hi Raymond! Great feedback, thanks. Regarding: 3) It would also be nice to provide an function to turn on or off the animation. What do you mean by this? Do you mean like turning on the step by step sizing or to deactivate the minimize / maximize functionallity? Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: den 6 oktober 2003 05:09 To: dyn...@li... Subject: Re: [Dynapi-Dev] Updates in CVS - PanelBar: Hi Daniel, The PanelBar and Stacker Class looks very good! I think it's a very cool widget indeed! Using stacker a programmer can easily create something like the Micrsoft Outlook Bar. I just have a few things to say concerning the PanelBar widget: 1) IMO I don't think the lyrMenu agrument should be inside the constructor. This method will require the user to create both a menu and a content area. It's simpler to give them a default menu and allow them to change it later: var pb = new PanelBar(content) ... // (Optional) here the user can change the menu pb.setMenuContent(new DynLayer()); Another thing that I try to do when creating widgets is to arrange my arguments in such a manner that most frequently used arguments appears first. IMO I would arrange the contructor agruments like this: PanelBar(lyrcnt,x,y,w,h,minimized,mnuheight) The "mnucss" "cntcss" can be set by the user so I don't see these as necessary inside the constructor: var content = new DynLayer(); content.setClass('content_class'); // user sets the class here pb.setContent(content); .... var menu = new DynLayer(); menu.setClass('menu_class'); // user sets the class here pb.setMenuContent(menu); 2) Whenever the panel is minimized or maximized the menu.setHTML() function is call throughout the entire animation loop. This should be avoided. 3) It would also be nice to provide an function to turn on or off the animation. example: pb.setAnimated(false); 4) It would be nice if the widget could trigger a minimize and maximized event when the appropiate button is pressed. 5) Change line 54 to read: var p = dynapi.setPrototype('PanelBar','DynLayer'); By doing this a programmer and take advantage of the isClass() and getClass() functions 6) I don't think setDraging() is necessary since the user can call the setDragEnabled function when DragEvent is included best regards, -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > + Renamed window to PanelBar > - PanelBar: removed function setdragable > + PanelBar: Renamed minimizewindow to minimize > + PanelBar: Renamed maximizewindow to maximize > + Stacker: Added missed Semicolons > + Updated quickref and examples for PanelBar and > Stacker > > Regards > Daniel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-10-06 14:10:28
|
See below: --- Daniel Tiru <de...@ti...> wrote: > Hi Raymond! > > Great feedback, thanks. > > Regarding: > 3) It would also be nice to provide an function to > turn on or off the animation. > > What do you mean by this? Do you mean like turning > on the step by step > sizing or to deactivate the minimize / maximize > functionallity? Yep, that's what I meant. I guess that should be a simple thing to do :) -- Rayomond Irving > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: den 6 oktober 2003 05:09 > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Updates in CVS - PanelBar: > > > Hi Daniel, > > The PanelBar and Stacker Class looks very good! > > I think it's a very cool widget indeed! Using > stacker > a programmer can easily create something like the > Micrsoft Outlook Bar. > > I just have a few things to say concerning the > PanelBar widget: > > 1) IMO I don't think the lyrMenu agrument should be > inside the constructor. This method will require the > user to create both a menu and a content area. It's > simpler to give them a default menu and allow them > to > change it later: > > var pb = new PanelBar(content) > ... > // (Optional) here the user can change the menu > pb.setMenuContent(new > DynLayer()); > > Another thing that I try to do when creating widgets > is to arrange my arguments in such a manner that > most frequently used > arguments appears first. IMO I would arrange the > contructor agruments > like this: > > PanelBar(lyrcnt,x,y,w,h,minimized,mnuheight) > > The "mnucss" "cntcss" can be set by the user so I > don't see these as necessary inside the constructor: > > var content = new DynLayer(); > content.setClass('content_class'); // user > sets the class here pb.setContent(content); .... var > menu = new > DynLayer(); menu.setClass('menu_class'); // user > sets the class here > pb.setMenuContent(menu); > > > 2) Whenever the panel is minimized or maximized the > menu.setHTML() function is call throughout the > entire > animation loop. This should be avoided. > > 3) It would also be nice to provide an function to > turn on or off the animation. > > example: > > pb.setAnimated(false); > > > 4) It would be nice if the widget could trigger a > minimize and maximized event when the appropiate > button is pressed. > > 5) Change line 54 to read: > > var p = dynapi.setPrototype('PanelBar','DynLayer'); > > By doing this a programmer and take advantage of the > isClass() and getClass() functions > > 6) I don't think setDraging() is necessary since the > user can call the setDragEnabled function when > DragEvent is included > > best regards, > > -- > Raymond Irving > --- Daniel Tiru <de...@ti...> wrote: > > + Renamed window to PanelBar > > - PanelBar: removed function setdragable > > + PanelBar: Renamed minimizewindow to minimize > > + PanelBar: Renamed maximizewindow to maximize > > + Stacker: Added missed Semicolons > > + Updated quickref and examples for PanelBar and > > Stacker > > > > Regards > > Daniel > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Daniel T. <de...@ti...> - 2003-10-06 14:24:30
|
Hi Raymond! There will be no minimize / maximize images and "no way"(you still can call the methods manually) to call the function if you dont write the htmlcode "{@min}" in the menu layer. Is that enuff you think? Or is it vital to add more functionallity to be able to turn it off in the other way (by a method)? Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: den 6 oktober 2003 16:10 To: dyn...@li... Subject: RE: [Dynapi-Dev] Updates in CVS - PanelBar: See below: --- Daniel Tiru <de...@ti...> wrote: > Hi Raymond! > > Great feedback, thanks. > > Regarding: > 3) It would also be nice to provide an function to > turn on or off the animation. > > What do you mean by this? Do you mean like turning > on the step by step > sizing or to deactivate the minimize / maximize functionallity? Yep, that's what I meant. I guess that should be a simple thing to do :) -- Rayomond Irving > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: den 6 oktober 2003 05:09 > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Updates in CVS - PanelBar: > > > Hi Daniel, > > The PanelBar and Stacker Class looks very good! > > I think it's a very cool widget indeed! Using > stacker > a programmer can easily create something like the > Micrsoft Outlook Bar. > > I just have a few things to say concerning the > PanelBar widget: > > 1) IMO I don't think the lyrMenu agrument should be > inside the constructor. This method will require the > user to create both a menu and a content area. It's > simpler to give them a default menu and allow them > to > change it later: > > var pb = new PanelBar(content) > ... > // (Optional) here the user can change the menu pb.setMenuContent(new > DynLayer()); > > Another thing that I try to do when creating widgets > is to arrange my arguments in such a manner that > most frequently used > arguments appears first. IMO I would arrange the > contructor agruments > like this: > > PanelBar(lyrcnt,x,y,w,h,minimized,mnuheight) > > The "mnucss" "cntcss" can be set by the user so I > don't see these as necessary inside the constructor: > > var content = new DynLayer(); content.setClass('content_class'); // > user sets the class here pb.setContent(content); .... var > menu = new > DynLayer(); menu.setClass('menu_class'); // user > sets the class here > pb.setMenuContent(menu); > > > 2) Whenever the panel is minimized or maximized the > menu.setHTML() function is call throughout the > entire > animation loop. This should be avoided. > > 3) It would also be nice to provide an function to > turn on or off the animation. > > example: > > pb.setAnimated(false); > > > 4) It would be nice if the widget could trigger a > minimize and maximized event when the appropiate > button is pressed. > > 5) Change line 54 to read: > > var p = dynapi.setPrototype('PanelBar','DynLayer'); > > By doing this a programmer and take advantage of the > isClass() and getClass() functions > > 6) I don't think setDraging() is necessary since the > user can call the setDragEnabled function when > DragEvent is included > > best regards, > > -- > Raymond Irving > --- Daniel Tiru <de...@ti...> wrote: > > + Renamed window to PanelBar > > - PanelBar: removed function setdragable > > + PanelBar: Renamed minimizewindow to minimize > > + PanelBar: Renamed maximizewindow to maximize > > + Stacker: Added missed Semicolons > > + Updated quickref and examples for PanelBar and > > Stacker > > > > Regards > > Daniel > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |
From: Daniel T. <de...@ti...> - 2003-10-06 14:24:57
|
Hi Raymond! There will be no minimize / maximize images and "no way"(you still can call the methods manually) to call the function if you dont write the htmlcode "{@min}" in the menu layer. Is that enuff you think? Or is it vital to add more functionallity to be able to turn it off in the other way (by a method)? Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: den 6 oktober 2003 16:10 To: dyn...@li... Subject: RE: [Dynapi-Dev] Updates in CVS - PanelBar: See below: --- Daniel Tiru <de...@ti...> wrote: > Hi Raymond! > > Great feedback, thanks. > > Regarding: > 3) It would also be nice to provide an function to > turn on or off the animation. > > What do you mean by this? Do you mean like turning > on the step by step > sizing or to deactivate the minimize / maximize functionallity? Yep, that's what I meant. I guess that should be a simple thing to do :) -- Rayomond Irving > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: den 6 oktober 2003 05:09 > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Updates in CVS - PanelBar: > > > Hi Daniel, > > The PanelBar and Stacker Class looks very good! > > I think it's a very cool widget indeed! Using > stacker > a programmer can easily create something like the > Micrsoft Outlook Bar. > > I just have a few things to say concerning the > PanelBar widget: > > 1) IMO I don't think the lyrMenu agrument should be > inside the constructor. This method will require the > user to create both a menu and a content area. It's > simpler to give them a default menu and allow them > to > change it later: > > var pb = new PanelBar(content) > ... > // (Optional) here the user can change the menu pb.setMenuContent(new > DynLayer()); > > Another thing that I try to do when creating widgets > is to arrange my arguments in such a manner that > most frequently used > arguments appears first. IMO I would arrange the > contructor agruments > like this: > > PanelBar(lyrcnt,x,y,w,h,minimized,mnuheight) > > The "mnucss" "cntcss" can be set by the user so I > don't see these as necessary inside the constructor: > > var content = new DynLayer(); content.setClass('content_class'); // > user sets the class here pb.setContent(content); .... var > menu = new > DynLayer(); menu.setClass('menu_class'); // user > sets the class here > pb.setMenuContent(menu); > > > 2) Whenever the panel is minimized or maximized the > menu.setHTML() function is call throughout the > entire > animation loop. This should be avoided. > > 3) It would also be nice to provide an function to > turn on or off the animation. > > example: > > pb.setAnimated(false); > > > 4) It would be nice if the widget could trigger a > minimize and maximized event when the appropiate > button is pressed. > > 5) Change line 54 to read: > > var p = dynapi.setPrototype('PanelBar','DynLayer'); > > By doing this a programmer and take advantage of the > isClass() and getClass() functions > > 6) I don't think setDraging() is necessary since the > user can call the setDragEnabled function when > DragEvent is included > > best regards, > > -- > Raymond Irving > --- Daniel Tiru <de...@ti...> wrote: > > + Renamed window to PanelBar > > - PanelBar: removed function setdragable > > + PanelBar: Renamed minimizewindow to minimize > > + PanelBar: Renamed maximizewindow to maximize > > + Stacker: Added missed Semicolons > > + Updated quickref and examples for PanelBar and > > Stacker > > > > Regards > > Daniel > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |
From: Daniel T. <de...@ti...> - 2003-10-06 14:24:57
|
Hi Raymond! There will be no minimize / maximize images and "no way"(you still can call the methods manually) to call the function if you dont write the htmlcode "{@min}" in the menu layer. Is that enuff you think? Or is it vital to add more functionallity to be able to turn it off in the other way (by a method)? Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: den 6 oktober 2003 16:10 To: dyn...@li... Subject: RE: [Dynapi-Dev] Updates in CVS - PanelBar: See below: --- Daniel Tiru <de...@ti...> wrote: > Hi Raymond! > > Great feedback, thanks. > > Regarding: > 3) It would also be nice to provide an function to > turn on or off the animation. > > What do you mean by this? Do you mean like turning > on the step by step > sizing or to deactivate the minimize / maximize functionallity? Yep, that's what I meant. I guess that should be a simple thing to do :) -- Rayomond Irving > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: den 6 oktober 2003 05:09 > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Updates in CVS - PanelBar: > > > Hi Daniel, > > The PanelBar and Stacker Class looks very good! > > I think it's a very cool widget indeed! Using > stacker > a programmer can easily create something like the > Micrsoft Outlook Bar. > > I just have a few things to say concerning the > PanelBar widget: > > 1) IMO I don't think the lyrMenu agrument should be > inside the constructor. This method will require the > user to create both a menu and a content area. It's > simpler to give them a default menu and allow them > to > change it later: > > var pb = new PanelBar(content) > ... > // (Optional) here the user can change the menu pb.setMenuContent(new > DynLayer()); > > Another thing that I try to do when creating widgets > is to arrange my arguments in such a manner that > most frequently used > arguments appears first. IMO I would arrange the > contructor agruments > like this: > > PanelBar(lyrcnt,x,y,w,h,minimized,mnuheight) > > The "mnucss" "cntcss" can be set by the user so I > don't see these as necessary inside the constructor: > > var content = new DynLayer(); content.setClass('content_class'); // > user sets the class here pb.setContent(content); .... var > menu = new > DynLayer(); menu.setClass('menu_class'); // user > sets the class here > pb.setMenuContent(menu); > > > 2) Whenever the panel is minimized or maximized the > menu.setHTML() function is call throughout the > entire > animation loop. This should be avoided. > > 3) It would also be nice to provide an function to > turn on or off the animation. > > example: > > pb.setAnimated(false); > > > 4) It would be nice if the widget could trigger a > minimize and maximized event when the appropiate > button is pressed. > > 5) Change line 54 to read: > > var p = dynapi.setPrototype('PanelBar','DynLayer'); > > By doing this a programmer and take advantage of the > isClass() and getClass() functions > > 6) I don't think setDraging() is necessary since the > user can call the setDragEnabled function when > DragEvent is included > > best regards, > > -- > Raymond Irving > --- Daniel Tiru <de...@ti...> wrote: > > + Renamed window to PanelBar > > - PanelBar: removed function setdragable > > + PanelBar: Renamed minimizewindow to minimize > > + PanelBar: Renamed maximizewindow to maximize > > + Stacker: Added missed Semicolons > > + Updated quickref and examples for PanelBar and > > Stacker > > > > Regards > > Daniel > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-10-06 15:09:12
|
You can still add you default menu images and then add the code inside the precreate event to generate the html code for the menu is the user did not supply one. -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > Hi Raymond! > > There will be no minimize / maximize images and "no > way"(you still can > call the methods manually) to call the function if > you dont write the > htmlcode "{@min}" in the menu layer. > > Is that enuff you think? Or is it vital to add more > functionallity to be > able to turn it off in the other way (by a method)? > > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: den 6 oktober 2003 16:10 > To: dyn...@li... > Subject: RE: [Dynapi-Dev] Updates in CVS - PanelBar: > > > > See below: > > --- Daniel Tiru <de...@ti...> wrote: > > Hi Raymond! > > > > Great feedback, thanks. > > > > Regarding: > > 3) It would also be nice to provide an function to > > turn on or off the animation. > > > > What do you mean by this? Do you mean like turning > > on the step by step > > sizing or to deactivate the minimize / maximize > functionallity? > > Yep, that's what I meant. I guess that should be a > simple thing to do :) > > -- > Rayomond Irving > > > Regards > > Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] On > > Behalf Of Raymond > > Irving > > Sent: den 6 oktober 2003 05:09 > > To: dyn...@li... > > Subject: Re: [Dynapi-Dev] Updates in CVS - > PanelBar: > > > > > > Hi Daniel, > > > > The PanelBar and Stacker Class looks very good! > > > > I think it's a very cool widget indeed! Using > > stacker > > a programmer can easily create something like the > > Micrsoft Outlook Bar. > > > > I just have a few things to say concerning the > > PanelBar widget: > > > > 1) IMO I don't think the lyrMenu agrument should > be > > inside the constructor. This method will require > the > > user to create both a menu and a content area. > It's > > simpler to give them a default menu and allow them > > to > > change it later: > > > > var pb = new PanelBar(content) > > ... > > // (Optional) here the user can change the menu > pb.setMenuContent(new > > DynLayer()); > > > > Another thing that I try to do when creating > widgets > > is to arrange my arguments in such a manner that > > most frequently used > > arguments appears first. IMO I would arrange the > > contructor agruments > > like this: > > > > PanelBar(lyrcnt,x,y,w,h,minimized,mnuheight) > > > > The "mnucss" "cntcss" can be set by the user so I > > don't see these as necessary inside the > constructor: > > > > var content = new DynLayer(); > content.setClass('content_class'); // > > user sets the class here pb.setContent(content); > .... var > > menu = new > > DynLayer(); menu.setClass('menu_class'); // user > > sets the class here > > pb.setMenuContent(menu); > > > > > > 2) Whenever the panel is minimized or maximized > the > > menu.setHTML() function is call throughout the > > entire > > animation loop. This should be avoided. > > > > 3) It would also be nice to provide an function to > > turn on or off the animation. > > > > example: > > > > pb.setAnimated(false); > > > > > > 4) It would be nice if the widget could trigger a > > minimize and maximized event when the appropiate > > button is pressed. > > > > 5) Change line 54 to read: > > > > var p = > dynapi.setPrototype('PanelBar','DynLayer'); > > > > By doing this a programmer and take advantage of > the > > isClass() and getClass() functions > > > > 6) I don't think setDraging() is necessary since > the > > user can call the setDragEnabled function when > > DragEvent is included > > > > best regards, > > > > -- > > Raymond Irving > > --- Daniel Tiru <de...@ti...> wrote: > > > + Renamed window to PanelBar > > > - PanelBar: removed function setdragable > > > + PanelBar: Renamed minimizewindow to minimize > > > + PanelBar: Renamed maximizewindow to maximize > > > + Stacker: Added missed Semicolons > > > + Updated quickref and examples for PanelBar and > > > Stacker > > > > > > Regards > > > Daniel > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product > > search > > http://shopping.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > === message truncated === __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Michael B. <mi...@mi...> - 2003-10-06 14:50:01
|
Hi, dynlayer_base.js _destroy() Why is the "this.id = null" not there anymore. I REALY would like to include this again, would this be a problem. Michael |
From: Raymond I. <xw...@ya...> - 2003-10-06 15:11:25
|
I don't think it's necessary because once the layer is destroyed I don't think you'll be able to use if again Note: The _destroy function removes the layer from the DynAPI.all collection. -- Raymond Irving --- Michael Bystrom <mi...@mi...> wrote: > Hi, > > dynlayer_base.js > > _destroy() > > Why is the "this.id = null" not there anymore. > > I REALY would like to include this again, would this > be a problem. > > Michael > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Michael B. <mi...@mi...> - 2003-10-06 19:39:00
|
Yes I know I will use DynObject.all[object.id] The way that Folder and foldermanager and folderwindow saves and reads it's container arrays I need this I just didn't want to rewrite things but to keep within the DynAPI3 I'll use latter one cheers // me Den 03-10-06 17.11, skrev "Raymond Irving" <xw...@ya...>: > > I don't think it's necessary because once the layer is > destroyed I don't think you'll be able to use if again > > Note: The _destroy function removes the layer from the > DynAPI.all collection. > > -- > Raymond Irving > > --- Michael Bystrom <mi...@mi...> > wrote: >> Hi, >> >> dynlayer_base.js >> >> _destroy() >> >> Why is the "this.id = null" not there anymore. >> >> I REALY would like to include this again, would this >> be a problem. >> >> Michael |
From: Kevin <ke...@ke...> - 2003-10-02 18:22:43
|
Hi, I agree with Daniel. I just don't understand it. A very nice project but who is going to use the StyleManager implementation without full documentation of how the internals work. I printed off nearly 10 files from one top level example and then gave up. These completed StyleManger components can be reproduced by a user using default style on their own site. So they are a very good addition to the gui but it would take an expert in dynapi and javascript to design widgets in this way. I'll wait for the docs then decide if it's easier than the traditional method. - Kevin "Daniel Tiru" <de...@ti...> wrote: > Hi Raymond! > > I still actually dont get the style manager completly... > > I have found styles in the gui catalog, but forgive me if i am a bit > slow. But i dont really get it :( > > Say i have the viewpane and by default it uses a style like > viewpane.style (or am i already out of the area)? > How do i change the style for that one without modifying the source of > the viewpane.style? Do I have to make a copy of it, edit it and add it > to packages.js? > > Or is there some other way? Cause i think dynAPI will always be updated, > meaning you always have to get a new packages file, witch will overwrite > your personal entry. I think i have seen or atleast think i have seen, > that you dont need to add stuff to packages but can do that in your code > on your page? Is it this way we should do it? > > Sorry for beeing a bit slow, but its so mutch to keep track on. > > I would vote for the stylemanager, if i could understand it. Could you > make any basic example using a external style who is outside of the > dynapi structure, how to change the style and so on? Make it a very > simple example so atleast i get it :) Maybee I'm not alone and thats why > noone else responds :) > > Best regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Raymond > Irving > Sent: den 2 oktober 2003 06:18 > To: DynAPI-Dev > Subject: [Dynapi-Dev] Question for developers.... > > > Hello Everyone, > > As it relates to the future of Widget creation, do you > think we should go Stylable Widgets (like the ones > that use the StyleManager) or should we stick to > traditional Widget design? > > Please give your answer and reason why > > > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-10-03 04:25:55
|
The StyleManager component are more complex than traditional widgets. It will take alonger time to create a StyleManager component than it would an ordinary widget. The beauty about the StyleManager is that it give the user the flexibility to change the behavoir of the component without having to change the base component itself. In the intrest of time and for the benefit of the project I would have to then suggest that StyleManager components be added at a later date. These will require a lot of testing as they things can get sticky when it comes on to inheritance. I also wanted to create widgets that are themeable but how often will a web app require the user to change the it's theme? Not very often I guess. And even if we where to stick a redraw() into the widgets how many times will a web app allow the user to change the theme on the fly? It's all good and well to have such nice features as on the fly skinning and theme changing but these often time carries some overhead and inheritance problems. I'll remove the StyleManager and it's components and replace them with traditional design. The Button compoenent will be broken up into three widgets - Button, FlatButton and ImageButton, etc. -- Raymond Irving --- Kevin <ke...@ke...> wrote: > Hi, > > I agree with Daniel. I just don't understand it. A > very nice > project but who is going to use the StyleManager > implementation > without full documentation of how the internals > work. I printed > off nearly 10 files from one top level example and > then gave up. > > These completed StyleManger components can be > reproduced by > a user using default style on their own site. So > they are a very good > addition to the gui but it would take an expert in > dynapi and javascript > to design widgets in this way. I'll wait for the > docs then decide if it's > easier than the traditional method. > > - > Kevin > > > "Daniel Tiru" <de...@ti...> wrote: > > > Hi Raymond! > > > > I still actually dont get the style manager > completly... > > > > I have found styles in the gui catalog, but > forgive me if i am a bit > > slow. But i dont really get it :( > > > > Say i have the viewpane and by default it uses a > style like > > viewpane.style (or am i already out of the area)? > > How do i change the style for that one without > modifying the source of > > the viewpane.style? Do I have to make a copy of > it, edit it and add it > > to packages.js? > > > > Or is there some other way? Cause i think dynAPI > will always be updated, > > meaning you always have to get a new packages > file, witch will overwrite > > your personal entry. I think i have seen or > atleast think i have seen, > > that you dont need to add stuff to packages but > can do that in your code > > on your page? Is it this way we should do it? > > > > Sorry for beeing a bit slow, but its so mutch to > keep track on. > > > > I would vote for the stylemanager, if i could > understand it. Could you > > make any basic example using a external style who > is outside of the > > dynapi structure, how to change the style and so > on? Make it a very > > simple example so atleast i get it :) Maybee I'm > not alone and thats why > > noone else responds :) > > > > Best regards > > Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] On > Behalf Of Raymond > > Irving > > Sent: den 2 oktober 2003 06:18 > > To: DynAPI-Dev > > Subject: [Dynapi-Dev] Question for developers.... > > > > > > Hello Everyone, > > > > As it relates to the future of Widget creation, do > you > > think we should go Stylable Widgets (like the ones > > that use the StyleManager) or should we stick to > > traditional Widget design? > > > > Please give your answer and reason why > > > > > > -- > > Raymond Irving > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product > search > > http://shopping.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Michael B. <mi...@mi...> - 2003-10-03 07:23:24
|
I have a theme system that I like allot in the IOS library, it uses a dynapi.theme = {} object as the main theme holder, then for each new theme that is loaded it get it's own namespace dynapi.theme.button = {} The first time the button is called it creates the theme and then for each new call it just returns the theme and builds the button. I tried allot of different versions of this but found that this was the best way, the main theme is hard coded inside the button script, Button.getTheme() as Raymond said "how many times will a web app allow the user to change the theme on the fly?" I you want another theme var theme = dynapi.theme.widget = {} theme.color="red" etc.. new Button("hello",10,10,100,20, theme ) I've found it fairly simple to keep track of inheritance to other widget themes even when you include many other themes inside a new theme As for a style manager I'm working on a CSS like system. If a person starts to use DynAPI I'm sure that he/she has done some CSS scripting and understand that. Consider this: CSS: #layer { font: 11px Tahoma,Verdana,Arial; color: white; font-weight: bold; text-align: left; padding: 2px; border: 1px solid rgb(100,100,100); } DynAPI: layer.setStyle({ font: "11px Tahoma,Verdana,Arial", color: "white", fontweight: "bold", textalign: "left", padding: "2px", border: "1px solid rgb(100,100,100)" }) then the setStyle() parse the input and Voila IOS library will have SOMETHING like this, I've just made some simple tests with the new api. setStyle() would need to be rendered with the layers though, not when onload Man I'm still sick after Bulgaria man that food was .... my stomach is not happy :P Michael Den 03-10-03 06.25, skrev "Raymond Irving" <xw...@ya...>: > > The StyleManager component are more complex than > traditional widgets. It will take alonger time to > create a StyleManager component than it would an > ordinary widget. > > The beauty about the StyleManager is that it give the > user the flexibility to change the behavoir of the > component without having to change the base component > itself. > > In the intrest of time and for the benefit of the > project I would have to then suggest that StyleManager > components be added at a later date. These will > require a lot of testing as they things can get sticky > when it comes on to inheritance. > > I also wanted to create widgets that are themeable but > how often will a web app require the user to change > the it's theme? Not very often I guess. And even if we > where to stick a redraw() into the widgets how many > times will a web app allow the user to change the > theme on the fly? > > It's all good and well to have such nice features as > on the fly skinning and theme changing but these often > time carries some overhead and inheritance problems. > > I'll remove the StyleManager and it's components and > replace them with traditional design. The Button > compoenent will be broken up into three widgets - > Button, FlatButton and ImageButton, etc. > > > > -- > Raymond Irving > > > --- Kevin <ke...@ke...> wrote: >> Hi, >> >> I agree with Daniel. I just don't understand it. A >> very nice >> project but who is going to use the StyleManager >> implementation >> without full documentation of how the internals >> work. I printed >> off nearly 10 files from one top level example and >> then gave up. >> >> These completed StyleManger components can be >> reproduced by >> a user using default style on their own site. So >> they are a very good >> addition to the gui but it would take an expert in >> dynapi and javascript >> to design widgets in this way. I'll wait for the >> docs then decide if it's >> easier than the traditional method. >> >> - >> Kevin >> >> >> "Daniel Tiru" <de...@ti...> wrote: >> >>> Hi Raymond! >>> >>> I still actually dont get the style manager >> completly... >>> >>> I have found styles in the gui catalog, but >> forgive me if i am a bit >>> slow. But i dont really get it :( >>> >>> Say i have the viewpane and by default it uses a >> style like >>> viewpane.style (or am i already out of the area)? >>> How do i change the style for that one without >> modifying the source of >>> the viewpane.style? Do I have to make a copy of >> it, edit it and add it >>> to packages.js? >>> >>> Or is there some other way? Cause i think dynAPI >> will always be updated, >>> meaning you always have to get a new packages >> file, witch will overwrite >>> your personal entry. I think i have seen or >> atleast think i have seen, >>> that you dont need to add stuff to packages but >> can do that in your code >>> on your page? Is it this way we should do it? >>> >>> Sorry for beeing a bit slow, but its so mutch to >> keep track on. >>> >>> I would vote for the stylemanager, if i could >> understand it. Could you >>> make any basic example using a external style who >> is outside of the >>> dynapi structure, how to change the style and so >> on? Make it a very >>> simple example so atleast i get it :) Maybee I'm >> not alone and thats why >>> noone else responds :) >>> >>> Best regards >>> Daniel >>> >>> -----Original Message----- >>> From: dyn...@li... >>> [mailto:dyn...@li...] On >> Behalf Of Raymond >>> Irving >>> Sent: den 2 oktober 2003 06:18 >>> To: DynAPI-Dev >>> Subject: [Dynapi-Dev] Question for developers.... >>> >>> >>> Hello Everyone, >>> >>> As it relates to the future of Widget creation, do >> you >>> think we should go Stylable Widgets (like the ones >>> that use the StyleManager) or should we stick to >>> traditional Widget design? >>> >>> Please give your answer and reason why >>> >>> >>> -- >>> Raymond Irving |
From: Raymond I. <xw...@ya...> - 2003-10-03 14:40:53
|
Cool. I think I'll try to implement something that's very simple as well. -- Raymond Irving --- Michael Bystrom <mi...@mi...> wrote: > I have a theme system that I like allot in the IOS > library, it uses a > > dynapi.theme = {} > > object as the main theme holder, then for each new > theme that is loaded it > get it's own namespace > > dynapi.theme.button = {} > > The first time the button is called it creates the > theme and then for each > new call it just returns the theme and builds the > button. I tried allot of > different versions of this but found that this was > the best way, the main > theme is hard coded inside the button script, > Button.getTheme() as Raymond > said "how many times will a web app allow the user > to change the theme on > the fly?" > > I you want another theme > > var theme = dynapi.theme.widget = {} > theme.color="red" > etc.. > > new Button("hello",10,10,100,20, theme ) > > I've found it fairly simple to keep track of > inheritance to other widget > themes even when you include many other themes > inside a new theme > > > > As for a style manager I'm working on a CSS like > system. If a person starts > to use DynAPI I'm sure that he/she has done some CSS > scripting and > understand that. > > Consider this: > > CSS: > #layer { > font: 11px Tahoma,Verdana,Arial; > color: white; > font-weight: bold; > text-align: left; > padding: 2px; > border: 1px solid rgb(100,100,100); > } > > DynAPI: > layer.setStyle({ > font: "11px Tahoma,Verdana,Arial", > color: "white", > fontweight: "bold", > textalign: "left", > padding: "2px", > border: "1px solid rgb(100,100,100)" > }) > > then the setStyle() parse the input and Voila > > IOS library will have SOMETHING like this, I've just > made some simple tests > with the new api. > > setStyle() would need to be rendered with the layers > though, not when onload > > > Man I'm still sick after Bulgaria man that food was > .... my stomach is not > happy :P > > Michael > > > > > Den 03-10-03 06.25, skrev "Raymond Irving" > <xw...@ya...>: > > > > > The StyleManager component are more complex than > > traditional widgets. It will take alonger time to > > create a StyleManager component than it would an > > ordinary widget. > > > > The beauty about the StyleManager is that it give > the > > user the flexibility to change the behavoir of the > > component without having to change the base > component > > itself. > > > > In the intrest of time and for the benefit of the > > project I would have to then suggest that > StyleManager > > components be added at a later date. These will > > require a lot of testing as they things can get > sticky > > when it comes on to inheritance. > > > > I also wanted to create widgets that are themeable > but > > how often will a web app require the user to > change > > the it's theme? Not very often I guess. And even > if we > > where to stick a redraw() into the widgets how > many > > times will a web app allow the user to change the > > theme on the fly? > > > > It's all good and well to have such nice features > as > > on the fly skinning and theme changing but these > often > > time carries some overhead and inheritance > problems. > > > > I'll remove the StyleManager and it's components > and > > replace them with traditional design. The Button > > compoenent will be broken up into three widgets - > > Button, FlatButton and ImageButton, etc. > > > > > > > > -- > > Raymond Irving > > > > > > --- Kevin <ke...@ke...> wrote: > >> Hi, > >> > >> I agree with Daniel. I just don't understand it. > A > >> very nice > >> project but who is going to use the StyleManager > >> implementation > >> without full documentation of how the internals > >> work. I printed > >> off nearly 10 files from one top level example > and > >> then gave up. > >> > >> These completed StyleManger components can be > >> reproduced by > >> a user using default style on their own site. So > >> they are a very good > >> addition to the gui but it would take an expert > in > >> dynapi and javascript > >> to design widgets in this way. I'll wait for the > >> docs then decide if it's > >> easier than the traditional method. > >> > >> - > >> Kevin > >> > >> > >> "Daniel Tiru" <de...@ti...> wrote: > >> > >>> Hi Raymond! > >>> > >>> I still actually dont get the style manager > >> completly... > >>> > >>> I have found styles in the gui catalog, but > >> forgive me if i am a bit > >>> slow. But i dont really get it :( > >>> > >>> Say i have the viewpane and by default it uses a > >> style like > >>> viewpane.style (or am i already out of the > area)? > >>> How do i change the style for that one without > >> modifying the source of > >>> the viewpane.style? Do I have to make a copy of > >> it, edit it and add it > >>> to packages.js? > >>> > >>> Or is there some other way? Cause i think dynAPI > >> will always be updated, > >>> meaning you always have to get a new packages > >> file, witch will overwrite > >>> your personal entry. I think i have seen or > >> atleast think i have seen, > >>> that you dont need to add stuff to packages but > >> can do that in your code > >>> on your page? Is it this way we should do it? > >>> > >>> Sorry for beeing a bit slow, but its so mutch to > >> keep track on. > === message truncated === __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |