|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jext.gui.Skin
This is the generic Skin base class. Override it to provide a new skin.
Constructor Summary | |
Skin()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Skin()
Method Detail |
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |