org.opencms.workplace.tools
Class CmsHtmlIconButtonStyleEnum

java.lang.Object
  extended by org.opencms.workplace.tools.CmsHtmlIconButtonStyleEnum

public final class CmsHtmlIconButtonStyleEnum
extends java.lang.Object

Wrapper class for the different style of icon buttons.

The possibles values are:

Since:
6.0.0
Version:
$Revision: 1.14 $
Author:
Michael Moossen

Field Summary
static CmsHtmlIconButtonStyleEnum BIG_ICON_TEXT
          Constant for ascending ordering.
static CmsHtmlIconButtonStyleEnum SMALL_ICON_ONLY
          Constant for none ordering.
static CmsHtmlIconButtonStyleEnum SMALL_ICON_TEXT
          Constant for descending ordering.
static java.util.List VALUES
          List of ordering constants.
 
Method Summary
 java.lang.String getStyle()
          Returns the style string.
 java.lang.String toString()
           
static CmsHtmlIconButtonStyleEnum valueOf(java.lang.String value)
          Parses an string into an element of this enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BIG_ICON_TEXT

public static final CmsHtmlIconButtonStyleEnum BIG_ICON_TEXT
Constant for ascending ordering.


SMALL_ICON_ONLY

public static final CmsHtmlIconButtonStyleEnum SMALL_ICON_ONLY
Constant for none ordering.


SMALL_ICON_TEXT

public static final CmsHtmlIconButtonStyleEnum SMALL_ICON_TEXT
Constant for descending ordering.


VALUES

public static final java.util.List VALUES
List of ordering constants.

Method Detail

valueOf

public static CmsHtmlIconButtonStyleEnum valueOf(java.lang.String value)
                                          throws CmsIllegalArgumentException
Parses an string into an element of this enumeration.

Parameters:
value - the style to parse
Returns:
the enumeration element
Throws:
CmsIllegalArgumentException - if the given instance for the argument is not found

getStyle

public java.lang.String getStyle()
Returns the style string.

Returns:
the style string

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()