Package | Description |
---|---|
org.jline.utils |
JLine 3.
|
Modifier and Type | Field | Description |
---|---|---|
static AttributedStyle |
AttributedStyle.BOLD |
|
static AttributedStyle |
AttributedStyle.BOLD_OFF |
|
static AttributedStyle |
AttributedStyle.DEFAULT |
|
static AttributedStyle |
AttributedStyle.HIDDEN |
|
static AttributedStyle |
AttributedStyle.HIDDEN_OFF |
|
static AttributedStyle |
AttributedStyle.INVERSE |
|
static AttributedStyle |
AttributedStyle.INVERSE_OFF |
Modifier and Type | Method | Description |
---|---|---|
AttributedStyle |
AttributedStyle.background(int color) |
|
AttributedStyle |
AttributedStyle.backgroundDefault() |
|
AttributedStyle |
AttributedStyle.backgroundOff() |
|
AttributedStyle |
AttributedStyle.blink() |
|
AttributedStyle |
AttributedStyle.blinkDefault() |
|
AttributedStyle |
AttributedStyle.blinkOff() |
|
AttributedStyle |
AttributedStyle.bold() |
|
AttributedStyle |
AttributedStyle.boldDefault() |
|
AttributedStyle |
AttributedStyle.boldOff() |
|
AttributedStyle |
AttributedStyle.conceal() |
|
AttributedStyle |
AttributedStyle.concealDefault() |
|
AttributedStyle |
AttributedStyle.concealOff() |
|
AttributedStyle |
AttributedStyle.crossedOut() |
|
AttributedStyle |
AttributedStyle.crossedOutDefault() |
|
AttributedStyle |
AttributedStyle.crossedOutOff() |
|
AttributedStyle |
AttributedStyle.faint() |
|
AttributedStyle |
AttributedStyle.faintDefault() |
|
AttributedStyle |
AttributedStyle.faintOff() |
|
AttributedStyle |
AttributedStyle.foreground(int color) |
|
AttributedStyle |
AttributedStyle.foregroundDefault() |
|
AttributedStyle |
AttributedStyle.foregroundOff() |
|
AttributedStyle |
AttributedStyle.hidden() |
The hidden flag can be used to embed custom escape sequences.
|
AttributedStyle |
AttributedStyle.hiddenDefault() |
|
AttributedStyle |
AttributedStyle.hiddenOff() |
|
AttributedStyle |
AttributedStyle.inverse() |
|
AttributedStyle |
AttributedStyle.inverseDefault() |
|
AttributedStyle |
AttributedStyle.inverseNeg() |
|
AttributedStyle |
AttributedStyle.inverseOff() |
|
AttributedStyle |
AttributedStyle.italic() |
|
AttributedStyle |
AttributedStyle.italicDefault() |
|
AttributedStyle |
AttributedStyle.italicOff() |
|
AttributedStyle |
StyleResolver.resolve(String spec) |
Resolve the given style specification.
|
AttributedStyle |
StyleResolver.resolve(String spec,
String defaultSpec) |
Resolve the given style specification.
|
AttributedStyle |
AttributedStringBuilder.style() |
|
abstract AttributedStyle |
AttributedCharSequence.styleAt(int index) |
|
AttributedStyle |
AttributedString.styleAt(int index) |
|
AttributedStyle |
AttributedStringBuilder.styleAt(int index) |
|
AttributedStyle |
AttributedStyle.underline() |
|
AttributedStyle |
AttributedStyle.underlineDefault() |
|
AttributedStyle |
AttributedStyle.underlineOff() |
Modifier and Type | Method | Description |
---|---|---|
AttributedStringBuilder |
AttributedStringBuilder.append(CharSequence csq,
AttributedStyle style) |
|
protected void |
AttributedStringBuilder.insertTab(AttributedStyle s) |
|
AttributedStringBuilder |
AttributedStringBuilder.style(AttributedStyle style) |
|
AttributedStringBuilder |
AttributedStringBuilder.styled(AttributedStyle style,
CharSequence cs) |
|
AttributedString |
AttributedString.styleMatches(Pattern pattern,
AttributedStyle style) |
|
AttributedStringBuilder |
AttributedStringBuilder.styleMatches(Pattern pattern,
AttributedStyle s) |
Modifier and Type | Method | Description |
---|---|---|
AttributedStringBuilder |
AttributedStringBuilder.style(Function<AttributedStyle,AttributedStyle> style) |
|
AttributedStringBuilder |
AttributedStringBuilder.style(Function<AttributedStyle,AttributedStyle> style) |
|
AttributedStringBuilder |
AttributedStringBuilder.styled(Function<AttributedStyle,AttributedStyle> style,
CharSequence cs) |
|
AttributedStringBuilder |
AttributedStringBuilder.styled(Function<AttributedStyle,AttributedStyle> style,
CharSequence cs) |
|
AttributedStringBuilder |
AttributedStringBuilder.styled(Function<AttributedStyle,AttributedStyle> style,
Consumer<AttributedStringBuilder> consumer) |
|
AttributedStringBuilder |
AttributedStringBuilder.styled(Function<AttributedStyle,AttributedStyle> style,
Consumer<AttributedStringBuilder> consumer) |
|
AttributedStringBuilder |
AttributedStringBuilder.styleMatches(Pattern pattern,
List<AttributedStyle> styles) |
Constructor | Description |
---|---|
AttributedString(CharSequence str,
int start,
int end,
AttributedStyle s) |
|
AttributedString(CharSequence str,
AttributedStyle s) |
|
AttributedStyle(AttributedStyle s) |
Copyright © 2020. All rights reserved.