Provides EditDemo, a simple, multiple-document styled text editor, built with the richtext classes in the textpanel and textframe packages.
+ +To run the demo, type:
+ java -classpath classes com.ibm.richtext.demo.EditDemo [-swing] [file]*
+It will use a Swing GUI if -swing
is present, otherwise it will use an AWT GUI. One or more file
arguments can be present, these must be files that have been created with the EditDemo. A separate window will be opened for each file.
Other classes in this package are supporting classes for the EditDemo.
+ + diff --git a/icu4j/src/com/ibm/richtext/textformat/MTextIterator.java b/icu4j/src/com/ibm/richtext/textformat/MTextIterator.java index a3fbb9c0e9..a71a3bf751 100755 --- a/icu4j/src/com/ibm/richtext/textformat/MTextIterator.java +++ b/icu4j/src/com/ibm/richtext/textformat/MTextIterator.java @@ -1,5 +1,5 @@ /* - * @(#)$RCSfile: MTextIterator.java,v $ $Revision: 1.4 $ $Date: 2002/02/16 03:06:43 $ + * @(#)$RCSfile: MTextIterator.java,v $ $Revision: 1.5 $ $Date: 2002/12/13 00:19:49 $ * * (C) Copyright IBM Corp. 1998-1999. All Rights Reserved. * @@ -33,6 +33,9 @@ import com.ibm.richtext.textlayout.attributes.AttributedCharacterIterator.Attrib import com.ibm.richtext.textlayout.attributes.Map; JDK11IMPORTS*/ +/** + * An AttributedCharacterIterator over an MConstText. + */ public final class MTextIterator implements AttributedCharacterIterator, Cloneable { @@ -399,4 +402,4 @@ public final class MTextIterator implements AttributedCharacterIterator, getBeginIndex(), getEndIndex()); } -} \ No newline at end of file +} diff --git a/icu4j/src/com/ibm/richtext/textformat/TestMTextIterator.java b/icu4j/src/com/ibm/richtext/textformat/TestMTextIterator.java index f1a8a8fd66..e1a5b438b8 100755 --- a/icu4j/src/com/ibm/richtext/textformat/TestMTextIterator.java +++ b/icu4j/src/com/ibm/richtext/textformat/TestMTextIterator.java @@ -1,5 +1,5 @@ /* - * @(#)$RCSfile: TestMTextIterator.java,v $ $Revision: 1.2 $ $Date: 2002/02/16 03:06:44 $ + * @(#)$RCSfile: TestMTextIterator.java,v $ $Revision: 1.3 $ $Date: 2002/12/13 00:19:08 $ * * (C) Copyright IBM Corp. 1998-1999. All Rights Reserved. * @@ -24,7 +24,10 @@ import com.ibm.richtext.textlayout.attributes.AttributeMap; import com.ibm.richtext.textpanel.TextPanel; -public class TestMTextIterator { +/** + * Test for MTextIterator. + */ +class TestMTextIterator { static final String COPYRIGHT = "(C) Copyright IBM Corp. 1998-1999 - All Rights Reserved"; @@ -114,4 +117,4 @@ public class TestMTextIterator { new TestMTextIterator().test(); System.out.println("PASSED"); } -} \ No newline at end of file +} diff --git a/icu4j/src/com/ibm/richtext/textformat/package.html b/icu4j/src/com/ibm/richtext/textformat/package.html new file mode 100644 index 0000000000..27f16bb508 --- /dev/null +++ b/icu4j/src/com/ibm/richtext/textformat/package.html @@ -0,0 +1,15 @@ + + + + +Classes that format text in a background thread and render the formatted text to a graphics.
+ + + diff --git a/icu4j/src/com/ibm/richtext/textlayout/attributes/package.html b/icu4j/src/com/ibm/richtext/textlayout/attributes/package.html new file mode 100644 index 0000000000..3fca91ed72 --- /dev/null +++ b/icu4j/src/com/ibm/richtext/textlayout/attributes/package.html @@ -0,0 +1,15 @@ + + + + +Richtext attribute support. Includes tab, first line indent, and margin attributes.
+ + +