Package dev.aurelium.slate.info
Class ComponentPlaceholderInfo<T>
java.lang.Object
dev.aurelium.slate.info.MenuInfo
dev.aurelium.slate.info.PlaceholderInfo
dev.aurelium.slate.info.TemplatePlaceholderInfo<T>
dev.aurelium.slate.info.ComponentPlaceholderInfo<T>
- Type Parameters:
T- the linked template context object type
Represents contextual information about a placeholder in a menu within a component.
-
Constructor Summary
ConstructorsConstructorDescriptionComponentPlaceholderInfo(Slate slate, org.bukkit.entity.Player player, String placeholder, ActiveMenu menu, PlaceholderData data, ComponentData component, T value) -
Method Summary
Modifier and TypeMethodDescriptionGets the component data of the component containing the placeholder, which contains information about this instance.Methods inherited from class dev.aurelium.slate.info.TemplatePlaceholderInfo
valueMethods inherited from class dev.aurelium.slate.info.PlaceholderInfo
data, placeholder
-
Constructor Details
-
Method Details
-
component
Gets the component data of the component containing the placeholder, which contains information about this instance.- Returns:
- the component data
-