Top Fields Constructors Methods
org.fxmisc.richtext.model

pack-priv Class LeftTextOps<L, R, S>

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

extends EitherSegmentOps<L, R, S>
implements TextOps<Either<L, R>, S>
Class Inheritance
All Implemented Interfaces
org.fxmisc.richtext.model.TextOps, org.fxmisc.richtext.model.SegmentOps

Field Summary

Modifier and TypeField and Description
private final TextOps<L, S>

Constructor Summary

AccessConstructor and Description
pack-priv
LeftTextOps(TextOps<L, S> lOps, SegmentOps<R, S> rOps, BiFunction<S, S, Optional<S>> mergeStyle)

Method Summary

Modifier and TypeMethod and Description
public Either<L, R>
create(String text)

Implements org.fxmisc.richtext.model.TextOps.create.

Creates a segment using the given text.

Inherited from org.fxmisc.richtext.model.EitherSegmentOps:
charAtcreateEmptySeggetTextjoinSegjoinStylelengthsubSequencesubSequence

Field Detail

lOpsback to summary
private final TextOps<L, S> lOps

Hides org.fxmisc.richtext.model.EitherSegmentOps.lOps.

Constructor Detail

LeftTextOpsback to summary
pack-priv LeftTextOps(TextOps<L, S> lOps, SegmentOps<R, S> rOps, BiFunction<S, S, Optional<S>> mergeStyle)

Method Detail

createback to summary
public Either<L, R> create(String text)

Implements org.fxmisc.richtext.model.TextOps.create.

Doc from org.fxmisc.richtext.model.TextOps.create.

Creates a segment using the given text. One could think of this as a mapping function from String to SEG

Annotations
@Override