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.
|
java.lang.String[] |
directUploadFiles
An array of file names representing the files uploaded or selected during direct upload.
|
boolean |
directUploadStatus
Represents the status of a direct upload.
|
int[] |
down
Frame DOWN info.
|
int[] |
downIDs
IDs of DOWN frames.
|
java.lang.String |
eventLabel
The value of the LAST-EVENT:LABEL attribute.
|
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.
|
(package private) int[] |
keyboardState
Keyboard pressed keys in no particular order, or
null if no keys are pressed |
CentralLogRecord[] |
logRecords
Logger messages.
|
boolean |
resetCursor
Flag to indicate the client side reset cursor by mouse move event handling.
|
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 |
putKeyboardState(java.util.Set<java.lang.Integer> keyCodes)
Update
keyboardState field from key code set. |
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 boolean resetCursor
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.String eventLabel
public java.lang.Integer eventX
public java.lang.Integer eventY
public java.lang.Integer virtualLastKey
public WidgetConfigUpdates[] configUpdates
public int activeWindowId
public CentralLogRecord[] logRecords
int[] keyboardState
null if no keys are pressedpublic java.lang.String[] directUploadFiles
public boolean directUploadStatus
public final void putKeyboardState(java.util.Set<java.lang.Integer> keyCodes)
keyboardState field from key code set.keyCodes - the source setpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - 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.Externalizableout - The output destination to which fields will be saved.java.io.IOException - In case of I/O errors.