com.atlassian.confluence.pageobjects.component.editor.toolbars
Enum FormatDropdownMenu.FormatItem

java.lang.Object
  extended by java.lang.Enum<FormatDropdownMenu.FormatItem>
      extended by com.atlassian.confluence.pageobjects.component.editor.toolbars.FormatDropdownMenu.FormatItem
All Implemented Interfaces:
Serializable, Comparable<FormatDropdownMenu.FormatItem>
Enclosing class:
FormatDropdownMenu

public static enum FormatDropdownMenu.FormatItem
extends Enum<FormatDropdownMenu.FormatItem>


Enum Constant Summary
BLOCKQUOTE
           
HEADING_1
           
HEADING_2
           
HEADING_3
           
HEADING_4
           
HEADING_5
           
HEADING_6
           
PARAGRAPH
           
PREFORMATTED
           
 
Method Summary
 String getClassName()
           
static FormatDropdownMenu.FormatItem valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FormatDropdownMenu.FormatItem[] 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

HEADING_1

public static final FormatDropdownMenu.FormatItem HEADING_1

HEADING_2

public static final FormatDropdownMenu.FormatItem HEADING_2

HEADING_3

public static final FormatDropdownMenu.FormatItem HEADING_3

HEADING_4

public static final FormatDropdownMenu.FormatItem HEADING_4

HEADING_5

public static final FormatDropdownMenu.FormatItem HEADING_5

HEADING_6

public static final FormatDropdownMenu.FormatItem HEADING_6

PARAGRAPH

public static final FormatDropdownMenu.FormatItem PARAGRAPH

PREFORMATTED

public static final FormatDropdownMenu.FormatItem PREFORMATTED

BLOCKQUOTE

public static final FormatDropdownMenu.FormatItem BLOCKQUOTE
Method Detail

values

public static FormatDropdownMenu.FormatItem[] 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 (FormatDropdownMenu.FormatItem c : FormatDropdownMenu.FormatItem.values())
    System.out.println(c);

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

valueOf

public static FormatDropdownMenu.FormatItem 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

getClassName

public String getClassName()


Copyright © 2003–2015 Atlassian. All rights reserved.