public class ThemeOption
extends java.lang.Object
implements java.io.Externalizable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
className
The class name.
|
private boolean |
isDefault
Flag indicating if the theme is to be selected by default in drop-downs.
|
private java.lang.String |
presentationName
The presentation name.
|
| Constructor and Description |
|---|
ThemeOption()
Default constructor.
|
ThemeOption(java.lang.String presentationName,
java.lang.String className)
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.
|
java.lang.String |
getClassName()
Getter for
className. |
java.lang.String |
getPresentationName()
Getter for
presentationName. |
int |
hashCode()
Returns a hash code value for the object.
|
boolean |
isDefault()
Getter for
isDefault. |
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
setDefault(boolean isDefault)
Setter for
isDefault. |
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
private java.lang.String presentationName
private java.lang.String className
private boolean isDefault
public ThemeOption()
public ThemeOption(java.lang.String presentationName,
java.lang.String className)
presentationName - The left value.className - The right value.public java.lang.String getPresentationName()
presentationName.public java.lang.String getClassName()
className.public boolean isDefault()
isDefault.public void setDefault(boolean isDefault)
isDefault.isDefault - Flag indicating if the theme is to be selected by default in drop-downs.public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The reference object with which to compare.true if this object is the same as the obj argument; false otherwise.public int hashCode()
hashCode in class java.lang.Objectpublic 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.public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - The 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.