com.alee.managers.style.data
Class PainterStyle

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

public final class PainterStyle
extends java.lang.Object
implements java.io.Serializable

Painter style information class.

Author:
Mikle Garin
See Also:
How to use StyleManager, StyleManager, Serialized Form

Constructor Summary
PainterStyle()
          Constructs new painter style information.
 
Method Summary
 java.lang.String getId()
          Returns painter ID.
 java.lang.String getPainterClass()
          Returns painter class canonical name.
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
          Returns painter properties.
 boolean isBase()
          Returns whether this is base component painter or not.
 void setBase(boolean base)
          Sets whether this is base component painter or not.
 void setId(java.lang.String id)
          Sets painter ID.
 void setPainterClass(java.lang.String painterClass)
          Sets painter class canonical name.
 void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
          Sets painter properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PainterStyle

public PainterStyle()
Constructs new painter style information.

Method Detail

getId

public java.lang.String getId()
Returns painter ID.

Returns:
painter ID

setId

public void setId(java.lang.String id)
Sets painter ID.

Parameters:
id - new painter ID

isBase

public boolean isBase()
Returns whether this is base component painter or not.

Returns:
true if this is base component painter, false otherwise

setBase

public void setBase(boolean base)
Sets whether this is base component painter or not.

Parameters:
base - whether this is base component painter or not

getPainterClass

public java.lang.String getPainterClass()
Returns painter class canonical name.

Returns:
painter class canonical name

setPainterClass

public void setPainterClass(java.lang.String painterClass)
Sets painter class canonical name.

Parameters:
painterClass - new painter class canonical name

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Returns painter properties.

Returns:
painter properties

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Sets painter properties.

Parameters:
properties - new painter properties