org.a11y.BrlAPI
Class Native
java.lang.Object
org.a11y.BrlAPI.Native
- Direct Known Subclasses:
- Brlapi
public class Native
- extends java.lang.Object
Field Summary |
protected long |
handle
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handle
protected long handle
Native
public Native()
openConnection
protected int openConnection(ConnectionSettings desiredSettings,
ConnectionSettings actualSettings)
throws Error
- Throws:
Error
closeConnection
public void closeConnection()
getDriverName
public java.lang.String getDriverName()
throws Error
- Throws:
Error
getDisplaySize
public DisplaySize getDisplaySize()
throws Error
- Throws:
Error
enterTtyMode
public int enterTtyMode(int tty,
java.lang.String driver)
throws Error
- Throws:
Error
enterTtyModeWithPath
public void enterTtyModeWithPath(int[] ttys,
java.lang.String driver)
throws Error
- Throws:
Error
leaveTtyMode
public void leaveTtyMode()
throws Error
- Throws:
Error
setFocus
public void setFocus(int tty)
throws Error
- Throws:
Error
writeTextNative
protected void writeTextNative(int cursor,
java.lang.String text)
throws Error
- Throws:
Error
writeDots
public void writeDots(byte[] dots)
throws Error
- Throws:
Error
write
public void write(WriteArguments arguments)
throws Error
- Throws:
Error
readKey
public long readKey(boolean wait)
throws Error
- Throws:
Error
ignoreKeys
public void ignoreKeys(long type,
long[] keys)
throws Error
- Throws:
Error
acceptKeys
public void acceptKeys(long type,
long[] keys)
throws Error
- Throws:
Error
ignoreAllKeys
public void ignoreAllKeys()
throws Error
- Throws:
Error
acceptAllKeys
public void acceptAllKeys()
throws Error
- Throws:
Error
ignoreKeyRanges
public void ignoreKeyRanges(long[][] ranges)
throws Error
- Throws:
Error
acceptKeyRanges
public void acceptKeyRanges(long[][] ranges)
throws Error
- Throws:
Error
enterRawMode
public void enterRawMode(java.lang.String driver)
throws Error
- Throws:
Error
leaveRawMode
public void leaveRawMode()
throws Error
- Throws:
Error
sendRaw
public int sendRaw(byte[] buffer)
throws Error
- Throws:
Error
recvRaw
public int recvRaw(byte[] buffer)
throws Error
- Throws:
Error
getPacketTypeName
public static java.lang.String getPacketTypeName(long type)