|
Gridarta Editor
|
Abstract base class for PluginParameter implementations for which the string representation of the value is calculated from the value. More...
Inheritance diagram for net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, V >:
Collaboration diagram for net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, V >:Public Member Functions | |
| V | getValue () |
| V | getValueOrNull () |
| void | setValue (@NotNull final V value) |
| Updates the parameter value. More... | |
Public Member Functions inherited from net.sf.gridarta.plugin.parameter.AbstractPluginParameter< G, A, R, V > | |
| void | addPluginParameterListener ( @NotNull final PluginParameterListener listener) |
| String | getDescription () |
| String | getName () |
| void | removePluginParameterListener ( @NotNull final PluginParameterListener listener) |
| void | setDescription ( @NotNull final String description) |
| void | setName ( @NotNull final String name) |
Protected Member Functions | |
| AbstractValuePluginParameter (@NotNull final V value) | |
| Creates a new instance. More... | |
Protected Member Functions inherited from net.sf.gridarta.plugin.parameter.AbstractPluginParameter< G, A, R, V > | |
| AbstractPluginParameter () | |
| Creates a new instance. More... | |
| void | changed () |
| Notifies all listeners that this plugin parameter has changed. More... | |
Private Attributes | |
| V | value |
| The current value. More... | |
Abstract base class for PluginParameter implementations for which the string representation of the value is calculated from the value.
Definition at line 32 of file AbstractValuePluginParameter.java.
|
protected |
Creates a new instance.
| value | the initial value |
Definition at line 44 of file AbstractValuePluginParameter.java.
| V net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, V >.getValue | ( | ) |
Definition at line 50 of file AbstractValuePluginParameter.java.
| V net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, V >.getValueOrNull | ( | ) |
Definition at line 56 of file AbstractValuePluginParameter.java.
| void net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, V >.setValue | ( | @NotNull final V | value | ) |
Updates the parameter value.
| value | the new value |
Definition at line 64 of file AbstractValuePluginParameter.java.
|
private |
The current value.
Definition at line 38 of file AbstractValuePluginParameter.java.
Referenced by net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G, A, R, String >.AbstractValuePluginParameter(), net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G, A, R, String >.getValue(), net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G, A, R, String >.getValueOrNull(), and net.sf.gridarta.plugin.parameter.AbstractValuePluginParameter< G, A, R, String >.setValue().