Getters and Setters for HSVColorPicker

1 view
Skip to first unread message

Asem

unread,
Jul 9, 2007, 3:17:07 AM7/9/07
to gwtsandbox
Hello,
I downloaded the source code of the ColorPicker project, and tried it.
I found it strange why HSVColorPicker class doesn't have getter and
setter for the selected color.
Any ideas?

Robert Hanson

unread,
Jul 9, 2007, 7:16:01 AM7/9/07
to gwtsa...@googlegroups.com
Good call.  I should add that.

Rob

Umme Essa

unread,
Aug 15, 2007, 4:21:05 AM8/15/07
to gwtsandbox
Hi Robert Hansen,

Thanks for creating such a good tool. I recommend that it must be
included into next release of gwt.

I have downloaded source for color picker from sandbox site. I cannot
find the css file can you please send me. Also have you made any
changes recently which are not committed. If so please could you email
me. Is that ok to use this code in a commercial application. Also are
there any known issues with this color picker.

Thanks looking forward for your help.
Umme Essa

On Jul 9, 4:16 pm, "Robert Hanson" <iamroberthan...@gmail.com> wrote:
> Good call. I should add that.
>
> Rob
>

Robert Hanson

unread,
Aug 15, 2007, 10:47:34 AM8/15/07
to gwtsa...@googlegroups.com
> I cannot find the css file can you please send me.

There isn't any. The screen shot and demo uses no external CSS.
Everything for the demo is in the svn repository.

> Also have you made any changes recently which are not committed.

Nope, no new changes.

> Is that ok to use this code in a commercial application.

As long as you abide by the Apache 2 license. The license is *very*
unrestrictive though, so I don't think you should have any issues. I
would be interested in hearing about it once it is released.

> Also are there any known issues with this color picker.

Not that I have been made aware of..

Rob

Umme Essa

unread,
Aug 15, 2007, 1:30:29 PM8/15/07
to gwtsandbox
Thanks for your prompt reply. I have following css calls in
ColorPicker.java

outsideFrame.setStyleName("colorpicker-frame");
colorGrid.setStyleName("colorpicker-grid");

I was curious where are these css classes. Also I simply created an
HSVColorPicker and added it to the VerticalPanel
It is taking a larger area of screen and not looking like you have
displayed in the demo. Do I need to set width and height?

On Aug 15, 7:47 pm, "Robert Hanson" <iamroberthan...@gmail.com> wrote:
> > I cannot find the css file can you please send me.
>
> There isn't any. The screen shot and demo uses no external CSS.
> Everything for the demo is in the svn repository.
>
> > Also have you made any changes recently which are not committed.
>
> Nope, no new changes.
>
> > Is that ok to use this code in a commercial application.
>
> As long as you abide by the Apache 2 license. The license is *very*
> unrestrictive though, so I don't think you should have any issues. I
> would be interested in hearing about it once it is released.
>
> > Also are there any known issues with this color picker.
>
> Not that I have been made aware of..
>
> Rob
>

Robert Hanson

unread,
Aug 15, 2007, 1:55:35 PM8/15/07
to gwtsa...@googlegroups.com
> I was curious where are these css classes.

They are defined to make it easier to customize. The demo doesn't use
those CSS classes.

> Do I need to set width and height?

It couldn't hurt :) It has been more than a few weeks since I have
looked at that code. I don't recall off the top of my head.

I just took a quick look at the demo page in FF and took a quick look
with FireBug. I didn't see anything that would cause it to be wider
than you see in the demo.

Rob

Umme Essa

unread,
Aug 15, 2007, 3:11:35 PM8/15/07
to gwtsandbox
Ok I think I will find why it is so big at my screen and I will fix
it. Rest of the things are working fine, I am really pleased with it.
I will show it ti you once the application is released.

On Aug 15, 10:55 pm, "Robert Hanson" <iamroberthan...@gmail.com>
wrote:


> > I was curious where are these css classes.
>
> They are defined to make it easier to customize. The demo doesn't use
> those CSS classes.
>
> > Do I need to set width and height?
>
> It couldn't hurt :) It has been more than a few weeks since I have
> looked at that code. I don't recall off the top of my head.
>
> I just took a quick look at the demo page in FF and took a quick look
> with FireBug. I didn't see anything that would cause it to be wider
> than you see in the demo.
>
> Rob
>

Reply all
Reply to author
Forward
0 new messages