public abstract class Skin
extends java.lang.Object
Constructor and Description |
---|
Skin() |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply()
It must actually apply the Skin; to indicate errors it will throw any sort of
exception.
|
abstract java.lang.String |
getSkinInternName()
The internal name of the skin, used to identify it; it mustn't be translated.
|
abstract java.lang.String |
getSkinName()
The name to show inside the option dialog; this should be get using a Jext property
with Jext.getProperty.
|
boolean |
isAvailable()
If your skin is not available in certain cases, override this; it could even call
the LookAndFeel.isAvailable method.
|
void |
unapply()
You can override this to execute code when this skin is replaced by another.
|
public abstract void apply() throws java.lang.Throwable
java.lang.Throwable
public abstract java.lang.String getSkinName()
public abstract java.lang.String getSkinInternName()
public boolean isAvailable()
public void unapply() throws java.lang.Throwable
java.lang.Throwable
Copyright ? 2002 Romain Guy.