Package | Description |
---|---|
org.jline.utils |
JLine 3.
|
Modifier and Type | Field and 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 and 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() |
AttributedStyle |
AttributedStringBuilder.styleAt(int index) |
abstract AttributedStyle |
AttributedCharSequence.styleAt(int index) |
AttributedStyle |
AttributedString.styleAt(int index) |
AttributedStyle |
AttributedStyle.underline() |
AttributedStyle |
AttributedStyle.underlineDefault() |
AttributedStyle |
AttributedStyle.underlineOff() |
Modifier and Type | Method and 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) |
AttributedStringBuilder |
AttributedStringBuilder.styleMatches(Pattern pattern,
AttributedStyle s) |
AttributedString |
AttributedString.styleMatches(Pattern pattern,
AttributedStyle style) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
AttributedString(CharSequence str,
AttributedStyle s) |
AttributedString(CharSequence str,
int start,
int end,
AttributedStyle s) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.