- 授权协议: BSD
- 开发语言: Scala
- 操作系统: 跨平台
- 软件首页: http://code.google.com/p/scalafx/
- 软件文档: http://code.google.com/p/scalafx/w/list
软件介绍
ScalaFX是JavaFX 2.0的Scala绑定(UI DSL),主要特性如下:
1)对程序员友好的层次结构式的对象创建语法。
stage = new Stage {
title.value = "Hello Stage"
width = 600
height = 450
scene = new Scene {
fill = Color.LIGHTGREEN
content = new Rectangle {
x = 25
y = 40
width = 100
height = 100
fill <== when (hover) then Color.GREEN otherwise Color.RED
}
}
}
2)易于理解的属性绑定(Binding)语法。
height <== rect1.height + rect2.height
width <== max(rect1.width, rect2.width, rect3.width)
color <== when (hover) then Color.GREEN otherwise Color.RED
text <== when (rect.hover || circle.hover && !disabled) then textField.text + " is enabled" otherwise "disabled"
rect.hover onInvalidate {
needsRepaint = true
}
3)精心设计的动画语法。
Seq(
at(0 s) {circle.centerX -> random * 800},
at(0 s) {circle.centerY -> random * 600},
at(40 s) {circle.centerX -> random * 800},
at(40 s) {circle.centerY -> random * 600}
)
4)类型安全的API。
5)无缝的JavaFX/ScalaFX互操作。
Webbots、Spiders和Screen Scrapers
斯昆克 / 2013-5 / 69.00元
《Webbots、Spiders和Screen Scrapers:技术解析与应用实践(原书第2版)》共31章,分为4个部分:第一部分(1~7章),系统全面地介绍了与Webbots、Spiders、Screen Scrapers相关的各种概念和技术原理,是了解和使用它们必须掌握的基础知识;第二部分(8~16章),以案例的形式仔细地讲解了价格监控、图片抓取、搜索排名检测、信息聚合、FTP信息、阅读与发......一起来看看 《Webbots、Spiders和Screen Scrapers》 这本书的介绍吧!
