Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dashboard effect in Java application



yes I think it would be easy

in general if someone wants to provide new transition
he/she should create implementation of CardLayoutAnimator interface
and supply 2 methods:

  public void switchCard(Component toHide, Component toShow);
  public Component getAnimationPanel();

where getAnimationPanel returns component where animation/transition occurs

I'd add to that interface method
setAnimationTime(int timeInms)
int getAnimationTime()

setAnimationDeltaT(int timeInms)
int getAnimationDeltaT()

also I'd introduce direction,
transition from c1 to c2 will go in opposite direction in comparing with transition from c2 to c1


I'd add some registration facility(or maybe factory methods) so you can set transition by name


generally you can use QTJava/Java3D/JOGL/gl4java/JAWT to create very cool and smooth transitions





On Dec 18, 2004, at 3:19 AM, Nicholas R. Rinard wrote:

I would be keen to have a slide transition, top to bottom or bottom to top. Would that be hard to write? It would probably be easier than the others, huh? Is a slide transition one of the built-in operations?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Dashboard effect in Java application (From: Luca Lutterotti <email@hidden>)
 >Re: Dashboard effect in Java application (From: Dmitry Markman <email@hidden>)
 >Re: Dashboard effect in Java application (From: "Nicholas R. Rinard" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.