com.jagacy
Class AbstractModel
java.lang.Object
com.jagacy.AbstractModel
- public abstract class AbstractModel
- extends java.lang.Object
TODO Description of class
- Author:
- Robert M. Preston
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myLogger
protected Logger myLogger
myProperties
protected JagacyProperties myProperties
myScreen
protected byte[] myScreen
myConduit
protected AbstractConduit myConduit
myCursor
protected int myCursor
myIsLocked
protected boolean myIsLocked
myPositionCount
protected long myPositionCount
myAlarmCount
protected long myAlarmCount
myUpdateCount
protected long myUpdateCount
myIsExtended
protected boolean myIsExtended
AbstractModel
protected AbstractModel(JagacyProperties properties,
Logger logger)
throws JagacyException
logScreen
protected abstract void logScreen(java.lang.String message)
throws JagacyException
- Throws:
JagacyException
getConduitClass
protected abstract java.lang.String getConduitClass()
init
protected void init()
open
public void open()
throws JagacyException
- Throws:
JagacyException
checkOpen
protected void checkOpen()
throws JagacyException
- Throws:
JagacyException
getWidth
public int getWidth()
getHeight
public int getHeight()
getProperties
public JagacyProperties getProperties()
getUpdateCount
public long getUpdateCount()
isUnsupportedKey
protected abstract boolean isUnsupportedKey(Key key)
send
protected void send(com.jagacy.util.ByteBuffer b)
throws JagacyException
- Throws:
JagacyException
resetLocked
protected abstract boolean resetLocked(Key key)
throws JagacyException
- Throws:
JagacyException
sendKeyData
protected abstract void sendKeyData(Key key)
throws JagacyException
- Throws:
JagacyException
sendKey
public void sendKey(Key key)
throws JagacyException
- Throws:
JagacyException
waitForData
protected abstract int waitForData(int beginTimeout,
int endTimeout,
java.lang.String match)
throws JagacyException
- Throws:
JagacyException
wait
public void wait(int timeout)
throws JagacyException
- Throws:
JagacyException
wait
public void wait(int beginTimeout,
int endTimeout)
throws JagacyException
- Throws:
JagacyException
wait
public void wait(int beginTimeout,
int endTimeout,
java.lang.String match)
throws JagacyException
- Throws:
JagacyException
isKeyboardLocked
public boolean isKeyboardLocked()
throws JagacyException
- Throws:
JagacyException
hasChanged
public boolean hasChanged()
throws JagacyException
- Throws:
JagacyException
resetChanged
public void resetChanged()
throws JagacyException
- Throws:
JagacyException
getAlarmCount
public long getAlarmCount()
throws JagacyException
- Throws:
JagacyException
resetAlarmCount
public void resetAlarmCount()
throws JagacyException
- Throws:
JagacyException
readData
protected abstract java.lang.String readData(int pos,
int len)
throws JagacyException
- Throws:
JagacyException
read
public java.lang.String read(int pos,
int len)
throws JagacyException
- Throws:
JagacyException
writeData
protected abstract void writeData(java.lang.String text)
throws JagacyException
- Throws:
JagacyException
write
public void write(java.lang.String text)
throws JagacyException
- Throws:
JagacyException
getCursor
public int getCursor()
throws JagacyException
- Throws:
JagacyException
setCursor
public void setCursor(int newPos)
throws JagacyException
- Throws:
JagacyException
getAttrFor
public abstract int getAttrFor(int[] pos)
throws JagacyException
- Throws:
JagacyException
close
public void close()
throws JagacyException
- Throws:
JagacyException