org.springframework.richclient.image
Class IconSize

java.lang.Object
  extended by org.springframework.richclient.image.IconSize

public class IconSize
extends Object

Enum for various supported icon sizes.

Author:
Keith Donald

Field Summary
static IconSize LARGE
          The standard 24 pixel "large" icon.
static IconSize SMALL
          The standard 16 pixel "small" icon.
 
Method Summary
 String getName()
          Returns the icon size name.
 int getValue()
          Returns the size value in pixels.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SMALL

public static final IconSize SMALL
The standard 16 pixel "small" icon.


LARGE

public static final IconSize LARGE
The standard 24 pixel "large" icon.

Method Detail

getName

public String getName()
Returns the icon size name.

Returns:
The logical name of the icon size.

getValue

public int getValue()
Returns the size value in pixels.

Returns:
The value in pixels.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.