[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: HTMLEditorKit partial implementation
From: |
Lillian Angel |
Subject: |
[cp-patches] Patch: HTMLEditorKit partial implementation |
Date: |
Tue, 13 Dec 2005 11:28:36 -0500 |
Implemented some more functions in HTMLEditorKit. Still not complete.
I am still working on finishing this class.
2005-12-13 Lillian Angel <address@hidden>
* javax/swing/text/html/HTMLEditorKit.java
(getHTMLDocument): Fixed implementation to catch exception.
(getHTMLEditorKit): Likewise.
(getElementsAt): Fixed to use recursion. Now all elements
and all their children are added to the array, only using
the default root element.
(getElementsAt): New private helper function. Uses recursion.
(elementCountToTag): Implemented.
(findElementMatchingTag): Implemented.
(parserCallback): Removed TODO comment. Nothing should be done
here. All work for parser, is done in
javax/swing/text/html/Parser.java and HTMLDocument.
(flush): Likewise.
(handleComment): Likewise.
(handleEndOfLineString): Likewise.
(handleEndTag): Likewise.
(handleError): Likewise.
(handleSimpleTag): Likewise.
(handleStartTag): Likewise.
(handleText): Likewise.
(HTMLEditorKit): Implemented and added API documentation.
(getParser): Fixed implementation to use a field to store the
parser.
(insertHTML): Implemented.
(read): Implemented.
(write): Partially implemented.
(install): Added code to add the mouse listener.
(deinstall): Added code to remove the mouse listener.
(getActions): Modified FIXME comment.
(getInputAttributes): Likewise.
patch.diff
Description: Text Data
- [cp-patches] Patch: HTMLEditorKit partial implementation,
Lillian Angel <=