Enum IPluginMenuEntry.EPluginMenuTargetType
- java.lang.Object
-
- java.lang.Enum<IPluginMenuEntry.EPluginMenuTargetType>
-
- de.xima.fc.interfaces.plugin.retval.backend.IPluginMenuEntry.EPluginMenuTargetType
-
- All Implemented Interfaces:
Serializable
,Comparable<IPluginMenuEntry.EPluginMenuTargetType>
- Enclosing interface:
- IPluginMenuEntry
public static enum IPluginMenuEntry.EPluginMenuTargetType extends Enum<IPluginMenuEntry.EPluginMenuTargetType>
Enumeration of possible target types for aIPluginMenuEntry
. The target type describes the action that is taken when the user clicks on the menu entry.- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUT
Marks the menu entry as a simple absolute link to an external page.PARENT
Marks the menu entry as a parent menu entry.PORTAL
Marks the menu entry as a link to a portal plugin page.RELATIV
Marks the menu entry as a simple relative link.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPluginMenuEntry.EPluginMenuTargetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IPluginMenuEntry.EPluginMenuTargetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARENT
public static final IPluginMenuEntry.EPluginMenuTargetType PARENT
Marks the menu entry as a parent menu entry. Clicking on the menu entry will open a submenu with the child entries.
-
PORTAL
public static final IPluginMenuEntry.EPluginMenuTargetType PORTAL
Marks the menu entry as a link to a portal plugin page. A portal plugin adds a custom XHTML page to FORMCYCLE.
-
RELATIV
public static final IPluginMenuEntry.EPluginMenuTargetType RELATIV
Marks the menu entry as a simple relative link. It is relative to the context path of the FORMCYCLE application.
-
ABSOLUT
public static final IPluginMenuEntry.EPluginMenuTargetType ABSOLUT
Marks the menu entry as a simple absolute link to an external page.
-
-
Method Detail
-
values
public static IPluginMenuEntry.EPluginMenuTargetType[] 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 (IPluginMenuEntry.EPluginMenuTargetType c : IPluginMenuEntry.EPluginMenuTargetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IPluginMenuEntry.EPluginMenuTargetType 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 nameNullPointerException
- if the argument is null
-
-