Package de.xima.fc.gui.statics
Enum EPlaceholderType
- All Implemented Interfaces:
IPlaceholderType,INamedUiElement,Serializable,Comparable<EPlaceholderType>
public enum EPlaceholderType
extends Enum<EPlaceholderType>
implements INamedUiElement, IPlaceholderType
Common placeholder types. Contains methods for getting a name and description, which may differ for different types
of placeholders. For example, a placeholder of type
SYSTEM is displayed as
CLIENT_ID - ID of the current client, whereas a placeholder of type TEMPLATE_HTML is
displayed as [TEMPLATE_NAME] [TEMPLATE_CONTENT].- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFallback when no more specific type could be determined. -
Field Summary
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAMEFields inherited from interface de.xima.fc.gui.statics.IPlaceholderType
COMPARATOR -
Method Summary
Modifier and TypeMethodDescriptionstatic IPlaceholderTypestatic EPlaceholderTypeforTemplate(ETextbausteinKategorie category) abstract StringgetDetailedDescription(PlaceHolder placeholder, Locale locale) abstract IGuiIcongetIcon(PlaceHolder placeholder) getId()abstract StringgetShortDescription(PlaceHolder placeholder, Locale locale) intabstract booleanstatic EPlaceholderTypeReturns the enum constant of this type with the specified name.static EPlaceholderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ATTACHMENT
-
FORM_COLLECTION
-
FORM_SIMPLE
-
FORM_UPLOAD
-
OTHER
Fallback when no more specific type could be determined. -
SYSTEM
-
USER
-
INITIAL_USER
-
LAST_USER
-
APPOINTMENT
-
TEMPLATE_HTML
-
TEMPLATE_MAIL
-
TEMPLATE_TEXT
-
TEMPLATE_URL
-
COUNTER
-
WEBDAV_CONNECTION
-
WORKFLOW_TRIGGER
-
WORKFLOW_NODE
-
WORKFLOW_ACTION_RESULT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getDetailedDescription
- Specified by:
getDetailedDescriptionin interfaceIPlaceholderType- Parameters:
placeholder- A placeholder of this type for which to get the description.locale- The current language settings- Returns:
- A detailed description for the given placeholder.
-
getDisplayName
- Specified by:
getDisplayNamein interfaceINamedUiElement- Specified by:
getDisplayNamein interfaceIPlaceholderType- Parameters:
l- The current language settings.- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
getIcon
- Specified by:
getIconin interfaceIPlaceholderType- Parameters:
placeholder- A placeholder of this type for which to get the icon.- Returns:
- Icon to be shown for the given placeholder. May be either a default icon for this group or a specific icon for the given placeholder.
-
getId
- Specified by:
getIdin interfaceIPlaceholderType- Returns:
- The ID of this placeholder type, used for grouping individual placeholders according to their type.
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceIPlaceholderType- Parameters:
placeholder- A placeholder of this type for which to get the description.locale- The current language settings- Returns:
- A short description for the given placeholder
-
getSortKeyFirst
public int getSortKeyFirst()- Specified by:
getSortKeyFirstin interfaceIPlaceholderType- Returns:
- Key by which placeholders types are sorted first.
-
getSortKeySecond
- Specified by:
getSortKeySecondin interfaceIPlaceholderType- Returns:
- Key by which placeholders types are sorted second (when the
IPlaceholderType.getSortKeyFirst()are the same).
-
isExpandInitially
public abstract boolean isExpandInitially()- Specified by:
isExpandInitiallyin interfaceIPlaceholderType- Returns:
trueTrue if this category should be expanded initially,falseotherwise.
-
forFormElementType
-
forTemplate
-