Native codecs
Core Video
Video: H.261, H.263, and H.264 codecs
MPEG-1, MPEG-2, and MPEG-4 Video file formats and
associated codecs (such as AVC)
Sorenson Video 2 and 3 codecs
Audio: AIFF, MP3, WAV,MPEG-4 AAC Audio
(.m4a, .m4b, .m4p), MIDI
Native Codecs
DirectShow
Video: Windows Media Video,H264 (as an
update)
Audio: MPEG-1, MP3, Windows Media Audio,
MIDI
FXM
Video: On2 VP6
Audio: MP3
Using Video
Media
MediaPlayer
MediaView
Media
var media = Media {
source: \"file:///Users/paul/21.avi\"
}
MediaPlayer
var player = MediaPlayer {
media: media
autoPlay:true
}
Skins
Styling components
using external
CSS
style sheets
Skins
Styling components
using external
CSS
style sheets
Not a standard feature yet!
A skinnable button
public class Button extends Control{
public var label : String;
init {
skin = ButtonSkin{}
}
}
The Skin
public class ButtonSkin extends Skin{
public var backgroundColor : Color = Color.BLACK;
public var color : Color = Color.WHITE;
public var arcHeight : Number = 20;
public var arcWidth : Number = 20;
var button : Button = bind control as Button;
init {
scene = {
.... // Draw the control’s UI
Not supported
Effects (reflection etc.)
Opacity
Video
Mobile
Production Suite
Designer => Developer
Workflow
Web Services
HTTPRequest
REST style services
PullParser
JSON & XML
Web Service call
Enqueue HTTP Request
Handle input
Parse input
Handle ‘events’
XML PullParser
if(event.qname.name == \"Item\" and event.type ==
PullParser.START_ELEMENT) {
product = new Product();
}
else if(event.qname.name == \"Title\") {
product.title = event.text;
}
else if(event.qname.name == \"Item\" and event.type ==
PullParser.END_ELEMENT) {
insert product into products;
}
Web Services
Amazon Demo
Effects
Effect property at any Node
Including text, video, and images
Lots of standard effects
e.g. DropShadow, Blur, InnerShadow,
Reflection, SepiaTone
Current problems
No components!
No layout managers
No selectable text
Road Map
Februari 2009 => JavaFX Mobile 1.0
JavaOne 2009 => Announcing JavaFX 2.0
Winter 2009 => JavaFX 2.0
Complete new component suite
Swing end-of-life?
JavaFX.com
The RIA war
Shameless plug ;-)
2 day JavaFX course now available
Full JavaFX Script language coverage
Video
Web Services
Animations
Custom components
Production Suite
Presentation about the features of JavaFX. See how more
Presentation about the features of JavaFX. See how to use video, different deployment types, JavaScript integration, annimations and more. Demo's not included. less
0 comments
Post a comment