com.mindbright.terminal
public interface DisplayView
Modifier and Type | Field and Description |
---|---|
static int |
COLOR_BLACK |
static int |
COLOR_BLUE |
static int |
COLOR_CYAN |
static int |
COLOR_GREEN |
static int |
COLOR_I_BLACK |
static int |
COLOR_I_BLUE |
static int |
COLOR_I_CYAN |
static int |
COLOR_I_GREEN |
static int |
COLOR_I_MAGENTA |
static int |
COLOR_I_RED |
static int |
COLOR_I_WHITE |
static int |
COLOR_I_YELLOW |
static int |
COLOR_MAGENTA |
static int |
COLOR_RED |
static int |
COLOR_WHITE |
static int |
COLOR_YELLOW |
static java.lang.String[] |
termColorNames |
static java.awt.Color[] |
termColors |
Modifier and Type | Method and Description |
---|---|
void |
delKeyListener(java.awt.event.KeyListener keyListener) |
void |
doBell() |
void |
doBell(boolean visualBell) |
java.awt.Component |
getAWTComponent() |
java.awt.Image |
getLogo() |
DisplayModel |
getModel() |
java.awt.Container |
getPanelWithScrollbar(java.lang.String scrollPos) |
void |
hideLogo() |
boolean |
isWide(char c)
Check if the give character is wider than normal for the
font.
|
java.awt.Component |
mkButton(java.lang.String label,
java.lang.String cmd,
java.awt.event.ActionListener listener) |
void |
moveScrollbar(java.lang.String scrollPos) |
void |
repaint() |
void |
repaint(boolean force) |
void |
requestFocus() |
void |
resetSelection() |
void |
reverseColors() |
void |
setBackgroundColor(java.awt.Color c) |
void |
setController(com.mindbright.terminal.DisplayController controller) |
void |
setCursorColor(java.awt.Color c) |
void |
setCursorPosition(int row,
int col) |
void |
setFont(java.lang.String name,
int size) |
void |
setForegroundColor(java.awt.Color c) |
void |
setGeometry(int row,
int col) |
void |
setIgnoreClose() |
void |
setKeyListener(java.awt.event.KeyListener keyListener) |
void |
setLineSpaceDelta(int delta) |
void |
setLogo(java.awt.Image logoImg,
int x,
int y,
int w,
int h) |
void |
setModel(DisplayModel model) |
void |
setNoCursor() |
void |
setPendingVisTopChange(int visTop) |
void |
setPosition(int xPos,
int yPos) |
void |
setResizable(boolean resizable) |
void |
setSelection(int row1,
int col1,
int row2,
int col2) |
void |
setVisTop(int visTop) |
void |
setVisTop(int visTop,
boolean force) |
void |
setVisTopChangeAllowed(boolean set) |
void |
setVisTopDelta(int delta) |
void |
setVisTopDelta(int delta,
boolean force) |
boolean |
showLogo() |
void |
updateDirtyArea(int top,
int left,
int bottom,
int right) |
void |
updateScrollbarValues() |
void |
windowClosed() |
static final int COLOR_BLACK
static final int COLOR_RED
static final int COLOR_GREEN
static final int COLOR_YELLOW
static final int COLOR_BLUE
static final int COLOR_MAGENTA
static final int COLOR_CYAN
static final int COLOR_WHITE
static final int COLOR_I_BLACK
static final int COLOR_I_RED
static final int COLOR_I_GREEN
static final int COLOR_I_YELLOW
static final int COLOR_I_BLUE
static final int COLOR_I_MAGENTA
static final int COLOR_I_CYAN
static final int COLOR_I_WHITE
static final java.lang.String[] termColorNames
static final java.awt.Color[] termColors
void setModel(DisplayModel model)
DisplayModel getModel()
void setController(com.mindbright.terminal.DisplayController controller)
void setKeyListener(java.awt.event.KeyListener keyListener)
void delKeyListener(java.awt.event.KeyListener keyListener)
void setVisTopChangeAllowed(boolean set)
void setVisTopDelta(int delta)
void setVisTopDelta(int delta, boolean force)
void setVisTop(int visTop)
void setVisTop(int visTop, boolean force)
void setPendingVisTopChange(int visTop)
void updateScrollbarValues()
void updateDirtyArea(int top, int left, int bottom, int right)
void repaint(boolean force)
void repaint()
void setGeometry(int row, int col)
void setResizable(boolean resizable)
void resetSelection()
void setSelection(int row1, int col1, int row2, int col2)
void setNoCursor()
void setCursorPosition(int row, int col)
void reverseColors()
void doBell()
void doBell(boolean visualBell)
void setLogo(java.awt.Image logoImg, int x, int y, int w, int h)
java.awt.Image getLogo()
boolean showLogo()
void hideLogo()
void moveScrollbar(java.lang.String scrollPos)
void setLineSpaceDelta(int delta)
void setBackgroundColor(java.awt.Color c)
void setForegroundColor(java.awt.Color c)
void setCursorColor(java.awt.Color c)
void setFont(java.lang.String name, int size)
void setPosition(int xPos, int yPos)
java.awt.Container getPanelWithScrollbar(java.lang.String scrollPos)
void requestFocus()
java.awt.Component getAWTComponent()
void setIgnoreClose()
void windowClosed()
java.awt.Component mkButton(java.lang.String label, java.lang.String cmd, java.awt.event.ActionListener listener)
boolean isWide(char c)