All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----bmsi.edx.CCB | +----bmsi.edx.EDX4978
Summary |
public class EDX4978 extends bmsi.edx.CCB { // Fields 1 protected static final int MAXSIZE; // Methods 21 public static String input(byte[]); public void cleareos(boolean); public final int getCol(); public int getPos(); public int getPos(int, int); public final int getRow(); protected int getUpdate(); public String input(int, int); public void read(int, byte[], int, int); public void setCursor(int, int); protected void setUpdate(int); public void sync(); public void unprotect(int); protected void update(int, int); public int waitkey(); public synchronized int waitkey(boolean); public void write(int, byte[], int, int); public void write(int, int, String, int, boolean); public void write(int, String, int, boolean); public final void write(String, boolean); public void write(String, int, boolean); }
Access a static 4978 EDX screen from Java.
Cross Reference |
Fields |
· MAXSIZE | Summary | Top |
protected static final int MAXSIZE
Methods |
· setUpdate | Summary | Top |
protected void setUpdate(int v)
· getUpdate | Summary | Top |
protected int getUpdate()
· update | Summary | Top |
protected void update(int beg, int end)
· cleareos | Summary | Top |
public void cleareos(boolean prot)
Clear the screen from the current cursor position to the end.
Parameter Description prot Clear to protected spaces if true.
· write | Summary | Top |
public final void write(String s, boolean prot)
Write a string at the current cursor position.
Parameter Description s The string to write. prot Write protected chars if true.
· write | Summary | Top |
public void write(String s, int len, boolean prot)
Write a string at the current cursor position. The String will be blank padded or truncated to the requested number of columns.
Parameter Description s The string to write. len The size in columns to write. prot Write protected chars if true.
· write | Summary | Top |
public void write(int row, int col, String s, int len, boolean prot)
· write | Summary | Top |
public void write(int pos, String s, int len, boolean prot)
· input | Summary | Top |
public String input(int row, int col)
Read the contents of an unprotected field as a String.
· input | Summary | Top |
public static String input(byte[] b)
· unprotect | Summary | Top |
public void unprotect(int cnt)
Unprotect chars on the screen beginning at the current position.
Parameter Description cnt The number of chars to unprotect.
· getRow | Summary | Top |
public final int getRow()
Return the current row.
· getCol | Summary | Top |
public final int getCol()
Return the current column.
· setCursor | Summary | Top |
public void setCursor(int row, int col)
Set the cursor position.
Parameter Description row The row offset (0 origin) col The column offset (0 origin)
· getPos | Summary | Top |
public int getPos()
Return the current offset within the raw screen buffer. This can be set with
setCursor()
or by the user during awaitkey()
.
· getPos | Summary | Top |
public int getPos(int row, int col)
Return the raw screen offset for a row and column.
· read | Summary | Top |
public void read(int pos, byte[] buf, int off, int cnt)
Read raw bytes from the screen. Each byte is a 7 bit ASCII char. The high order bit is set for protected chars.
Parameter Description pos The offset within the raw screen buffer. buf A buffer to hold the raw bytes read. off The offset within buf to store the raw bytes at. cnt The number of bytes to read.
· write | Summary | Top |
public void write(int pos, byte[] buf, int off, int cnt)
Write raw bytes to the screen. Each byte is a 7 bit ASCII char. The high order bit is set for protected chars.
Parameter Description pos The offset within the raw screen buffer. buf The raw bytes to write. off The offset within buf to write from. cnt The number of bytes to write.
· sync | Summary | Top |
public void sync()
Flush buffered changed to the 4978 screen.
· waitkey | Summary | Top |
public int waitkey()
Wait for the user to press a PFKEY.
- Returns:
- the PFKEY index.
· waitkey | Summary | Top |
public synchronized int waitkey(boolean tabs)
Wait for the user to press a PFKEY. If tab mode is selected, a pseudo PFKEY of 100 is returned when the user leaves the current field.
Parameter Description tabs true to select tab mode.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7