@InterfaceAudience.Private public class Attributes extends Object
Modifier and Type | Field and Description |
---|---|
private Color |
backgroundColor |
private boolean |
blink |
private boolean |
bold |
private Color |
foregroundColor |
private boolean |
reverse |
private boolean |
underline |
Constructor and Description |
---|
Attributes() |
Attributes(Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Color |
getBackgroundColor() |
Color |
getForegroundColor() |
int |
hashCode() |
boolean |
isBlink() |
boolean |
isBold() |
boolean |
isReverse() |
boolean |
isUnderline() |
void |
reset() |
void |
set(Attributes attributes) |
void |
setBackgroundColor(Color backgroundColor) |
void |
setBlink(boolean blink) |
void |
setBold(boolean bold) |
void |
setForegroundColor(Color foregroundColor) |
void |
setReverse(boolean reverse) |
void |
setUnderline(boolean underline) |
private boolean bold
private boolean blink
private boolean reverse
private boolean underline
private Color foregroundColor
private Color backgroundColor
public Attributes()
public Attributes(Attributes attributes)
public boolean isBold()
public void setBold(boolean bold)
public boolean isBlink()
public void setBlink(boolean blink)
public boolean isReverse()
public void setReverse(boolean reverse)
public boolean isUnderline()
public void setUnderline(boolean underline)
public Color getForegroundColor()
public void setForegroundColor(Color foregroundColor)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public void reset()
public void set(Attributes attributes)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.