public class DesktopSettings
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
backgroundRGBColor
Background color in string rgb presentation.
|
byte[] |
imageData
Byte array with the desktop image if the image is loaded from the application resources,
otherwise this field is not set.
|
java.lang.String |
imageFile
The image file name for the desktop background image.
|
java.lang.String |
imageType
The MIME type of the given image.
|
double |
opacity
Background color opacity value.
|
java.lang.String |
origin
The background-origin CSS property sets the background positioning area.
|
java.lang.String |
position
The background-position CSS property sets the initial position, relative to the background
position layer defined by background-origin.
|
java.lang.String |
repeat
The background-repeat CSS property defines how the target image is repeated.
|
java.lang.String |
size
The background-size CSS property specifies the size of the element's background image.
|
Constructor and Description |
---|
DesktopSettings()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares two objects for equality.
|
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 java.lang.String imageFile
public java.lang.String origin
public java.lang.String position
public java.lang.String size
public java.lang.String repeat
public byte[] imageData
public java.lang.String imageType
public java.lang.String backgroundRGBColor
public double opacity
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to compare with.true
if instances are equal and
false
otherwise.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.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.