public class AnsiScroll extends Object implements AnsiElement
Constructor and Description |
---|
AnsiScroll(String code) |
Modifier and Type | Method and Description |
---|---|
static AnsiScroll |
down() |
static AnsiScroll |
down(int line)
向下滚动 N 行
|
static AnsiScroll |
left() |
static AnsiScroll |
left(int line)
向左滚动 N 行
|
static AnsiScroll |
right() |
static AnsiScroll |
right(int line)
向右滚动 N 行
|
String |
toString()
获取元素
|
static AnsiScroll |
up() |
static AnsiScroll |
up(int line)
向上滚动 N 行
|
public AnsiScroll(String code)
public static AnsiScroll up()
public static AnsiScroll up(int line)
line
- linepublic static AnsiScroll down()
public static AnsiScroll down(int line)
line
- linepublic static AnsiScroll right()
public static AnsiScroll right(int line)
line
- linepublic static AnsiScroll left()
public static AnsiScroll left(int line)
line
- linepublic String toString()
AnsiElement
toString
in interface AnsiElement
toString
in class Object
Copyright © 2024. All rights reserved.