org.tbee.swing
Class IconSet

java.lang.Object
  extended by org.tbee.swing.IconSet

public class IconSet
extends Object


Nested Class Summary
static class IconSet.Size
           
static class IconSet.Type
          different sized of icons.
 
Field Summary
static String PROPERTIES_PROPERTY_ID
           
static String SETID_PROPERTY_ID
           
 
Constructor Summary
IconSet()
           
IconSet(String setId)
           
 
Method Summary
static IconSet get()
           
static Icon get(String name)
           
static Icon get(String name, IconSet.Type type)
           
 Icon getIcon(String name)
           
 Icon getIcon(String name, IconSet.Type type)
           
 nl.knowledgeplaza.util.Properties getProperties()
          Properties:
 String getSetId()
          SetId:
 void setProperties(nl.knowledgeplaza.util.Properties value)
           
 void setSetId(String value)
           
 String toString()
           
 IconSet withProperties(nl.knowledgeplaza.util.Properties value)
           
 IconSet withSetId(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SETID_PROPERTY_ID

public static final String SETID_PROPERTY_ID
See Also:
Constant Field Values

PROPERTIES_PROPERTY_ID

public static final String PROPERTIES_PROPERTY_ID
See Also:
Constant Field Values
Constructor Detail

IconSet

public IconSet()

IconSet

public IconSet(String setId)
Parameters:
setId -
Method Detail

get

public static IconSet get()

getSetId

public String getSetId()
SetId:


setSetId

public void setSetId(String value)

withSetId

public IconSet withSetId(String value)

getProperties

public nl.knowledgeplaza.util.Properties getProperties()
Properties:


setProperties

public void setProperties(nl.knowledgeplaza.util.Properties value)

withProperties

public IconSet withProperties(nl.knowledgeplaza.util.Properties value)

getIcon

public Icon getIcon(String name)

getIcon

public Icon getIcon(String name,
                    IconSet.Type type)
Parameters:
name -
type -
Returns:

get

public static Icon get(String name)

get

public static Icon get(String name,
                       IconSet.Type type)
Parameters:
name -
type -
Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 KnowledgePlaza. All Rights Reserved.