JavaScript is disabled on your browser.
public class StyleTransition
extends Object
Represents a style change in a word. A StyleTransition provides information about the character index in the word where the style changes, and the new Style.
Method Summary
All Methods Instance Methods Concrete Methods
void
int
The index of the character in the word at which this transition begins.
The Style that begins at this transition.
Returns a string representation of the StyleTransition.
Method Details
delete
public void delete ()
getStyle
The Style that begins at this transition.
getCharIndex
public int getCharIndex ()
The index of the character in the word at which this transition begins.
toString
Returns a string representation of the StyleTransition.
Overrides:
toString in class Object