@XStreamConverter(value=SkinInfoConverter.class) public final class SkinInfo extends java.lang.Object implements com.alee.api.IconSupport, com.alee.api.TitleSupport, 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.
|
protected javax.swing.Icon |
getDefaultIcon()
Returns default skin icon.
|
java.lang.String |
getDescription()
Returns skin description.
|
javax.swing.Icon |
getIcon()
Returns skin icon.
|
java.lang.String |
getId()
Returns skin ID.
|
java.lang.String |
getSkinClass()
Returns skin class canonical name.
|
ComponentStyle |
getStyle(javax.swing.JComponent component,
StyleableComponent type)
Returns style for the specified supported component type.
|
java.util.List<ComponentStyle> |
getStyles()
Returns skin styles.
|
java.util.Map<StyleableComponent,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.
|
java.lang.String |
getTitle()
Returns skin title.
|
void |
setAuthor(java.lang.String author)
Sets skin author.
|
void |
setDescription(java.lang.String description)
Sets skin description.
|
void |
setIcon(javax.swing.Icon icon)
Sets skin icon.
|
void |
setId(java.lang.String id)
Sets skin ID.
|
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<StyleableComponent,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.
|
void |
setTitle(java.lang.String title)
Sets skin title.
|
public java.lang.String getId()
public void setId(java.lang.String id)
id - new skin IDpublic javax.swing.Icon getIcon()
getIcon in interface com.alee.api.IconSupportprotected javax.swing.Icon getDefaultIcon()
public void setIcon(javax.swing.Icon icon)
icon - new skin iconpublic java.lang.String getTitle()
getTitle in interface com.alee.api.TitleSupportpublic void setTitle(java.lang.String title)
title - new skin titlepublic 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<StyleableComponent,java.util.Map<java.lang.String,ComponentStyle>> getStylesCache()
public void setStylesCache(java.util.Map<StyleableComponent,java.util.Map<java.lang.String,ComponentStyle>> stylesCache)
stylesCache - new skin styles cache mappublic ComponentStyle getStyle(javax.swing.JComponent component, StyleableComponent type)
component - component we are looking style fortype - supported component type