This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180966 - Timeline item updating
Summary: Timeline item updating
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on: 182567
Blocks: 178578
  Show dependency tree
 
Reported: 2010-02-19 07:12 UTC by Alexandr Scherbatiy
Modified: 2010-05-14 10:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Tab traversal screenshot (14.82 KB, image/png)
2010-05-12 09:15 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-02-19 07:12:33 UTC
NetBeans-JavaFX-Soma: #158


Steps to reproduce:
- Drag and drop the Timeline item from the Animation category to the editor

1. javafx.animation.Interpolator import is missed

2. Unused javafx.animation.KeyFrame import is added

3. The previous Timeline has the  Timeline.INDEFINITE value for the repeatCount attribute. The Timeline.INDEFINITE default value can be easily changed to another.
But it is not so easy to change the 1 value to Timeline.INDEFINITE

4. There is no a Tab traversal for the time and variable values
 ( The same as for Values item. Drag and drop the Values item from the Animation category and press Tab some times)


So the updated template can look like:
------------------------------------------------------
import javafx.animation.Timeline;
import javafx.animation.Interpolator;

Timeline {
	repeatCount: Timeline.INDEFINITE
	keyFrames: [
		at (5s) { slider1 => 100.0 tween Interpolator.LINEAR }
	];
}
------------------------------------------------------
Comment 1 Karol Harezlak 2010-05-11 13:14:37 UTC
implemented,

http://hg.netbeans.org/javafx/rev/cee391e3af9c
Comment 2 Alexandr Scherbatiy 2010-05-12 09:15:08 UTC
If I use others items from palette I can use the tab traversal to change the necessary attributes.

For example the is the red frame for the title, width and height attributes for the Stage palette item (see the attached screenshot)

Could the same be added for the 'slider1' value in the Timeline item?
Comment 3 Alexandr Scherbatiy 2010-05-12 09:15:50 UTC
Created attachment 98824 [details]
Tab traversal screenshot
Comment 4 Karol Harezlak 2010-05-12 16:57:08 UTC
corrected as suggested:

http://hg.netbeans.org/javafx/rev/648f3100f4e6
Comment 5 Alexandr Scherbatiy 2010-05-14 10:15:51 UTC
verified in netbeans-trunk-nightly-201005132200-javafx-full-windows.exe