public class LineStyleEvent extends TypedEvent
Modifier and Type | Field and Description |
---|---|
int |
alignment
line alignment (input, output)
|
Bullet |
bullet
line bullet (output)
|
int |
bulletIndex
line bullet index (output)
|
int |
indent
line indent (input, output)
|
boolean |
justify
line justification (input, output)
|
int |
lineOffset
line start offset (input)
|
java.lang.String |
lineText
line text (input)
|
int[] |
ranges
line ranges (output)
|
(package private) static long |
serialVersionUID |
StyleRange[] |
styles
line styles (output)
Note: Because a StyleRange includes the start and length, the
same instance cannot occur multiple times in the array of styles.
|
int[] |
tabStops
line tab stops (output)
|
int |
wrapIndent
line wrap indent (input, output)
|
data, display, time, widget
Constructor and Description |
---|
LineStyleEvent(StyledTextEvent e)
Constructs a new instance of this class based on the
information in the given event.
|
toString
public int lineOffset
public java.lang.String lineText
public int[] ranges
public StyleRange[] styles
ranges
can be used to share
styles and reduce memory usage.public int alignment
public int indent
public int wrapIndent
public boolean justify
public Bullet bullet
public int bulletIndex
public int[] tabStops
static final long serialVersionUID
public LineStyleEvent(StyledTextEvent e)
e
- the event containing the information