public class ClientState
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
int |
activeWindowId
The ID of the active window or -1 if unchanged.
|
WidgetConfigUpdates[] |
configUpdates
The list of widget configuration updates incoming from the client-side.
|
int[] |
deregister
List of frame IDs to deregister.
|
int[] |
down
Frame DOWN info.
|
int[] |
downIDs
IDs of DOWN frames.
|
java.lang.Integer |
eventX
The value of the LAST-EVENT:X attribute.
|
java.lang.Integer |
eventY
The value of the LAST-EVENT:Y attribute.
|
java.lang.Integer |
functionKey
The code of last event (LAST-EVENT:FUNCTION)
|
boolean |
hadPause
Flag to indicate if there was a pause during the last operation.
|
java.lang.Integer |
virtualLastKey
A last-key code which was not set via user input, from the keyboard.
|
int[] |
wrapped
IDs of wrapped down frames.
|
Constructor and Description |
---|
ClientState()
Construct an empty instance.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
public int[] deregister
public int[] down
public int[] downIDs
public int[] wrapped
public boolean hadPause
public java.lang.Integer functionKey
If this the type of this field will be "int" there will be following conflict: not initialized value will be 0, but at the same time 0 - is a valid code of the key (Ctrl-@). The Integer class is used here to distinguish uninitialized value (null) and 0 (valid function code)
public java.lang.Integer eventX
public java.lang.Integer eventY
public java.lang.Integer virtualLastKey
public WidgetConfigUpdates[] configUpdates
public int activeWindowId
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- Input source from which fields will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If payload can't be instantiated.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.