public class PlaceHolder extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PlaceHolder.PlaceHolderBuilder
Utility class for creating a
PlaceHolder . |
Modifier and Type | Field and Description |
---|---|
static Comparator<PlaceHolder> |
COMPARATOR |
Modifier and Type | Method and Description |
---|---|
static PlaceHolder |
empty(EPlaceholderType type) |
boolean |
equals(Object obj) |
String |
getAlias() |
String |
getDetailedDescription(Locale locale) |
IGuiIcon |
getIcon() |
String |
getIconStyleClass() |
String |
getIconValue() |
String |
getKind() |
String |
getName() |
String |
getPlaceholder() |
String |
getShortDescription(Locale locale) |
String |
getText() |
IPlaceholderType |
getType() |
int |
hashCode() |
boolean |
isEmpty() |
String |
toString() |
public static final Comparator<PlaceHolder> COMPARATOR
public String getAlias()
public String getDetailedDescription(Locale locale)
locale
- Current locale.public IGuiIcon getIcon()
public String getIconStyleClass()
public String getIconValue()
public String getKind()
IPlaceholderType
s for a more detailed
description etc.public String getName()
CLIENT_ID
. Usually shown in the list of available placeholderspublic String getPlaceholder()
$$CLIENT_ID
. Used when inserting the placeholder in
an input fieldpublic String getShortDescription(Locale locale)
locale
- Current locale.public String getText()
public IPlaceholderType getType()
public boolean isEmpty()
public static PlaceHolder empty(EPlaceholderType type)
type
- Type of placeholderCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.