nl.coderight.jazz.form.control
Enum RichTextControl.Style

java.lang.Object
  extended by java.lang.Enum<RichTextControl.Style>
      extended by nl.coderight.jazz.form.control.RichTextControl.Style
All Implemented Interfaces:
Serializable, Comparable<RichTextControl.Style>
Enclosing class:
RichTextControl

public static enum RichTextControl.Style
extends Enum<RichTextControl.Style>


Enum Constant Summary
BOLD
           
ITALIC
           
STRIKETHROUGH
           
SUBSCRIPT
           
SUPERSCRIPT
           
UNDERLINE
           
 
Method Summary
static RichTextControl.Style valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RichTextControl.Style[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOLD

public static final RichTextControl.Style BOLD

ITALIC

public static final RichTextControl.Style ITALIC

UNDERLINE

public static final RichTextControl.Style UNDERLINE

STRIKETHROUGH

public static final RichTextControl.Style STRIKETHROUGH

SUBSCRIPT

public static final RichTextControl.Style SUBSCRIPT

SUPERSCRIPT

public static final RichTextControl.Style SUPERSCRIPT
Method Detail

values

public static RichTextControl.Style[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RichTextControl.Style c : RichTextControl.Style.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RichTextControl.Style valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright 2010 CodeRight, All rights reserved.