|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--display.Terminal | +--display.vt320
A DEC VT320 Terminal Emulation (includes VT100/220 and ANSI). The terminal emulation accesses the applet parameters to configure itself. The following parameters may be set. Default values are written in italics and other possible values are bold.
\e | Escape |
\b | Backspace |
\n | Newline |
\r | Return |
\xxxx | Character xxxx (decimal) |
Field Summary | |
static int |
INSERT
The Insert key. |
static int |
KEYCAPS_LOCK
|
static int |
KEYINSERT
|
static int |
KEYNUM_LOCK
|
static int |
KEYPAUSE
|
static int |
KEYPRINT_SCREEN
|
static int |
KEYSCROLL_LOCK
|
static char[] |
unimap
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
vt320()
|
Method Summary | |
void |
addNotify()
Initialize terminal. |
java.lang.String[][] |
getParameterInfo()
|
java.awt.Dimension |
getSize()
|
java.lang.String |
getTerminalType()
|
boolean |
handleEvent(java.awt.Event evt)
Handle events for the terminal. |
char |
map_cp850_unicode(char x)
|
void |
putChar(char c)
|
void |
putChar(char c,
boolean doshowcursor)
|
void |
putString(java.lang.String s)
Put String at current cursor position. |
boolean |
send(java.lang.String s)
Dummy method to handle input events (String). |
java.lang.String |
toString()
Return the version of the terminal emulation and its display. |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
paramString,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
setLayout,
update,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int KEYPRINT_SCREEN
public static final int KEYSCROLL_LOCK
public static final int KEYCAPS_LOCK
public static final int KEYNUM_LOCK
public static final int KEYPAUSE
public static final int KEYINSERT
public static final int INSERT
public static final char[] unimap
Constructor Detail |
public vt320()
Method Detail |
public java.lang.String toString()
public java.lang.String[][] getParameterInfo()
public void addNotify()
parent
- the applet parent where to get parameters fromTerminal
public java.awt.Dimension getSize()
public java.lang.String getTerminalType()
public boolean handleEvent(java.awt.Event evt)
evt
- the eventpublic boolean send(java.lang.String s)
s
- String to handleTerminalHost
public void putString(java.lang.String s)
s
- the stringpublic void putChar(char c)
public char map_cp850_unicode(char x)
public void putChar(char c, boolean doshowcursor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |