Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


What is new with Apache Pivot?

Jul 07, 2009, 23:04 (0 Talkback[s])
(Other stories by Greg Brown)

"CardPane Transitions
One of the new features added in Pivot 1.2 was support for selection change transitions in the CardPane class. These allow developers to easily add some visual interest to an application's navigation. Pivot 1.2 includes support for crossfade and horizontal/vertical slide transitions, and Pivot 1.3 adds the flip transition initially implemented for the table row editor demo. This demo (from the Pivot tutorial) shows what each of the new transitions looks like (Java 6 required):

http://ixnay.biz/card_panes.html

"Cool, huh? If anyone has any suggestions for other transitions you might like to see, please let us know.

"Scripting
We have made some significant enhancements to WTKX scripting support for Pivot 1.3. Script code can now be embedded inline in a WTKX document (previously, it had to be stored in an external file). More importantly, it is now much simpler to declare event handlers in WTKX. It is no longer necessary to implement a listener interface and programmatically add the listener to a component's listener list - this can now be done entirely in markup. For example, the following WTKX creates a PushButton and attaches two button press listeners to it, one written in JavaScript and the other in Groovy:"

Complete Story

Related Stories: