public abstract class AbstractSkin extends java.lang.Object implements Skin
StyleManager,
Skin| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALL_SYSTEMS_SUPPORTED
Constant provided in the skin that supports any kind of systems.
|
| Constructor and Description |
|---|
AbstractSkin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applySkin(javax.swing.JComponent component)
Applies this skin to the specified component.
|
abstract java.util.List<java.lang.String> |
getSupportedSystems()
Returns list of supported OS short names.
|
boolean |
isSupported()
Returns whether this skin is supported or not.
|
boolean |
removeSkin(javax.swing.JComponent component)
Removes this skin from the specified component.
|
java.lang.String |
toString() |
void |
updateSkin(javax.swing.JComponent component)
Updates this skin on the specified component.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthor, getComponentStyle, getDescription, getIcon, getId, getSkinClass, getTitlepublic static final java.lang.String ALL_SYSTEMS_SUPPORTED
public abstract java.util.List<java.lang.String> getSupportedSystems()
SystemUtils.getShortOsName()public boolean isSupported()
SkinisSupported in interface Skinpublic boolean applySkin(javax.swing.JComponent component)
Skinpublic void updateSkin(javax.swing.JComponent component)
SkinupdateSkin in interface Skincomponent - component to update skin forpublic boolean removeSkin(javax.swing.JComponent component)
SkinremoveSkin in interface Skincomponent - component to remove skin frompublic java.lang.String toString()
toString in class java.lang.Object