com.alee.managers.style.data
Class SkinInfo

java.lang.Object
  extended by com.alee.managers.style.data.SkinInfo
All Implemented Interfaces:
java.io.Serializable

@XStreamConverter(value=SkinInfoConverter.class)
public final class SkinInfo
extends java.lang.Object
implements java.io.Serializable

Skin information class.

Author:
Mikle Garin
See Also:
Serialized Form

Constructor Summary
SkinInfo()
          Constructs new skin information.
 
Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getSkinClass()
           
 ComponentStyle getStyle(javax.swing.JComponent component, SupportedComponent type)
          Returns style for the specified supported component type.
 java.util.List<ComponentStyle> getStyles()
           
 java.util.Map<SupportedComponent,java.util.Map<java.lang.String,ComponentStyle>> getStylesCache()
           
 java.lang.String getSupportedSystems()
           
 java.util.List<java.lang.String> getSupportedSystemsList()
          Returns list of supported OS.
 void setAuthor(java.lang.String author)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 void setSkinClass(java.lang.String skinClass)
           
 void setStyles(java.util.List<ComponentStyle> styles)
           
 void setStylesCache(java.util.Map<SupportedComponent,java.util.Map<java.lang.String,ComponentStyle>> stylesCache)
           
 void setSupportedSystems(java.lang.String supportedSystems)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkinInfo

public SkinInfo()
Constructs new skin information.

Method Detail

getStylesCache

public java.util.Map<SupportedComponent,java.util.Map<java.lang.String,ComponentStyle>> getStylesCache()

setStylesCache

public void setStylesCache(java.util.Map<SupportedComponent,java.util.Map<java.lang.String,ComponentStyle>> stylesCache)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getAuthor

public java.lang.String getAuthor()

setAuthor

public void setAuthor(java.lang.String author)

getSupportedSystems

public java.lang.String getSupportedSystems()

setSupportedSystems

public void setSupportedSystems(java.lang.String supportedSystems)

getSkinClass

public java.lang.String getSkinClass()

setSkinClass

public void setSkinClass(java.lang.String skinClass)

getStyles

public java.util.List<ComponentStyle> getStyles()

setStyles

public void setStyles(java.util.List<ComponentStyle> styles)

getSupportedSystemsList

public java.util.List<java.lang.String> getSupportedSystemsList()
Returns list of supported OS.

Returns:
list of supported OS

getStyle

public ComponentStyle getStyle(javax.swing.JComponent component,
                               SupportedComponent type)
Returns style for the specified supported component type. Custom style ID can be specified in any Web-component or Web-UI to override default component style. If style for such custom ID is not found in skin descriptor then default style for that component is used.

Parameters:
component - component we are looking style for
type - supported component type
Returns:
component style