public class PluginEditorRow
extends java.lang.Object
PluginParameter
and its
configuration.Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.awt.Component |
getConfigComponent()
Returns the editor component for editing the parameter's configuration
parameters.
|
@NotNull java.awt.Component |
getParameterDescriptionEditor()
Returns the editor component for editing the parameter's description.
|
@NotNull java.awt.Component |
getParameterNameEditor()
Returns the editor component for editing the parameter's name.
|
@NotNull java.awt.Component |
getParameterTypeEditor()
Returns the editor component for editing the parameter's type.
|
@NotNull java.awt.Component |
getValueComponent()
Returns the editor component for editing the parameter's value.
|
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)
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@NotNull public @NotNull java.awt.Component getParameterNameEditor()
@NotNull public @NotNull java.awt.Component getParameterDescriptionEditor()
@NotNull public @NotNull java.awt.Component getParameterTypeEditor()
@NotNull public @NotNull java.awt.Component getConfigComponent()
@NotNull public @NotNull java.awt.Component getValueComponent()