sub_arctic.text
Class linebreak

java.lang.Object
  |
  +--sub_arctic.text.linebreak

public class linebreak
extends java.lang.Object

This little object represents the "next break point" in a list of runs. I.e. if we are at a location X in the text and the next word break boundary is at position Y, this break will contain a reference to the word structure representing the word between X and Y and will also contain Y. This object is returned by the line breaking algorithm after each word break.


Field Summary
 int current_index
          This is an index within the current_run (above) which is the next character to be examined.
 run current_run
          This is the new "current object" in the list of runs.
 word current_word
          This is the word that was the last one broken out of the list of runs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

current_run

public run current_run
This is the new "current object" in the list of runs. This is NULL if and only if we are now out of characters to break (at the end).

current_index

public int current_index
This is an index within the current_run (above) which is the next character to be examined. This should always be a valid start position of the current_run (i.e. not equal to the length or past it).

current_word

public word current_word
This is the word that was the last one broken out of the list of runs.