public static class KeyboardLayoutsSettings.KeyboardLayout
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
id
Its identifier.
|
java.lang.String |
label
Its presentation label.
|
java.lang.String |
layout
The layout constructor name or constructor identifier.
|
Constructor and Description |
---|
KeyboardLayout() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares two objects for equality.
|
boolean |
equalsIgnoreCase(KeyboardLayoutsSettings.KeyboardLayout kbl)
Returns true iff all fields values of this object equals ignore case to the corresponding values
from the tested keyboard layout object.
|
void |
readExternal(java.io.ObjectInput in)
Fills this object from the given object stream.
|
java.lang.String |
toJSON()
Serialize this object as a JSON string.
|
void |
writeExternal(java.io.ObjectOutput out)
Serializes this object into the given object stream.
|
public java.lang.String id
public java.lang.String label
public java.lang.String layout
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The given object streamjava.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
- The given object streamjava.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If payload can't be instantiated.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 boolean equalsIgnoreCase(KeyboardLayoutsSettings.KeyboardLayout kbl)
kbl
- The tested keyboard layout objectpublic java.lang.String toJSON()