harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Okomin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2313) [classlib][swing] Extended List features must be supported
Date Fri, 24 Nov 2006 13:14:03 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2313?page=all ]

Ilya Okomin updated HARMONY-2313:
---------------------------------

    Attachment: Harmony-2313.patch
                TestJComboBox.java
                TestJList.java

Now we do have HTMLDocument support and lack support from parser and FormView.

This patch provides some new classes and extends existing JList and JComboBox classes to support
rendering of hierarchical item models.
Unfortunately it doesn't fix the lack of support from the FormView.

When the patch is applied it doesn't break the normal behavior of mentioned components. To
use the extended functionality when implementing the rendering support in FormView one must
use JList.putClientProporty(StringConstants.EXTENDED_SUPPORT_ENABLED, Boolean.TRUE) or
JComboBox.putClientProporty(StringConstants.EXTENDED_SUPPORT_ENABLED,
Boolean.TRUE) 
before dealing with extended component's models.

Also there are attached two examples of using this functionality TestJComboBox and TestJList.

> [classlib][swing] Extended List features must be supported
> ----------------------------------------------------------
>
>                 Key: HARMONY-2313
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2313
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Ilya Okomin
>            Priority: Minor
>         Attachments: Harmony-2313.patch, TestJComboBox.java, TestJList.java
>
>
> When rendering HTML 4.01 (namely OPTGROUP tag) we need extended support from JList and
JComboBox components: we need to be able to expose hierarchical structure of the items. 
> The support for the OPTGROUP tag consists of 3 parts:
> 1. HTML-parser support (and we agreed that our parser should follow 4.01 standard) to
generate correct callbacks 
> 2. HTMLDocument support to transform callbacks to correct model 
> 3. FormView support to render the model properly

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message