|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LinkConfig.LinkType>
org.xwiki.gwt.wysiwyg.client.plugin.link.LinkConfig.LinkType
public static enum LinkConfig.LinkType
Link types.
| Enum Constant Summary | |
|---|---|
ATTACHMENT
Link targeting an attached file. |
|
EMAIL
External link to an email address. |
|
EXTERNAL
External link (default for any unrecognized link). |
|
NEW_WIKIPAGE
Internal link targeting a new page. |
|
WIKIPAGE
Internal link targeting an existent page. |
|
| Method Summary | |
|---|---|
static LinkConfig.LinkType |
getByClassName(String className)
|
String |
getClassName()
|
static LinkConfig.LinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LinkConfig.LinkType[] |
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 |
|---|
public static final LinkConfig.LinkType EXTERNAL
public static final LinkConfig.LinkType NEW_WIKIPAGE
public static final LinkConfig.LinkType WIKIPAGE
public static final LinkConfig.LinkType ATTACHMENT
public static final LinkConfig.LinkType EMAIL
| Method Detail |
|---|
public static LinkConfig.LinkType[] values()
for (LinkConfig.LinkType c : LinkConfig.LinkType.values()) System.out.println(c);
public static LinkConfig.LinkType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getClassName()
public static LinkConfig.LinkType getByClassName(String className)
className - a CSS class name used to mark a specific type of link
LinkConfig.LinkType corresponding to the given class name, null if none of the link types
match the given class name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||