public class ClientMetrics
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
int |
scrollbarWidth
Scroll bar width
|
NativeDimension |
virtualScreenSize
Virtual screen size
|
Constructor and Description |
---|
ClientMetrics()
Default constructor.
|
ClientMetrics(ClientMetrics other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(java.io.ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
void |
writeExternal(java.io.ObjectOutput out)
The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|
public int scrollbarWidth
public NativeDimension virtualScreenSize
public ClientMetrics()
public ClientMetrics(ClientMetrics other)
other
- The other instance.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- the stream to write the object tojava.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- the stream to read data from in order to restore the objectjava.io.IOException
java.lang.ClassNotFoundException