Added the HTMLInputFormat class which enables support of the (deprecated but generally supported) FORMAT atttribute in the INPUT tag.
Added support for the BGCOLOR,LINK and TEXT attributes in the BODY tag - these allow control for basic colors within the HTML - while these attributes are deprecated (and should be used with CSS), they are still supported in most major browsers, so they were added.
Added support for the ENCTYPE attribute in the FORM tag.
Added support for the BASE tag HREF attribute.
Also added documentation to HTMLCallback to specify which methods are called on EDT and which are not.
pageStatusChanged is now called in all cases from the EDT thread.
AutoComplete is now supported for TextAreas as well (used to be only for TextField).
Added linkClicked method in HTMLCallback allowing external handling of various links (useful to make other operations the HTML displaying, for example triggering logic in the app itself).
links the component shouldn't render as selectable)
Added getLinkProperties method in HTMLCallback allowing support for Visited links and Forbidden links (i.e.
DefaultHTMLCallback, a simple implementation of HTMLCallback was added to provide an easy way to override only needed method, and to demonstrate the default implementation for all methods.
The SIZE attribute in the SELECT tag is now supported (defines the number of visible rows in multiple selection combo boxes).
The HTMLComboBox class was added - it allows supporting OPTGROUP also within single-selection ComboBox by using MultiComboBox as its popup list.
These classes enable multiple selection ComboBox and OPTGROUP labels support. it includes MultiListCellRenderer and MultiListModel.
The MULTIPLE attribute in the SELECT tag is now implemented, allowing multiple selection ComboBoxes.
The OPTGROUP tag is now implemented, allowing defining headers within fields.
Note: while these list attributes are deprecated (and should be used with CSS) they are still supported in most major browsers, so they were added.
The TYPE and VALUE atttributes in the LI tag are now implemented (allowing changing the value or type of a single item in a list).
The START and TYPE attributes in the OL tag are now implemented (allowing choosing a start value for a list and list numbering type).
This is supported only in fixed width mode and only for the P and DIV tags (Not supported for tables)
Text justification has been added (align=justify).
Choosing the mode can be done with the FIXED_WIDTH constant in HTMLComponent. The downside here is that in this mode text is broken to one-label per word (more components, more resources used), also this mode still has some problems with text alignments and RTL languages. Up till now HTMLComponent worked on a fixed width (the display width) and did its own text wrapping.
Added support for non-fixed-width mode.
The package includes an internal Parser and a DOM object (Element) and more. Supported (documented to the side of the TAG_* constant). This version supports most of the tags in XHTML-MP 1.0, see the class Element for tags that are not The use of the package is demonstarted in the LWUITBrowser project, where you can find a concrete implementation for DocumentRequestHandler. It is constructed with an implementation of the DocumentRequestHandler - which handles all necessary communications/IO to get the document.Īnother public interface is HTMLCallback that allows getting events from the HTMLComponent. The main class is HTMLComponent which is a container that builds the HTML inside it. The new HTML package enables rendering HTML documents that conform to the XHTML Mobile Profile 1.0 standard.
Blackberry-specific Binaries - This release features JAR's for native Blackberry application support.
Multiline Text Field - In place text field editing using a multiline.
Timeline animations - New animation type leveraging the LWUIT EncodedImage.
LWUIT Browser demo application - new demo application showing the usage of the HTML component.
XHTML Support - LWUIT Now features the ability to render XHTML-MP 1.0 content and partial support.
The Lighweight UI Toolkit version 1.4 provides the following new or changed features: