| |
|
| java.lang.Object com.ibm.richtext.styledtext.RunArray
Constructor Summary | |
| RunArray(int initialSize, int curTextLength) | public | RunArray() Note: this constructor is ONLY for use by the Serialization
mechanism. |
fPosEndfNegStart | int fPosEndfNegStart(Code) | | |
fRunStart | int[] fRunStart(Code) | | |
RunArray | RunArray(int initialSize, int curTextLength)(Code) | | |
RunArray | public RunArray()(Code) | | Note: this constructor is ONLY for use by the Serialization
mechanism. It does not leave this object in a valid state!
|
addToCurTextLength | public void addToCurTextLength(int delta)(Code) | | |
compress | void compress()(Code) | | |
expandRunTable | void expandRunTable()(Code) | | Increases size of run table. Current implementation doubles the run table's size.
|
findRunContaining | int findRunContaining(int pos)(Code) | | Returns index of style run containing pos. If first style run starts before
pos, -1 is returned. If pos is greater than text length, lastrun is returned.
|
getArrayLength | int getArrayLength()(Code) | | Returns the length of the run array. Replaces old fLength member.
|
getCurTextLength | public int getCurTextLength()(Code) | | |
getLogicalRunStart | int getLogicalRunStart(int run)(Code) | | |
lastRun | int lastRun()(Code) | | Returns the index of the last valid run.
|
runStartsChanged | public void runStartsChanged()(Code) | | |
setCurTextLength | public void setCurTextLength(int curTextLength)(Code) | | |
shiftTableTo | void shiftTableTo(int pos)(Code) | | Shifts style table such that the last positive run
starts before pos.
|
|
|
|