You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Okomin (JIRA)" <ji...@apache.org> on 2006/11/24 14:09:02 UTC

[jira] Created: (HARMONY-2313) [classlib][swing] Extended List features must be supported

[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


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

        

[jira] Updated: (HARMONY-2313) [classlib][swing] Extended List features must be supported

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2313?page=all ]

Alexey Petrenko updated HARMONY-2313:
-------------------------------------

    Patch Info: [Patch Available]

> [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

        

[jira] Assigned: (HARMONY-2313) [classlib][swing] Extended List features must be supported

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-2313:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][swing] Extended List features must be supported
> ----------------------------------------------------------
>
>                 Key: HARMONY-2313
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2313
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Ilya Okomin
>         Assigned To: Alexey Petrenko
>            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.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-2313) [classlib][swing] Extended List features must be supported

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko resolved HARMONY-2313.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][swing] Extended List features must be supported
> ----------------------------------------------------------
>
>                 Key: HARMONY-2313
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2313
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Ilya Okomin
>         Assigned To: Alexey Petrenko
>            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.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-2313) [classlib][swing] Extended List features must be supported

Posted by "Ilya Okomin (JIRA)" <ji...@apache.org>.
     [ 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