classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Patch: javax.swing.text.html.BlockView added


From: Lillian Angel
Subject: [cp-patches] Patch: javax.swing.text.html.BlockView added
Date: Thu, 08 Dec 2005 14:54:45 -0500

BlockView is now partially implemented. I can't fully implement it until
StyleSheet has been implemented- moreover, StyleContext needs to be
implemented first. I will get to this soon.

In the meantime, I am going to implement HTMLEditorKit/HTMLDocument.

Attached is the BlockView.java file.

2005-12-08  Lillian Angel  <address@hidden>

        * javax/swing/text/html/BlockView.java:
        New class added.
        (BlockView): Implemented.
        (setParent): Implemented.
        (calculateMajorAxisRequirements): Added, not fully implemented.
        (calculateMinorAxisRequirements): Likewise.
        (layoutMinorAxis): Likewise.
        (paint): Implemented, but some code is commented out since
        StyleSheet is not yet implemented.
        (getAttributes): Likewise.
        (getResizeWeight): Implemented.
        (getAlignment): Implemented.
        (changedUpdate): Implemented.
        (getPreferredSpan): Implemented.
        (getMinimumSpan): Implemented.
        (getMaximumSpan): Implemented.
        (setPropertiesFromAttributes): Added, not implemented yet. Need
        to wait for StyleSheet to be implemented.

Attachment: BlockView.java
Description: Text Data


reply via email to

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