org.a11y.BrlAPI

Class Native


public class Native
extends java.lang.Object

Field Summary

protected long
handle

Method Summary

void
acceptAllKeys()
void
acceptKeyRanges(ranges[][] )
void
acceptKeys(long type, keys[] )
void
closeConnection()
void
enterRawMode(String driver)
int
enterTtyMode(int tty, String driver)
void
enterTtyModeWithPath(ttys[] , String driver)
DisplaySize
getDisplaySize()
String
getDriverName()
static String
getPacketTypeName(long type)
void
ignoreAllKeys()
void
ignoreKeyRanges(ranges[][] )
void
ignoreKeys(long type, keys[] )
void
leaveRawMode()
void
leaveTtyMode()
protected int
openConnection(ConnectionSettings desiredSettings, ConnectionSettings actualSettings)
long
readKey(boolean wait)
int
recvRaw(buffer[] )
int
sendRaw(buffer[] )
void
setFocus(int tty)
void
write(WriteArguments arguments)
void
writeDots(dots[] )
protected void
writeTextNative(int cursor, String text)

Field Details

handle

protected long handle

Method Details

acceptAllKeys

public void acceptAllKeys()
            throws Error

acceptKeyRanges

public void acceptKeyRanges(ranges[][] )
            throws Error

acceptKeys

public void acceptKeys(long type,
                       keys[] )
            throws Error

closeConnection

public void closeConnection()

enterRawMode

public void enterRawMode(String driver)
            throws Error

enterTtyMode

public int enterTtyMode(int tty,
                        String driver)
            throws Error

enterTtyModeWithPath

public void enterTtyModeWithPath(ttys[] ,
                                 String driver)
            throws Error

getDisplaySize

public DisplaySize getDisplaySize()
            throws Error

getDriverName

public String getDriverName()
            throws Error

getPacketTypeName

public static String getPacketTypeName(long type)

ignoreAllKeys

public void ignoreAllKeys()
            throws Error

ignoreKeyRanges

public void ignoreKeyRanges(ranges[][] )
            throws Error

ignoreKeys

public void ignoreKeys(long type,
                       keys[] )
            throws Error

leaveRawMode

public void leaveRawMode()
            throws Error

leaveTtyMode

public void leaveTtyMode()
            throws Error

openConnection

protected int openConnection(ConnectionSettings desiredSettings,
                             ConnectionSettings actualSettings)
            throws Error

readKey

public long readKey(boolean wait)
            throws Error

recvRaw

public int recvRaw(buffer[] )
            throws Error

sendRaw

public int sendRaw(buffer[] )
            throws Error

setFocus

public void setFocus(int tty)
            throws Error

write

public void write(WriteArguments arguments)
            throws Error

writeDots

public void writeDots(dots[] )
            throws Error

writeTextNative

protected void writeTextNative(int cursor,
                               String text)
            throws Error