classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [Patch][gui] view handling


From: Michael Koch
Subject: [cp-patches] [Patch][gui] view handling
Date: Mon, 24 Jan 2005 19:53:48 +0100
User-agent: Mutt/1.5.6+20040907i

Hi list,


I commited the attached patch to implement some more stuff in our text
view implementation.


Michael


2005-01-24  Michael Koch  <address@hidden>

        * javax/swing/plaf/basic/BasicTextUI.java
        (RootView.modelToView): Made it public and return a java.awt.Shape.
        Handle null subview.
        (uninstall): Set textComponent to null when its not possible used
        anymore.
        * javax/swing/text/View.java
        (setParent): Use better argument name.
        (getContainer): Get parent via getParent().
        (getViewFactory): Likewise.
        (getAttributes): Get element via getElement().
        (getStartOffset): Likewise.
        (getEndOffset): Likewise.
        (getResizeWeight): New method.
        (getMaximumSpan): Likewise.
        (getMinimumSpan): Likewise.
        (setSize): Likewise.
        (getGraphics): Likewise.

Attachment: swing.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]