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 booleanequals(Object other)TwoStyleSpans are considered equal if they have equal length and equal style.intgetLength()SgetStyle()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
StyleSpan
public StyleSpan(S style, int length)
Creates a style span. Note: length cannot be negative.
-
-