|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.grahamedgecombe.jterminal.AbstractTerminalModel
public abstract class AbstractTerminalModel
A TerminalModel which implements some common behaviour.
| Constructor Summary | |
|---|---|
AbstractTerminalModel()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears the terminal. |
void |
moveCursorBack(int n)
Moves the cursor back n characters. |
void |
moveCursorDown(int n)
Moves the cursor down n characters. |
void |
moveCursorForward(int n)
Moves the cursor forward n characters. |
void |
moveCursorUp(int n)
Moves the cursor up n characters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.grahamedgecombe.jterminal.TerminalModel |
|---|
getBellStrategy, getBufferSize, getCell, getColumns, getCursorColumn, getCursorRow, getDefaultBackgroundColor, getDefaultForegroundColor, getRows, print, setBellStrategy, setCell, setCursorColumn, setCursorRow |
| Constructor Detail |
|---|
public AbstractTerminalModel()
| Method Detail |
|---|
public void clear()
TerminalModel
clear in interface TerminalModelpublic void moveCursorBack(int n)
TerminalModel
moveCursorBack in interface TerminalModeln - The number of characters.public void moveCursorForward(int n)
TerminalModel
moveCursorForward in interface TerminalModeln - The number of characters.public void moveCursorDown(int n)
TerminalModel
moveCursorDown in interface TerminalModeln - The number of characters.public void moveCursorUp(int n)
TerminalModel
moveCursorUp in interface TerminalModeln - The number of characters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||