20 package net.sf.gridarta.plugin.parameter;
25 import org.jetbrains.annotations.NotNull;
26 import org.jetbrains.annotations.Nullable;
60 void setName(@NotNull String name);
void setName(@NotNull String name)
Sets the name of the parameter.
String getDescription()
The user-provided description of the value for the user interface.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
String getStringValue()
Returns the string representation of the current value of the parameter.
< T > T visit(@NotNull PluginParameterVisitor< G, A, R, T > visitor)
Calls the.
GameObjects are the objects based on Archetypes found on maps.
Interface for listeners interested in PluginParameter related events.
Interface for visitors of PluginParameter instances.
String getParameterType()
Returns the parameter type name.
void setDescription(@NotNull String description)
Sets the user-provided description of the value for the user interface.
void removePluginParameterListener(@NotNull PluginParameterListener listener)
Removes a listener to be notified.
An exception that is thrown if the string representation of value in a PluginParameter cannot be conv...
String getName()
The name of the parameter.
V getValue()
Returns the current value of this parameter.
boolean setStringValue(@NotNull String stringValue)
Sets the parameter value from string representation.
void addPluginParameterListener(@NotNull PluginParameterListener listener)
Adds a listener to be notified.
V getValueOrNull()
Returns the current value of this parameter.
Interface for MapArchObjects.