public final class Ansi extends Object
User: tomas.langer Date: 3.12.2015 Time: 14:42
| Modifier and Type | Class and Description |
|---|---|
static interface |
Ansi.AnsiCode
Common methods for all types of Ansi modifications.
|
static class |
Ansi.BgColor
Background colors.
|
static class |
Ansi.Color
Foreground colors.
|
static class |
Ansi.Modifier
Modifiers of output that are not related to color.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
cursorDown() |
static String |
cursorDown(int rows) |
static String |
cursorLeft() |
static String |
cursorLeft(int cols) |
static String |
cursorRight() |
static String |
cursorRight(int cols) |
static String |
cursorUp() |
static String |
cursorUp(int rows) |
static String |
eraseLine() |
static String |
eraseLineEnd()
From cursor to line end
|
static String |
eraseLineStart()
From line start to cursor
|
static String |
eraseScreen() |
static String |
eraseScreenDown()
Erase from cursor down
|
static String |
eraseScreenUp()
Erase from cursor up
|
static String |
setCursorPosition(int x,
int y) |
public static String cursorUp()
public static String cursorUp(int rows)
public static String cursorDown()
public static String cursorDown(int rows)
public static String cursorRight()
public static String cursorRight(int cols)
public static String cursorLeft()
public static String cursorLeft(int cols)
public static String setCursorPosition(int x, int y)
public static String eraseScreen()
public static String eraseScreenDown()
public static String eraseScreenUp()
public static String eraseLine()
public static String eraseLineStart()
public static String eraseLineEnd()
Copyright © 2015. All rights reserved.