Class SortingType
java.lang.Object
me.neznamy.tab.shared.features.sorting.types.SortingType
- Direct Known Subclasses:
Groups,Permissions,Placeholder,PlaceholderAtoZ,PlaceholderHighToLow,PlaceholderLowToHigh,PlaceholderZtoA
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSortingType(Sorting sorting, String sortingPlaceholder) Constructs new instance with given parameter -
Method Summary
Modifier and TypeMethodDescriptionprotected LinkedHashMap<String,String> convertSortingElements(String[] elements) abstract StringReturns current sorting characters of this sorting type for specified playerprotected StringsetPlaceholders(me.neznamy.tab.api.TabPlayer player) Applies all placeholders for specified player
-
Field Details
-
DEFAULT_NUMBER
protected final int DEFAULT_NUMBER- See Also:
-
sortingPlaceholder
-
-
Constructor Details
-
SortingType
protected SortingType()
-
-
Method Details
-
setPlaceholders
Applies all placeholders for specified player- Parameters:
player- player to set placeholders for- Returns:
- text with replaced placeholders
-
convertSortingElements
-