SEG
- the type of segmentS
- the type of styleSegmentOps<SEG,S>
TextOpsBase
public interface TextOps<SEG,S> extends SegmentOps<SEG,S>
Modifier and Type | Method | Description |
---|---|---|
default <R> TextOps<org.reactfx.util.Either<SEG,R>,S> |
_or(SegmentOps<R,S> rOps,
java.util.function.BiFunction<S,S,java.util.Optional<S>> mergeStyle) |
Same as
SegmentOps.either(SegmentOps, SegmentOps, BiFunction) , except that
create(String) will use this object's create(String) method, not rOps ' version. |
SEG |
create(java.lang.String text) |
Creates a segment using the given text.
|
static <L,R,S> TextOps<org.reactfx.util.Either<L,R>,S> |
eitherL(TextOps<L,S> lOps,
SegmentOps<R,S> rOps,
java.util.function.BiFunction<S,S,java.util.Optional<S>> mergeStyle) |
Same as
SegmentOps.either(SegmentOps, SegmentOps, BiFunction) , except that
create(String) will use lOps ' create(String) method, not rOps ' version. |
static <L,R,S> TextOps<org.reactfx.util.Either<L,R>,S> |
eitherR(SegmentOps<L,S> lOps,
TextOps<R,S> rOps,
java.util.function.BiFunction<S,S,java.util.Optional<S>> mergeStyle) |
Same as
SegmentOps.either(SegmentOps, SegmentOps, BiFunction) , except that
create(String) will use rOps ' create(String) method, not lOps ' version. |
charAt, createEmptySeg, either, either, eitherStyles, getText, joinSeg, joinStyle, length, or, orStyled, styledTextOps, styledTextOps, subSequence, subSequence
SEG create(java.lang.String text)
String
to
TextOps
default <R> TextOps<org.reactfx.util.Either<SEG,R>,S> _or(SegmentOps<R,S> rOps, java.util.function.BiFunction<S,S,java.util.Optional<S>> mergeStyle)
SegmentOps.either(SegmentOps, SegmentOps, BiFunction)
, except that
create(String)
will use this object's create(String)
method, not rOps
' version.static <L,R,S> TextOps<org.reactfx.util.Either<L,R>,S> eitherL(TextOps<L,S> lOps, SegmentOps<R,S> rOps, java.util.function.BiFunction<S,S,java.util.Optional<S>> mergeStyle)
SegmentOps.either(SegmentOps, SegmentOps, BiFunction)
, except that
create(String)
will use lOps
' create(String)
method, not rOps
' version.static <L,R,S> TextOps<org.reactfx.util.Either<L,R>,S> eitherR(SegmentOps<L,S> lOps, TextOps<R,S> rOps, java.util.function.BiFunction<S,S,java.util.Optional<S>> mergeStyle)
SegmentOps.either(SegmentOps, SegmentOps, BiFunction)
, except that
create(String)
will use rOps
' create(String)
method, not lOps
' version.