public interface TextTemplateApplier extends TextRepresentable
TextTemplate parameters and a TextTemplate.| Modifier and Type | Method and Description | 
|---|---|
default TextElement | 
getParameter(String key)
Returns the current value of the parameter with the specified key. 
 | 
ImmutableMap<String,TextElement> | 
getParameters()
Returns an  
ImmutableList of this applier's parameters. | 
TextTemplate | 
getTemplate()
Returns the current  
TextTemplate for this applier. | 
void | 
setParameter(String key,
            TextElement value)
Sets the value of the specified parameter key within this applier. 
 | 
void | 
setTemplate(TextTemplate template)
Sets the  
TextTemplate to use for this applier. | 
default Text | 
toText()
Gets the textual representation of this instance for its usage in other
  
Text objects. | 
applyToImmutableMap<String,TextElement> getParameters()
ImmutableList of this applier's parameters.default TextElement getParameter(String key)
key - Parameter keyvoid setParameter(String key, @Nullable TextElement value)
key - Parameter keyvalue - Parameter valueTextTemplate getTemplate()
TextTemplate for this applier.void setTemplate(TextTemplate template)
TextTemplate to use for this applier.template - TextTemplate to usedefault Text toText()
TextRepresentableText objects. This may but does not need to include
 hover texts or other actions. This
 method is basically the toString() equivalent
 for Texts.toText in interface TextRepresentable