Reply inline...
Jonathan Locke wrote:
sorry for being a backseat driver here, but i've got a few more issues to
think about...
No problem, good with some feedback...
one problem i'm having with this design is that if you do have to chain
these
graphics together, having a varargs constructor is not really sufficient
because
there's no way to create a subclass of ArtworkCanvasBehavior that
encapsulates
a set of LAF functionality i want (because super has to be the first
statement in
a constructor)
Yeah I've given that a little thought, I need to examine it a bit further to make it more extensible.
... there needs to at least be a getGraphicsList()
overridable, but maybe you should step back and think about the design based on examining the actual functioning of liquid canvas

also, technically shouldn't this be LiquidCanvasBehavior
Yup, I will be renaming it.
 so people know what
they're
dealing with (or did you have some wider scope of functionality in mind?)
I had some broader functionality in mind but this seems to be sufficient.
in general,
fewer new concepts like "artwork" is better i think...
Yup.
although i guess Graphics is okay, it really threw me for a loop because i
immediately
assumed it was AWT/Swing.
Ahh couldn't find a better name for it though...

Jonathan Locke wrote:
i think it would be a good idea to understand this before creating an API
to it

also, i'm getting some serialization exceptions. i think you need to make
Graphics
Serializable


Nino Martinez-2 wrote:
True, good question im not even sure what the diff are I've just pushed it through to support what you do in js with it :) It might have something todo with combined operations versus single ones (eg if you apply more graphics at the same time it might render differently that otherwise)...


regards Nino

Jonathan Locke wrote:
this is cool, but i don't understand the concept quite.  why is this:

        Graphics g=new Shadow();
        g.setChainedGraphics(new Border()).setChainedGraphics(new
Gradient());
        ArtworkCanvasBehavior a=new ArtworkCanvasBehavior(g,new
RoundedRect());
        add(new Label("message", "If you see this message wicket is
properly
configured and running").add(a));

any different from:

        add(new Label("message", "If you see this message wicket is
properly
configured and running").add(new ArtworkCanvasBehavior(new Shadow(), new
Border(), new Gradient(), new RoundedRect()));

?

could you document the reasoning behind the chainedGraphics property?


Nino Martinez-2 wrote:
Hi Guys

So I made it in time for x-mas :) The very first release of wicketstuff Artwork. Whats Wicketstuff artwork all about? If you've ever tired of spending numerous hours on fidling with css just to see it break in IE etc.. And are you having a hard time making your pages look cool? Well then Artwork are for you.

In this initial teaser release Artwork just contains liquid canvas and
a few of it's plugins.. The idea are to fully support liquid canvas (including excanvas for IE support) and nifty corners. Don't understand what im talking about? Well then go ahead and checkout the example project, located here :
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/artwork-parent/artwork-examples

You probably also have to checkout the rest of wicketstuff core in
order for it to build, it's a normal wicket quickstart and you can start it with mvn jetty:run or the start.java as usual..

-Enjoy 4 Christmas :)
Nino Martinez

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to