Top Fields Constructors Methods
org.fxmisc.richtext.model

pack-priv Class SubSpans<S>

Located in compilation unit of org.fxmisc.richtext.model.StyleSpansBuilder.

extends StyleSpansBase<S>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final int
private final StyleSpan<S>
private final StyleSpan<S>
pack-priv int
private final StyleSpans<S>
private final int
Inherited from org.fxmisc.richtext.model.StyleSpansBase:
navigator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public StyleSpan<S>
public int
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.fxmisc.richtext.model.StyleSpansBase:
equalsgetStyleRangehashCodeoffsetToPositionposition

Field Detail

firstIdxInOrigback to summary
private final int firstIdxInOrig
firstSpanback to summary
private final StyleSpan<S> firstSpan
lastSpanback to summary
private final StyleSpan<S> lastSpan
lengthback to summary
pack-priv int length
originalback to summary
private final StyleSpans<S> original
spanCountback to summary
private final int spanCount

Constructor Detail

SubSpansback to summary
public SubSpans(StyleSpans<S> original, TwoDimensional.Position from, TwoDimensional.Position to)

Method Detail

getSpanCountback to summary
public int getSpanCount()

Implements org.fxmisc.richtext.model.StyleSpans.getSpanCount.

Annotations
@Override
getStyleSpanback to summary
public StyleSpan<S> getStyleSpan(int index)

Implements org.fxmisc.richtext.model.StyleSpans.getStyleSpan.

Annotations
@Override
lengthback to summary
public int length()

Implements org.fxmisc.richtext.model.StyleSpans.length.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override