Kuix 1.0.1 on rails

1 message, no reply - 148 views

Kuix 1.0.1 (now available on SVN)

 

- Bug fix : avoid the OutOfMemoryException while closing a MenuPopup

- Add **Blackberry** platform detection support and Soft keys emulation through action menu.
- Add a processDebugInfosKeyEvent() method to KuixMIDlet to be able to customize debug infos key event action. By default it displays Kuix debug infos on the screen.
- Add KuixMIDlet.fatal(String) and KuixMIDlet.fatal(String, Throwable) methods to display fatal error LCDUI alert messages.
- Add default kuix actions available in xml actions (like onAction="...") :
  - *!exit* : exits the application by calling KuixMIDlet.getDefault().destroyImpl()
- Add onselect and onunselect method attribute on CheckBox, RadioButton and TabItemButton.
- Add animation capabilities on Picture accessible from new attributes (frameWidth, frameHeight, frameSequence, frameDuration).
- Add "Multi" DataProvider capabilities. A DataProvider can now be a slave of an other, to be able to load a Screen with more thant one data model.
- Add backwardTabKey and forwardTabKey attribute on TabFilder widget to be able to change the default left and right keys of tab navigation.
- Add multi border-color capabilities on widgets. You can now set a different color for the 4 borders.
- Add Kuix.loadMenuContent(Menu, String, DataProvider) and Kuix.loadMenuContent(Menu, InputStream, DataProvider) methods to reload menu content on the fly.

- Add a new KuixInitializer interface which KuixMIDlet implements to be able to use Kuix engine without creating a KuixMIDlet. @see org.kalmeo.kuix.core.KuixInitializer javadoc comment for further informations.

- Kuix.loadWidget(...) functions now return the real loaded XML root widget.

- Remove unuseful List.newItemWidgetInstance(DataProvider item) method. Dynamic list can now be any kind of widget.
- Remove unuseful Widget.drawBorder(...) and Widget.drawBackground(...) methods.
- Remove unuseful MenuItem.hideMenuTree() method

- Default "Please select" text is displayed when a Choice has no selected radioButton.
 
- Methods **refactoring** :
  - Kuix.extractStyleSheets(...) *has been moved to* KuixConverter.convertStyleSheets(...)
  - Widget.bringToBack(...) *become* Widget.sendToBack(...)
  - Widget.getBorderColors(...) *now returns* a Color[] (array length is 4)
  - Widget.getBorderImages(...) *become* Widget.getBorderImage(...) to be conform to the style property name.
  - Widget.getBorderAlignments(...) *become* Widget.getBorderAlign(...) to be conform to the style property name.
  - Widget.getBackgroundAlignment(...) *become* Widget.getBackgroundAlign(...) to be conform to the style property name.
  - KuixMIDlet.getCanvas() *is now deprecated and replaced by* Kuix.getCanvas()
  - KuixMIDlet.showPopupBox(...) *is now deprecated and replaced by* Kuix.showPopupBox(...)
  - KuixMIDlet.alert(...) *are now deprecated and replaced by* Kuix.alert(...)

- Widget tags **refactoring** :
  - tabbutton *become* tabitembutton and is an internal widget of tabitem