public class CustomSkin extends WebLafSkin
StyleManager,
WebLafSkin,
SkinInfo| Modifier and Type | Field and Description |
|---|---|
protected SkinInfo |
skinInfo
Theme information.
|
ALL_SYSTEMS_SUPPORTED| Constructor and Description |
|---|
CustomSkin(SkinInfo skinInfo)
Constructs new custom theme.
|
CustomSkin(java.lang.String location)
Constructs new custom theme.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Returns skin author.
|
ComponentStyle |
getComponentStyle(javax.swing.JComponent component,
SupportedComponent type)
Returns style for the specified supported component type.
|
java.lang.String |
getDescription()
Returns skin description.
|
java.lang.String |
getId()
Returns unique skin ID.
|
java.lang.String |
getName()
Returns skin name.
|
java.lang.String |
getSkinClass()
Returns skin base class name.
|
SkinInfo |
getSkinInfo()
Returns theme information.
|
java.util.List<java.lang.String> |
getSupportedSystems()
Returns list of supported OS.
|
applyProperties, applySkin, applySkin, getComponentStyleImpl, getComponentStyleImpl, getComponentUIImpl, getCustomPainterProperties, getFieldValue, getPainter, getPainterPropertyValue, getPainterPropertyValue, getSupportedComponentTypeImpl, isSupported, removeSkin, setCustomPainterProperty, setCustomPainterProperty, setFieldValue, toStringprotected SkinInfo skinInfo
public CustomSkin(java.lang.String location)
location - skin info XML location relative to this classpublic CustomSkin(SkinInfo skinInfo)
skinInfo - theme informationpublic SkinInfo getSkinInfo()
public java.lang.String getId()
getId in class WebLafSkinpublic java.lang.String getName()
getName in class WebLafSkinpublic java.lang.String getDescription()
getDescription in class WebLafSkinpublic java.lang.String getAuthor()
getAuthor in class WebLafSkinpublic java.util.List<java.lang.String> getSupportedSystems()
getSupportedSystems in class WebLafSkinpublic java.lang.String getSkinClass()
getSkinClass in class WebLafSkinpublic ComponentStyle getComponentStyle(javax.swing.JComponent component, SupportedComponent type)
getComponentStyle in class WebLafSkincomponent - component instancetype - component type