Class PluginEditorRow
- java.lang.Object
-
- net.sf.gridarta.gui.dialog.plugin.PluginEditorRow
-
public class PluginEditorRow extends java.lang.ObjectA set of components for editing aPluginParameterand its configuration.
-
-
Constructor Summary
Constructors Constructor Description PluginEditorRow(@NotNull Plugin<G,A,R> plugin, @NotNull PluginParameter<G,A,R,?> parameter, @NotNull PluginParameterViewFactory<G,A,R> pluginParameterViewFactory, @NotNull java.awt.event.MouseListener mouseListener, @NotNull java.awt.event.FocusListener focusListener, @NotNull java.awt.Component parent)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.awt.ComponentgetConfigComponent()Returns the editor component for editing the parameter's configuration parameters.@NotNull java.awt.ComponentgetParameterDescriptionEditor()Returns the editor component for editing the parameter's description.@NotNull java.awt.ComponentgetParameterNameEditor()Returns the editor component for editing the parameter's name.@NotNull java.awt.ComponentgetParameterTypeEditor()Returns the editor component for editing the parameter's type.@NotNull java.awt.ComponentgetValueComponent()Returns the editor component for editing the parameter's value.
-
-
-
Constructor Detail
-
PluginEditorRow
public PluginEditorRow(@NotNull @NotNull Plugin<G,A,R> plugin, @NotNull @NotNull PluginParameter<G,A,R,?> parameter, @NotNull @NotNull PluginParameterViewFactory<G,A,R> pluginParameterViewFactory, @NotNull @NotNull java.awt.event.MouseListener mouseListener, @NotNull @NotNull java.awt.event.FocusListener focusListener, @NotNull @NotNull java.awt.Component parent)Creates a new instance.- Parameters:
plugin- the plugin the plugin parameter is part ofparameter- the parameter to editpluginParameterViewFactory- the plugin parameter view factory for creating plugin parameter view instancesmouseListener- the mouse listener that is attached to all editor componentsfocusListener- the focus listener that is attached to all editor componentsparent- the parent component for config dialogs
-
-
Method Detail
-
getParameterNameEditor
@NotNull public @NotNull java.awt.Component getParameterNameEditor()
Returns the editor component for editing the parameter's name.- Returns:
- the editor component
-
getParameterDescriptionEditor
@NotNull public @NotNull java.awt.Component getParameterDescriptionEditor()
Returns the editor component for editing the parameter's description.- Returns:
- the editor component
-
getParameterTypeEditor
@NotNull public @NotNull java.awt.Component getParameterTypeEditor()
Returns the editor component for editing the parameter's type.- Returns:
- the editor component
-
getConfigComponent
@NotNull public @NotNull java.awt.Component getConfigComponent()
Returns the editor component for editing the parameter's configuration parameters.- Returns:
- the editor component
-
getValueComponent
@NotNull public @NotNull java.awt.Component getValueComponent()
Returns the editor component for editing the parameter's value.- Returns:
- the editor component
-
-