- java.lang.Object
-
- org.jline.utils.Status
-
public class Status extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
border
protected AttributedString
borderString
protected int
columns
protected boolean
force
protected List<AttributedString>
linesToRestore
protected List<AttributedString>
oldLines
protected int
rows
protected boolean
supported
protected boolean
suspended
protected AbstractTerminal
terminal
-
Constructor Summary
Constructors Constructor Description Status(AbstractTerminal terminal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
static Status
getStatus(Terminal terminal)
static Status
getStatus(Terminal terminal, boolean create)
void
hardReset()
void
redraw()
void
reset()
void
resize()
void
restore()
void
setBorder(boolean border)
int
size()
void
suspend()
void
update(List<AttributedString> lines)
-
-
-
Field Detail
-
terminal
protected final AbstractTerminal terminal
-
supported
protected final boolean supported
-
oldLines
protected List<AttributedString> oldLines
-
linesToRestore
protected List<AttributedString> linesToRestore
-
rows
protected int rows
-
columns
protected int columns
-
force
protected boolean force
-
suspended
protected boolean suspended
-
borderString
protected AttributedString borderString
-
border
protected int border
-
-
Constructor Detail
-
Status
public Status(AbstractTerminal terminal)
-
-
Method Detail
-
setBorder
public void setBorder(boolean border)
-
resize
public void resize()
-
reset
public void reset()
-
hardReset
public void hardReset()
-
redraw
public void redraw()
-
clear
public void clear()
-
update
public void update(List<AttributedString> lines)
-
suspend
public void suspend()
-
restore
public void restore()
-
size
public int size()
-
-