Class BooleanParameterView<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull javax.swing.JComponent getConfigComponent()
      Returns a JComponent for editing the parameter configuration.
      @NotNull javax.swing.JComponent getValueComponent()
      Returns a JComponent for editing the parameter value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BooleanParameterView

        public BooleanParameterView​(@NotNull
                                    @NotNull java.awt.Component parent,
                                    @NotNull
                                    @NotNull BooleanParameter<G,​A,​R> parameter)
        Creates a new instance.
        Parameters:
        parent - the parent component for config dialogs
        parameter - the boolean parameter that is shown
    • Method Detail

      • getConfigComponent

        @NotNull
        public @NotNull javax.swing.JComponent getConfigComponent()
        Description copied from interface: PluginParameterView
        Returns a JComponent for editing the parameter configuration. It is used only in the "edit plugin" dialog.
        Specified by:
        getConfigComponent in interface PluginParameterView
        Returns:
        the component
      • getValueComponent

        @NotNull
        public @NotNull javax.swing.JComponent getValueComponent()
        Description copied from interface: PluginParameterView
        Returns a JComponent for 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:
        getValueComponent in interface PluginParameterView
        Returns:
        the component