org.xwiki.gwt.wysiwyg.client.plugin.image.ui
Enum ImageWizard.ImageWizardStep

java.lang.Object
  extended by java.lang.Enum<ImageWizard.ImageWizardStep>
      extended by org.xwiki.gwt.wysiwyg.client.plugin.image.ui.ImageWizard.ImageWizardStep
All Implemented Interfaces:
Serializable, Comparable<ImageWizard.ImageWizardStep>
Enclosing class:
ImageWizard

public static enum ImageWizard.ImageWizardStep
extends Enum<ImageWizard.ImageWizardStep>

Enumeration steps handled by this image wizard.


Enum Constant Summary
ATTACHED_IMAGE_SELECTOR
          The step that selects an attached image.
IMAGE_CONFIG
          The step that configures the image parameters.
IMAGE_REFERENCE_PARSER
          The step that parses the image reference.
IMAGE_REFERENCE_SERIALIZER
          The step that serializes the image reference.
IMAGE_UPLOAD
          The step that uploads a new image.
URL_IMAGE_SELECTOR
          The step that selects an external image specified by its URL.
 
Method Summary
static ImageWizard.ImageWizardStep valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImageWizard.ImageWizardStep[] 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

IMAGE_REFERENCE_PARSER

public static final ImageWizard.ImageWizardStep IMAGE_REFERENCE_PARSER
The step that parses the image reference. Loaded when editing an image.


ATTACHED_IMAGE_SELECTOR

public static final ImageWizard.ImageWizardStep ATTACHED_IMAGE_SELECTOR
The step that selects an attached image.


URL_IMAGE_SELECTOR

public static final ImageWizard.ImageWizardStep URL_IMAGE_SELECTOR
The step that selects an external image specified by its URL.


IMAGE_UPLOAD

public static final ImageWizard.ImageWizardStep IMAGE_UPLOAD
The step that uploads a new image.


IMAGE_CONFIG

public static final ImageWizard.ImageWizardStep IMAGE_CONFIG
The step that configures the image parameters.


IMAGE_REFERENCE_SERIALIZER

public static final ImageWizard.ImageWizardStep IMAGE_REFERENCE_SERIALIZER
The step that serializes the image reference.

Method Detail

values

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

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

valueOf

public static ImageWizard.ImageWizardStep 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 © 2004-2013 XWiki. All Rights Reserved.