org.xwiki.gwt.wysiwyg.client.plugin.link.ui
Enum LinkWizard.LinkWizardStep

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

public static enum LinkWizard.LinkWizardStep
extends Enum<LinkWizard.LinkWizardStep>

Enumeration steps handled by this link wizard.


Enum Constant Summary
ATTACHMENT
          The step that selects an attachment.
ATTACHMENT_UPLOAD
          The step that uploads a new attachment.
EMAIL
          The step that selects an email address.
LINK_CONFIG
          The step that configures the link parameters.
LINK_REFERENCE_PARSER
          The step that parses the link reference.
LINK_REFERENCE_SERIALIZER
          The step that serializes the link reference.
WEB_PAGE
          The step that select a web page specified by its URL.
WIKI_PAGE
          The step that select a wiki page.
WIKI_PAGE_CREATOR
          The step that selects a new wiki page.
 
Method Summary
static LinkWizard.LinkWizardStep valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LinkWizard.LinkWizardStep[] 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

LINK_REFERENCE_PARSER

public static final LinkWizard.LinkWizardStep LINK_REFERENCE_PARSER
The step that parses the link reference.


WIKI_PAGE

public static final LinkWizard.LinkWizardStep WIKI_PAGE
The step that select a wiki page.


WIKI_PAGE_CREATOR

public static final LinkWizard.LinkWizardStep WIKI_PAGE_CREATOR
The step that selects a new wiki page.


ATTACHMENT

public static final LinkWizard.LinkWizardStep ATTACHMENT
The step that selects an attachment.


ATTACHMENT_UPLOAD

public static final LinkWizard.LinkWizardStep ATTACHMENT_UPLOAD
The step that uploads a new attachment.


WEB_PAGE

public static final LinkWizard.LinkWizardStep WEB_PAGE
The step that select a web page specified by its URL.


EMAIL

public static final LinkWizard.LinkWizardStep EMAIL
The step that selects an email address.


LINK_CONFIG

public static final LinkWizard.LinkWizardStep LINK_CONFIG
The step that configures the link parameters.


LINK_REFERENCE_SERIALIZER

public static final LinkWizard.LinkWizardStep LINK_REFERENCE_SERIALIZER
The step that serializes the link reference.

Method Detail

values

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

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

valueOf

public static LinkWizard.LinkWizardStep 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.