Class PluginEditorRow


  • public class PluginEditorRow
    extends java.lang.Object
    A set of components for editing a PluginParameter and 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.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 of
        parameter - the parameter to edit
        pluginParameterViewFactory - the plugin parameter view factory for creating plugin parameter view instances
        mouseListener - the mouse listener that is attached to all editor components
        focusListener - the focus listener that is attached to all editor components
        parent - 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