@XStreamConverter(value=SkinInfoConverter.class) public final class SkinInfo extends java.lang.Object implements java.io.Serializable
StyleManager,
Serialized Form| Constructor and Description |
|---|
SkinInfo()
Constructs new skin information.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Returns skin author.
|
java.lang.String |
getDescription()
Returns skin description.
|
java.lang.String |
getId()
Returns skin ID.
|
java.lang.String |
getName()
Returns skin name.
|
java.lang.String |
getSkinClass()
Returns skin class canonical name.
|
ComponentStyle |
getStyle(javax.swing.JComponent component,
SupportedComponent type)
Returns style for the specified supported component type.
|
java.util.List<ComponentStyle> |
getStyles()
Returns skin styles.
|
java.util.Map<SupportedComponent,java.util.Map<java.lang.String,ComponentStyle>> |
getStylesCache()
Returns skin styles cache map.
|
java.lang.String |
getSupportedSystems()
Returns supported systems.
|
java.util.List<java.lang.String> |
getSupportedSystemsList()
Returns supported systems list.
|
void |
setAuthor(java.lang.String author)
Sets skin author.
|
void |
setDescription(java.lang.String description)
Sets skin description.
|
void |
setId(java.lang.String id)
Sets skin ID.
|
void |
setName(java.lang.String name)
Sets skin name.
|
void |
setSkinClass(java.lang.String skinClass)
Sets skin class canonical name.
|
void |
setStyles(java.util.List<ComponentStyle> styles)
Sets skin styles.
|
void |
setStylesCache(java.util.Map<SupportedComponent,java.util.Map<java.lang.String,ComponentStyle>> stylesCache)
Sets skin styles cache map.
|
void |
setSupportedSystems(java.util.List<java.lang.String> supportedSystems)
Sets supported systems.
|
void |
setSupportedSystems(java.lang.String supportedSystems)
Sets supported systems.
|
public java.lang.String getId()
public void setId(java.lang.String id)
id - new skin IDpublic java.lang.String getName()
public void setName(java.lang.String name)
name - new skin namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - new skin descriptionpublic java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author - new skin authorpublic java.lang.String getSupportedSystems()
public java.util.List<java.lang.String> getSupportedSystemsList()
public void setSupportedSystems(java.lang.String supportedSystems)
supportedSystems - supported systemspublic void setSupportedSystems(java.util.List<java.lang.String> supportedSystems)
supportedSystems - supported systemspublic java.lang.String getSkinClass()
public void setSkinClass(java.lang.String skinClass)
skinClass - new skin class canonical namepublic java.util.List<ComponentStyle> getStyles()
public void setStyles(java.util.List<ComponentStyle> styles)
styles - new skin stylespublic java.util.Map<SupportedComponent,java.util.Map<java.lang.String,ComponentStyle>> getStylesCache()
public void setStylesCache(java.util.Map<SupportedComponent,java.util.Map<java.lang.String,ComponentStyle>> stylesCache)
stylesCache - new skin styles cache mappublic ComponentStyle getStyle(javax.swing.JComponent component, SupportedComponent type)
component - component we are looking style fortype - supported component type