| java.lang.Object com.ibm.richtext.styledtext.MParagraphBuffer
All known Subclasses: com.ibm.richtext.styledtext.ParagraphBuffer,
MParagraphBuffer | abstract class MParagraphBuffer (Code) | | |
Method Summary | |
abstract void | compress() Minimize the amount of memory used by this object. | abstract void | deleteText(int start, int limit, int[] damagedRange) Process deletion by removing paragraph breaks contained in
deleted range. | abstract void | insertText(int start, char insertedChar) Process a character insertion at offset start. | abstract void | insertText(int start, char[] srcChars, int srcStart, int srcLimit) Process character insertion at offset start. | abstract boolean | modifyParagraphStyles(int start, int limit, StyleModifier modifier, int[] damagedRange) Set the style of all paragraphs containing offsets in the range [start, limit) to
style. | abstract int | paragraphLimit(int pos) Returns the limit of the paragraph containing offset pos. | abstract int | paragraphStart(int pos) Returns the start of the paragraph containing offset pos. | abstract AttributeMap | paragraphStyleAt(int offset) Returns the style of the paragraph containing offset pos. | abstract void | replace(int start, int limit, MConstText srcText, int srcStart, int srcLimit, int[] damagedRange) |
compress | abstract void compress()(Code) | | Minimize the amount of memory used by this object.
|
deleteText | abstract void deleteText(int start, int limit, int[] damagedRange)(Code) | | Process deletion by removing paragraph breaks contained in
deleted range. Propogate paragraph styles backward, if necessary.
|
insertText | abstract void insertText(int start, char insertedChar)(Code) | | Process a character insertion at offset start.
If a paragraph break was inserted, propogate paragraph style at
start to new paragraph.
|
insertText | abstract void insertText(int start, char[] srcChars, int srcStart, int srcLimit)(Code) | | Process character insertion at offset start.
Each new paragraph gets paragraph style at
start.
|
modifyParagraphStyles | abstract boolean modifyParagraphStyles(int start, int limit, StyleModifier modifier, int[] damagedRange)(Code) | | Set the style of all paragraphs containing offsets in the range [start, limit) to
style.
|
paragraphLimit | abstract int paragraphLimit(int pos)(Code) | | Returns the limit of the paragraph containing offset pos.
|
paragraphStart | abstract int paragraphStart(int pos)(Code) | | Returns the start of the paragraph containing offset pos.
|
paragraphStyleAt | abstract AttributeMap paragraphStyleAt(int offset)(Code) | | Returns the style of the paragraph containing offset pos.
|
replace | abstract void replace(int start, int limit, MConstText srcText, int srcStart, int srcLimit, int[] damagedRange)(Code) | | |
|
|