Visual Lib - RotationAction ?

View: New views
2 Messages — Rating Filter:   Alert me  

Visual Lib - RotationAction ?

by bruehlicke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any out there written a RotationAction in the same spirit as the
existing Move- and ResizeAction ?

B-)

Re: Visual Lib - RotationAction ?

by Fabrizio Giudici :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

bruehlicke wrote:
> Any out there written a RotationAction in the same spirit as the
> existing Move- and ResizeAction ?
>
> B-)
>  
Not AFAIK (of course, single users of the VL could have done it and I'd
be curious about that as well). Note that the concept of rotation is not
part of the Widget specification - e.g. the portion of screen used is
always expressed as an unrotated rectangle. This doesn't mean this can't
be done, but it needs some tweaking (e.g. "growing" the rectangle as the
component is rotated, adding specific code for testing whether the mouse
is over or not, etc...).

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/people
Fabrizio.Giudici@...