public interface IPlaceholderType
Modifier and Type | Field and Description |
---|---|
static Comparator<IPlaceholderType> |
COMPARATOR |
Modifier and Type | Method and Description |
---|---|
String |
getDetailedDescription(PlaceHolder placeholder,
Locale locale) |
String |
getDisplayName(Locale locale) |
IGuiIcon |
getIcon(PlaceHolder placeholder) |
String |
getId() |
String |
getShortDescription(PlaceHolder placeholder,
Locale locale) |
int |
getSortKeyFirst() |
String |
getSortKeySecond() |
boolean |
isExpandInitially() |
static final Comparator<IPlaceholderType> COMPARATOR
String getDisplayName(Locale locale)
locale
- The current language settings.String getShortDescription(PlaceHolder placeholder, Locale locale)
placeholder
- A placeholder of this type for which to get the description.locale
- The current language settingsString getDetailedDescription(PlaceHolder placeholder, Locale locale)
placeholder
- A placeholder of this type for which to get the description.locale
- The current language settingsIGuiIcon getIcon(PlaceHolder placeholder)
placeholder
- A placeholder of this type for which to get the icon.boolean isExpandInitially()
true
True if this category should be expanded initially, false
otherwise.String getId()
int getSortKeyFirst()
String getSortKeySecond()
getSortKeyFirst()
are the same).Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.