Class MapPathParameterView<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.gui.dialog.plugin.parameter.MapPathParameterView<G,A,R>
-
- All Implemented Interfaces:
PluginParameterView
public class MapPathParameterView<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements PluginParameterView
APluginParameterViewthat displays aMapPathParameter.
-
-
Constructor Summary
Constructors Constructor Description MapPathParameterView(@NotNull java.awt.Component parent, @NotNull MapPathParameter<G,A,R> parameter, @NotNull PathManager pathManager)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull javax.swing.JComponentgetConfigComponent()Returns aJComponentfor editing the parameter configuration.@NotNull javax.swing.JComponentgetValueComponent()Returns aJComponentfor editing the parameter value.
-
-
-
Constructor Detail
-
MapPathParameterView
public MapPathParameterView(@NotNull @NotNull java.awt.Component parent, @NotNull @NotNull MapPathParameter<G,A,R> parameter, @NotNull @NotNull PathManager pathManager)Creates a new instance.- Parameters:
parent- the parent component for the file chooserparameter- the parameter to affectpathManager- the path manager instance
-
-
Method Detail
-
getValueComponent
@NotNull public @NotNull javax.swing.JComponent getValueComponent()
Description copied from interface:PluginParameterViewReturns aJComponentfor editing the parameter value. In the "run plugin" dialog this is the parameter's value, in the "edit plugin" dialog it is the default value.- Specified by:
getValueComponentin interfacePluginParameterView- Returns:
- the component
-
getConfigComponent
@NotNull public @NotNull javax.swing.JComponent getConfigComponent()
Description copied from interface:PluginParameterViewReturns aJComponentfor editing the parameter configuration. It is used only in the "edit plugin" dialog.- Specified by:
getConfigComponentin interfacePluginParameterView- Returns:
- the component
-
-