You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/12/07 12:48:23 UTC

[jira] Commented: (HARMONY-2189) [classlib][swing] j.s.text.CompositeView.getInsideAllocation doesn't call inset getters

    [ http://issues.apache.org/jira/browse/HARMONY-2189?page=comments#action_12456366 ] 
            
Alexey A. Ivanov commented on HARMONY-2189:
-------------------------------------------

It's all right.
Thank you, Nathan.

> [classlib][swing] j.s.text.CompositeView.getInsideAllocation doesn't call inset getters
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2189
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2189
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Nathan Beyer
>         Attachments: H2189-CompositeView.patch, H2189-CompositeViewTest.patch
>
>
> javax.swing.text.CompositeView.getInsideAllocation() returns the inside allocation, i.e. removes inset area from an allocation given. Since any of get{Top, Left, Bottom, Right}Inset() methods can be overridden, getInsideAllocation() should call them to fetch the insets rather than directly using fields where inserts are stored.

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