国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

LWUIT 1.3終于發布了!

2019-11-17 03:58:18
字體:
來源:轉載
供稿:網友
LWUIT 1.3在12.15號終于發布了!

如果現在你還沒有LWUIT 1.3的api和文件,去http://java.sun.com/javame/technology/lwuit/ 下載

新版本中的新特性:

從Shai 的Blog中 ,我了解到,LWUIT1.3 主要的改動有以下幾點:

開始支持從右至左的語言
添加了鍵盤的支持,允許通過觸摸屏輸入
即使那些沒有焦點的組件,在1.3版中也能夠滾動了。比如在以前的版本中在Form中創建一個Label,Lael里面裝一張1024*768的圖片,這個Label只能夠顯示屏幕范圍內的圖片,超出屏幕范圍的圖片則不能夠顯示,因為Label是無法獲得焦點,就沒有滾動效果,所以舊版本中不能夠顯示大圖。(畫布可能可以)
添加了兩個新的組件:Tree,Spinner。Tree樹形組件,Spinner相當于Combobox形式的選擇組件,Spinner和Combobox同樣都繼承自List。
添加了TableLayout。(一直想用Table的同胞們等了老半天)
重新實現Combobox(原來的Combobox可真夠丑的,一直沒怎么用),重新設計了ListCellRenderer的Painter
對觸摸設備的支持進行了改良
把SVG也融入到Resource Editor中
(以上翻譯不夠準確,敬請見諒!可以看看下面的英文原版。 )

Bidi support (contributed by Telmap) - allows using LWUIT with Right To Left languages such as Arabic, Hebrew
Lightweight Virtual keyboard support - allowing for customizable touch screen input
Pixel based scrolling - allowing scroll to work as expected even when components/containers exceed screen bounds and not just for focusable components
Table layout and table component - allowing complex tabular UI's including support for features such as spanning rows/columns
Tree component - supporting nested elements and expanding
Spinner component for date, time and numeric input within a range
Reimplementation of the ComboBox widget
SVG Support integrated into the Theme Creator (formerly LWUIT Designer/Resource Editor)
Touch device imPRovements: button menus, improved kinetic scrolling, tactile touch (vibration on touch)
Resource file specification
Redesigned the list renderer "rendering" logic so that it paints the backgrounds of the renderers first, and then the selection and foreground.
我個人對LWUIT 1.3的看法:首先LWUIT的發展前景是好的,這里添加了比較實用的Tree組件和TableLayut。在我現在用的版本(不是1.3)中Tree組件我已經用到了,Table形式的布局,我結合其他的布局形式也能夠做出這種效果,但是缺點就是LWUIT的體積越來越大了,上個版本的LWUIT.jar只有337k,1.3版本的增加到391k,確實長胖了不少。如果我要用1.3的話,我不會用它的jar,只會參考一下它的源碼,如果有需要,就把1.3源碼中的類整合到現在我用的這個版本的LWUIT中。


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 林州市| 白水县| 河南省| 斗六市| 汉沽区| 桃园市| 松溪县| 二连浩特市| 扶沟县| 仲巴县| 新巴尔虎左旗| 华蓥市| 舞阳县| 高唐县| 西林县| 凭祥市| 汤阴县| 雷山县| 建瓯市| 林州市| 尼勒克县| 益阳市| 无为县| 青铜峡市| 盘山县| 龙泉市| 鹿邑县| 临武县| 沅江市| 达日县| 泸水县| 黑河市| 淮南市| 靖江市| 紫云| 微山县| 当涂县| 东阿县| 松滋市| 永寿县| 龙陵县|