org.maverickdbms.basic
Interface Terminal

All Superinterfaces:
java.lang.Comparable

public interface Terminal
extends java.lang.Comparable

This is the basic terminal interface for the package.


Field Summary
static int TERM_BACKSPACEKEY
           
static int TERM_BELL
           
static int TERM_BLACK_BACKGROUND
           
static int TERM_BLACK_FOREGROUND
           
static int TERM_BLINKSTART
           
static int TERM_BLINKSTOP
           
static int TERM_BLUE_BACKGROUND
           
static int TERM_BLUE_FOREGROUND
           
static int TERM_BOLDOFF
           
static int TERM_BOLDON
           
static int TERM_BROWN_BACKGROUND
           
static int TERM_BROWN_FOREGROUND
           
static int TERM_CHARSETSTART
           
static int TERM_CHARSETSTOP
           
static int TERM_CLEARCURSORLINE
           
static int TERM_CLEARCURSORLINEKEY
           
static int TERM_CLEARCURSORSCREEN
           
static int TERM_CLEARCURSORSCREENKEY
           
static int TERM_CLEARKEY
           
static int TERM_CLEARSCREEN
           
static int TERM_CYAN_BACKGROUND
           
static int TERM_CYAN_FOREGROUND
           
static int TERM_DELETE
           
static int TERM_DELETEKEY
           
static int TERM_DELETELINE
           
static int TERM_DELETELINEKEY
           
static int TERM_DOWNARROWKEY
           
static int TERM_DOWNLINE
           
static int TERM_F0KEY
           
static int TERM_F10KEY
           
static int TERM_F1KEY
           
static int TERM_F2KEY
           
static int TERM_F3KEY
           
static int TERM_F4KEY
           
static int TERM_F5KEY
           
static int TERM_F6KEY
           
static int TERM_F7KEY
           
static int TERM_F8KEY
           
static int TERM_F9KEY
           
static int TERM_GREEN_BACKGROUND
           
static int TERM_GREEN_FOREGROUND
           
static int TERM_HALFINTENSITYSTART
           
static int TERM_HALFINTENSITYSTOP
           
static int TERM_HOMECURSOR
           
static int TERM_HOMEKEY
           
static int TERM_INSERT
           
static int TERM_INSERTKEY
           
static int TERM_INSERTLINE
           
static int TERM_INSERTLINEKEY
           
static int TERM_LEFT
           
static int TERM_LEFTARROWKEY
           
static int TERM_MAGENTA_BACKGROUND
           
static int TERM_MAGENTA_FOREGROUND
           
static int TERM_NEXTPAGEKEY
           
static int TERM_PREVPAGEKEY
           
static int TERM_PRINTERSTART
           
static int TERM_PRINTERSTOP
           
static int TERM_PRINTSCREEN
           
static int TERM_PROTECTSTART
           
static int TERM_PROTECTSTOP
           
static int TERM_RED_BACKGROUND
           
static int TERM_RED_FOREGROUND
           
static int TERM_RESET
           
static int TERM_REVERSESTART
           
static int TERM_REVERSESTOP
           
static int TERM_RIGHT
           
static int TERM_RIGHTARROWKEY
           
static int TERM_SCROLLBACKKEY
           
static int TERM_SCROLLFORWARDKEY
           
static int TERM_STANDOUTOFF
           
static int TERM_STANDOUTON
           
static int TERM_TABKEY
           
static int TERM_UNDERLINESTART
           
static int TERM_UNDERLINESTOP
           
static int TERM_UPARROWKEY
           
static int TERM_UPLINE
           
static int TERM_WHITE_BACKGROUND
           
static int TERM_WHITE_FOREGROUND
           
 
Method Summary
 java.lang.String getEscapeSequence(int no)
          Return terminal specific escape sequence for specified no.
 int getHeight()
          Return the height in characters displayable on the screen
 java.lang.String getName()
           
 int getWidth()
          Return the width in characters displayable on the screen
 java.lang.String positionScreenAt(int column)
           
 java.lang.String positionScreenAt(int row, int column)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

TERM_CLEARSCREEN

public static final int TERM_CLEARSCREEN
See Also:
Constant Field Values

TERM_HOMECURSOR

public static final int TERM_HOMECURSOR
See Also:
Constant Field Values

TERM_CLEARCURSORSCREEN

public static final int TERM_CLEARCURSORSCREEN
See Also:
Constant Field Values

TERM_CLEARCURSORLINE

public static final int TERM_CLEARCURSORLINE
See Also:
Constant Field Values

TERM_BLINKSTART

public static final int TERM_BLINKSTART
See Also:
Constant Field Values

TERM_BLINKSTOP

public static final int TERM_BLINKSTOP
See Also:
Constant Field Values

TERM_PROTECTSTART

public static final int TERM_PROTECTSTART
See Also:
Constant Field Values

TERM_PROTECTSTOP

public static final int TERM_PROTECTSTOP
See Also:
Constant Field Values

TERM_LEFT

public static final int TERM_LEFT
See Also:
Constant Field Values

TERM_UPLINE

public static final int TERM_UPLINE
See Also:
Constant Field Values

TERM_HALFINTENSITYSTART

public static final int TERM_HALFINTENSITYSTART
See Also:
Constant Field Values

TERM_HALFINTENSITYSTOP

public static final int TERM_HALFINTENSITYSTOP
See Also:
Constant Field Values

TERM_REVERSESTART

public static final int TERM_REVERSESTART
See Also:
Constant Field Values

TERM_REVERSESTOP

public static final int TERM_REVERSESTOP
See Also:
Constant Field Values

TERM_UNDERLINESTART

public static final int TERM_UNDERLINESTART
See Also:
Constant Field Values

TERM_UNDERLINESTOP

public static final int TERM_UNDERLINESTOP
See Also:
Constant Field Values

TERM_DOWNLINE

public static final int TERM_DOWNLINE
See Also:
Constant Field Values

TERM_RIGHT

public static final int TERM_RIGHT
See Also:
Constant Field Values

TERM_BELL

public static final int TERM_BELL
See Also:
Constant Field Values

TERM_DELETE

public static final int TERM_DELETE
See Also:
Constant Field Values

TERM_INSERT

public static final int TERM_INSERT
See Also:
Constant Field Values

TERM_DELETELINE

public static final int TERM_DELETELINE
See Also:
Constant Field Values

TERM_INSERTLINE

public static final int TERM_INSERTLINE
See Also:
Constant Field Values

TERM_PRINTERSTART

public static final int TERM_PRINTERSTART
See Also:
Constant Field Values

TERM_PRINTERSTOP

public static final int TERM_PRINTERSTOP
See Also:
Constant Field Values

TERM_PRINTSCREEN

public static final int TERM_PRINTSCREEN
See Also:
Constant Field Values

TERM_CHARSETSTART

public static final int TERM_CHARSETSTART
See Also:
Constant Field Values

TERM_CHARSETSTOP

public static final int TERM_CHARSETSTOP
See Also:
Constant Field Values

TERM_RESET

public static final int TERM_RESET
See Also:
Constant Field Values

TERM_WHITE_BACKGROUND

public static final int TERM_WHITE_BACKGROUND
See Also:
Constant Field Values

TERM_BROWN_BACKGROUND

public static final int TERM_BROWN_BACKGROUND
See Also:
Constant Field Values

TERM_MAGENTA_BACKGROUND

public static final int TERM_MAGENTA_BACKGROUND
See Also:
Constant Field Values

TERM_RED_BACKGROUND

public static final int TERM_RED_BACKGROUND
See Also:
Constant Field Values

TERM_CYAN_BACKGROUND

public static final int TERM_CYAN_BACKGROUND
See Also:
Constant Field Values

TERM_GREEN_BACKGROUND

public static final int TERM_GREEN_BACKGROUND
See Also:
Constant Field Values

TERM_BLUE_BACKGROUND

public static final int TERM_BLUE_BACKGROUND
See Also:
Constant Field Values

TERM_BLACK_BACKGROUND

public static final int TERM_BLACK_BACKGROUND
See Also:
Constant Field Values

TERM_WHITE_FOREGROUND

public static final int TERM_WHITE_FOREGROUND
See Also:
Constant Field Values

TERM_BROWN_FOREGROUND

public static final int TERM_BROWN_FOREGROUND
See Also:
Constant Field Values

TERM_MAGENTA_FOREGROUND

public static final int TERM_MAGENTA_FOREGROUND
See Also:
Constant Field Values

TERM_RED_FOREGROUND

public static final int TERM_RED_FOREGROUND
See Also:
Constant Field Values

TERM_CYAN_FOREGROUND

public static final int TERM_CYAN_FOREGROUND
See Also:
Constant Field Values

TERM_GREEN_FOREGROUND

public static final int TERM_GREEN_FOREGROUND
See Also:
Constant Field Values

TERM_BLUE_FOREGROUND

public static final int TERM_BLUE_FOREGROUND
See Also:
Constant Field Values

TERM_BLACK_FOREGROUND

public static final int TERM_BLACK_FOREGROUND
See Also:
Constant Field Values

TERM_BACKSPACEKEY

public static final int TERM_BACKSPACEKEY
See Also:
Constant Field Values

TERM_CLEARKEY

public static final int TERM_CLEARKEY
See Also:
Constant Field Values

TERM_DELETEKEY

public static final int TERM_DELETEKEY
See Also:
Constant Field Values

TERM_INSERTKEY

public static final int TERM_INSERTKEY
See Also:
Constant Field Values

TERM_DELETELINEKEY

public static final int TERM_DELETELINEKEY
See Also:
Constant Field Values

TERM_INSERTLINEKEY

public static final int TERM_INSERTLINEKEY
See Also:
Constant Field Values

TERM_HOMEKEY

public static final int TERM_HOMEKEY
See Also:
Constant Field Values

TERM_LEFTARROWKEY

public static final int TERM_LEFTARROWKEY
See Also:
Constant Field Values

TERM_UPARROWKEY

public static final int TERM_UPARROWKEY
See Also:
Constant Field Values

TERM_DOWNARROWKEY

public static final int TERM_DOWNARROWKEY
See Also:
Constant Field Values

TERM_RIGHTARROWKEY

public static final int TERM_RIGHTARROWKEY
See Also:
Constant Field Values

TERM_CLEARCURSORLINEKEY

public static final int TERM_CLEARCURSORLINEKEY
See Also:
Constant Field Values

TERM_CLEARCURSORSCREENKEY

public static final int TERM_CLEARCURSORSCREENKEY
See Also:
Constant Field Values

TERM_F0KEY

public static final int TERM_F0KEY
See Also:
Constant Field Values

TERM_F1KEY

public static final int TERM_F1KEY
See Also:
Constant Field Values

TERM_F2KEY

public static final int TERM_F2KEY
See Also:
Constant Field Values

TERM_F3KEY

public static final int TERM_F3KEY
See Also:
Constant Field Values

TERM_F4KEY

public static final int TERM_F4KEY
See Also:
Constant Field Values

TERM_F5KEY

public static final int TERM_F5KEY
See Also:
Constant Field Values

TERM_F6KEY

public static final int TERM_F6KEY
See Also:
Constant Field Values

TERM_F7KEY

public static final int TERM_F7KEY
See Also:
Constant Field Values

TERM_F8KEY

public static final int TERM_F8KEY
See Also:
Constant Field Values

TERM_F9KEY

public static final int TERM_F9KEY
See Also:
Constant Field Values

TERM_F10KEY

public static final int TERM_F10KEY
See Also:
Constant Field Values

TERM_NEXTPAGEKEY

public static final int TERM_NEXTPAGEKEY
See Also:
Constant Field Values

TERM_PREVPAGEKEY

public static final int TERM_PREVPAGEKEY
See Also:
Constant Field Values

TERM_SCROLLBACKKEY

public static final int TERM_SCROLLBACKKEY
See Also:
Constant Field Values

TERM_SCROLLFORWARDKEY

public static final int TERM_SCROLLFORWARDKEY
See Also:
Constant Field Values

TERM_TABKEY

public static final int TERM_TABKEY
See Also:
Constant Field Values

TERM_BOLDON

public static final int TERM_BOLDON
See Also:
Constant Field Values

TERM_BOLDOFF

public static final int TERM_BOLDOFF
See Also:
Constant Field Values

TERM_STANDOUTON

public static final int TERM_STANDOUTON
See Also:
Constant Field Values

TERM_STANDOUTOFF

public static final int TERM_STANDOUTOFF
See Also:
Constant Field Values
Method Detail

getEscapeSequence

public java.lang.String getEscapeSequence(int no)
Return terminal specific escape sequence for specified no.

Returns:
the sequence

getHeight

public int getHeight()
Return the height in characters displayable on the screen

Returns:
the height

getName

public java.lang.String getName()

getWidth

public int getWidth()
Return the width in characters displayable on the screen

Returns:
the width

positionScreenAt

public java.lang.String positionScreenAt(int column)

positionScreenAt

public java.lang.String positionScreenAt(int row,
                                         int column)