Package org.fxmisc.richtext.model
Class StyleSpan<S>
- java.lang.Object
-
- org.fxmisc.richtext.model.StyleSpan<S>
-
- Type Parameters:
S
- the style type
public class StyleSpan<S> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
TwoStyleSpan
s are considered equal if they have equal length and equal style.int
getLength()
S
getStyle()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
StyleSpan
public StyleSpan(S style, int length)
Creates a style span. Note: length cannot be negative.
-
-