Class NewContractVisualAction

  • All Implemented Interfaces:
    Comparable<AbstractVisualAction>

    @Component
    public class NewContractVisualAction
    extends AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
    Visual wrapper of create a new contract action.
    Author:
    Mauricio Ruiz Beltrán <mauricio.ruiz@kuwaiba.org>
    • Field Detail

      • POOL_TYPE_MODULE_ROOT

        public static final int POOL_TYPE_MODULE_ROOT
        Type of pool module root. These pools are used in models and are the root of such model
        See Also:
        Constant Field Values
    • Constructor Detail

      • NewContractVisualAction

        public NewContractVisualAction()
    • Method Detail

      • getVisualComponent

        public com.vaadin.flow.component.dialog.Dialog getVisualComponent​(ModuleActionParameterSet parameters)
        Description copied from class: AbstractVisualAction
        The visual component (a XXLayout, for example), to be embedded in a Dialog upon triggering the action.
        Specified by:
        getVisualComponent in class AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
        Parameters:
        parameters - The initial parameters necessary to build the visual component. Some or all these parameters might be later passed to the underlying AbstractAction.
        Returns:
        The visual component.