All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.fhframework.docs.event.ScrollEventForm__View Maven / Gradle / Ivy

package pl.fhframework.docs.event;





public class ScrollEventForm__View extends pl.fhframework.docs.event.ScrollEventForm
{
        
    
    @org.springframework.beans.factory.annotation.Autowired private pl.fhframework.format.FhConversionService __conversionService;
    @org.springframework.beans.factory.annotation.Autowired private pl.fhframework.core.i18n.MessageService __messagesService;
    @org.springframework.beans.factory.annotation.Autowired private pl.fhframework.core.rules.service.RulesService __ruleService;
    
    pl.fhframework.model.forms.OutputLabel u__Form_OutputLabel1_1;
    
    pl.fhframework.model.forms.OutputLabel u__Form_OutputLabel2_1;
    
    pl.fhframework.model.forms.Spacer u__Form_Spacer_1;
    
    pl.fhframework.model.forms.TabContainer u__Form_TabContainer_1;
    
    pl.fhframework.model.forms.Tab u__Form_TabContainer_Tab1_1;
    
    pl.fhframework.model.forms.Spacer u__Form_TabContainer_Tab1_Spacer_1;
    
    pl.fhframework.model.forms.Button u_button1_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab1_PanelGroup1_1;
    
    pl.fhframework.model.forms.InputText u_code1_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab1_PanelGroup2_1;
    
    pl.fhframework.model.forms.InputText u_code2_1;
    
    pl.fhframework.model.forms.Button u_button2_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab1_PanelGroup3_1;
    
    pl.fhframework.model.forms.InputText u_code3_1;
    
    pl.fhframework.model.forms.Tab u__Form_TabContainer_Tab2_1;
    
    pl.fhframework.model.forms.Spacer u__Form_TabContainer_Tab2_Spacer_1;
    
    pl.fhframework.model.forms.Button u_button3_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab2_PanelGroup1_1;
    
    pl.fhframework.model.forms.InputText u_code4_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab2_PanelGroup2_1;
    
    pl.fhframework.model.forms.InputText u_code5_1;
    
    pl.fhframework.model.forms.Button u_button4_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab2_PanelGroup3_1;
    
    pl.fhframework.model.forms.InputText u_code6_1;
    
    pl.fhframework.model.forms.Tab u__Form_TabContainer_Tab3_1;
    
    pl.fhframework.model.forms.Spacer u__Form_TabContainer_Tab3_Spacer_1;
    
    pl.fhframework.model.forms.Group u__Form_TabContainer_Tab3_Group1_1;
    
    pl.fhframework.model.forms.Button u_button5_1;
    
    pl.fhframework.model.forms.Button u_button6_1;
    
    pl.fhframework.model.forms.Button u_button7_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab3_Group1_PanelGroup1_1;
    
    pl.fhframework.model.forms.InputText u_code7_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab3_Group1_PanelGroup2_1;
    
    pl.fhframework.model.forms.InputText u_code8_1;
    
    pl.fhframework.model.forms.Group u__Form_TabContainer_Tab3_Group2_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab3_Group2_PanelGroup_1;
    
    pl.fhframework.model.forms.Button u_element1_1;
    
    pl.fhframework.model.forms.Spacer u__Form_TabContainer_Tab3_Group2_PanelGroup_Spacer1_1;
    
    pl.fhframework.model.forms.Button u_element2_1;
    
    pl.fhframework.model.forms.Spacer u__Form_TabContainer_Tab3_Group2_PanelGroup_Spacer2_1;
    
    pl.fhframework.model.forms.Button u_element3_1;
    
    pl.fhframework.model.forms.InputText u_code9_1;
    
    pl.fhframework.model.forms.AvailabilityConfiguration a_availabilityConfiguration_1;
    
    pl.fhframework.model.forms.Model a_model_1;
    public static final java.util.Set ____actions = new java.util.LinkedHashSet<>();
    static {
        ____actions.add(new pl.fhframework.binding.ActionSignature("fireScrollDown"));
        ____actions.add(new pl.fhframework.binding.ActionSignature("fireScrollUp"));
        ____actions.add(new pl.fhframework.binding.ActionSignature("fireScrollButton4"));
        ____actions.add(new pl.fhframework.binding.ActionSignature("fireScrollButton3"));
        ____actions.add(new pl.fhframework.binding.ActionSignature("fireScrollTo", String.class, Integer.class));
    }
    
    public static final java.util.Set ____variants = new java.util.LinkedHashSet<>();
    static {
    }
    
    public static final java.util.Set ____includes = new java.util.LinkedHashSet<>();
    static {
    }


    public ScrollEventForm__View()
    {
        initCmp_this();
        setupAccessibility();

    }

    private pl.fhframework.format.FhConversionService __getConversionService() { return __conversionService; }
    private pl.fhframework.core.i18n.MessageService __getMessageService() { return __messagesService; }
    private ScrollEventForm__View getThisForm() { return this; }
    
    
    
    private void initCmp_this() {
    this.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
            "{$.fh.docs.event.scroll_event_form}",
            null,
            String.class, /* target type */
            this::__getConversionService,
            this::getThis_labelModelBinding, /* getter */ 
            null /* setter */
        ));
    this.setDeclaredContainer("mainForm");
    this.setHideHeader(false);
    this.setFocusFirstElement(true);
    this.setLayout(pl.fhframework.model.forms.attribute.Layout.VERTICAL);
    this.setModal(false);
    this.setFormType(pl.fhframework.model.forms.attribute.FormType.STANDARD);
    this.setModalSize(pl.fhframework.model.forms.attribute.FormModalSize.REGULAR);
    this.setXmlns("http://fh.asseco.com/form/1.0");
    this.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
    this.setId("documentationHolder");
    this.setInvisible(false);
    
    u__Form_OutputLabel1_1 = new pl.fhframework.model.forms.OutputLabel(this);
    this.addSubcomponent(u__Form_OutputLabel1_1);
    u__Form_OutputLabel1_1.setGroupingParentComponent(this);
    initCmp_u__Form_OutputLabel1_1(u__Form_OutputLabel1_1);
    
    u__Form_OutputLabel2_1 = new pl.fhframework.model.forms.OutputLabel(this);
    this.addSubcomponent(u__Form_OutputLabel2_1);
    u__Form_OutputLabel2_1.setGroupingParentComponent(this);
    initCmp_u__Form_OutputLabel2_1(u__Form_OutputLabel2_1);
    
    u__Form_Spacer_1 = new pl.fhframework.model.forms.Spacer(this);
    this.addSubcomponent(u__Form_Spacer_1);
    u__Form_Spacer_1.setGroupingParentComponent(this);
    initCmp_u__Form_Spacer_1(u__Form_Spacer_1);
    
    u__Form_TabContainer_1 = new pl.fhframework.model.forms.TabContainer(this);
    this.addSubcomponent(u__Form_TabContainer_1);
    u__Form_TabContainer_1.setGroupingParentComponent(this);
    initCmp_u__Form_TabContainer_1(u__Form_TabContainer_1);
    
    a_availabilityConfiguration_1 = new pl.fhframework.model.forms.AvailabilityConfiguration(this);
    this.setAvailabilityConfiguration(a_availabilityConfiguration_1);
    initCmp_a_availabilityConfiguration_1(a_availabilityConfiguration_1);
    
    a_model_1 = new pl.fhframework.model.forms.Model(this);
    this.setModelDefinition(a_model_1);
    initCmp_a_model_1(a_model_1);
    }
    
    
    // $.fh.docs.event.scroll_event_form
    private String getThis_labelModelBinding() {
        try {
            return __getMessageService().getAllBundles().getMessage("fh.docs.event.scroll_event_form");
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getThis_labelModelBinding")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    private void initCmp_u__Form_OutputLabel1_1(pl.fhframework.model.forms.OutputLabel u__Form_OutputLabel1_1) {
    u__Form_OutputLabel1_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
    u__Form_OutputLabel1_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
            "{$.fh.docs.event.scroll_event_form.event_description}.",
            null,
            String.class, /* target type */
            this::__getConversionService,
            this::getU__Form_OutputLabel1_1_valueBinding, /* getter */ 
            null /* setter */
        ));
    u__Form_OutputLabel1_1.setWidth("md-12");
    u__Form_OutputLabel1_1.setId("_Form_OutputLabel1");
    u__Form_OutputLabel1_1.setInvisible(false);
    u__Form_OutputLabel1_1.setGroupingParentComponent(this);
    }
    
    
    // {$.fh.docs.event.scroll_event_form.event_description}.
    private String getU__Form_OutputLabel1_1_valueBinding() {
        try {
            return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.event.scroll_event_form.event_description")) + ".";
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_OutputLabel1_1_valueBinding")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    private void initCmp_u__Form_OutputLabel2_1(pl.fhframework.model.forms.OutputLabel u__Form_OutputLabel2_1) {
    u__Form_OutputLabel2_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
    u__Form_OutputLabel2_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
            "{$.fh.docs.event.to_use_scroll_event_use_following} API: pl.fhframework.event.EventRegistry.fireScrollEvent.",
            null,
            String.class, /* target type */
            this::__getConversionService,
            this::getU__Form_OutputLabel2_1_valueBinding, /* getter */ 
            null /* setter */
        ));
    u__Form_OutputLabel2_1.setWidth("md-12");
    u__Form_OutputLabel2_1.setId("_Form_OutputLabel2");
    u__Form_OutputLabel2_1.setInvisible(false);
    u__Form_OutputLabel2_1.setGroupingParentComponent(this);
    }
    
    
    // {$.fh.docs.event.to_use_scroll_event_use_following} API: pl.fhframework.event.EventRegistry.fireScrollEvent.
    private String getU__Form_OutputLabel2_1_valueBinding() {
        try {
            return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.event.to_use_scroll_event_use_following")) + " API: pl.fhframework.event.EventRegistry.fireScrollEvent.";
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_OutputLabel2_1_valueBinding")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    private void initCmp_u__Form_Spacer_1(pl.fhframework.model.forms.Spacer u__Form_Spacer_1) {
    u__Form_Spacer_1.setHeight("30");
    u__Form_Spacer_1.setWidth("md-12");
    u__Form_Spacer_1.setId("_Form_Spacer");
    u__Form_Spacer_1.setInvisible(false);
    u__Form_Spacer_1.setGroupingParentComponent(this);
    }
    
    private void initCmp_u__Form_TabContainer_1(pl.fhframework.model.forms.TabContainer u__Form_TabContainer_1) {
    u__Form_TabContainer_1.setId("_Form_TabContainer");
    u__Form_TabContainer_1.setInvisible(false);
    
    u__Form_TabContainer_Tab1_1 = new pl.fhframework.model.forms.Tab(this);
    u__Form_TabContainer_1.addSubcomponent(u__Form_TabContainer_Tab1_1);
    u__Form_TabContainer_Tab1_1.setGroupingParentComponent(u__Form_TabContainer_1);
    initCmp_u__Form_TabContainer_Tab1_1(u__Form_TabContainer_Tab1_1, u__Form_TabContainer_1);
    
    u__Form_TabContainer_Tab2_1 = new pl.fhframework.model.forms.Tab(this);
    u__Form_TabContainer_1.addSubcomponent(u__Form_TabContainer_Tab2_1);
    u__Form_TabContainer_Tab2_1.setGroupingParentComponent(u__Form_TabContainer_1);
    initCmp_u__Form_TabContainer_Tab2_1(u__Form_TabContainer_Tab2_1, u__Form_TabContainer_1);
    
    u__Form_TabContainer_Tab3_1 = new pl.fhframework.model.forms.Tab(this);
    u__Form_TabContainer_1.addSubcomponent(u__Form_TabContainer_Tab3_1);
    u__Form_TabContainer_Tab3_1.setGroupingParentComponent(u__Form_TabContainer_1);
    initCmp_u__Form_TabContainer_Tab3_1(u__Form_TabContainer_Tab3_1, u__Form_TabContainer_1);
    u__Form_TabContainer_1.setGroupingParentComponent(this);
    }
    
    private void initCmp_u__Form_TabContainer_Tab1_1(pl.fhframework.model.forms.Tab u__Form_TabContainer_Tab1_1, pl.fhframework.model.forms.TabContainer u__Form_TabContainer_1) {
    u__Form_TabContainer_Tab1_1.setLabelModelBinding(new pl.fhframework.binding.StaticBinding<>("ScrollEvent"));
    u__Form_TabContainer_Tab1_1.setLayout(pl.fhframework.model.forms.attribute.Layout.VERTICAL);
    u__Form_TabContainer_Tab1_1.setId("_Form_TabContainer_Tab1");
    u__Form_TabContainer_Tab1_1.setInvisible(false);
    
    u__Form_TabContainer_Tab1_Spacer_1 = new pl.fhframework.model.forms.Spacer(this);
    u__Form_TabContainer_Tab1_1.addSubcomponent(u__Form_TabContainer_Tab1_Spacer_1);
    u__Form_TabContainer_Tab1_Spacer_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    initCmp_u__Form_TabContainer_Tab1_Spacer_1(u__Form_TabContainer_Tab1_Spacer_1, u__Form_TabContainer_Tab1_1);
    
    u_button1_1 = new pl.fhframework.model.forms.Button(this);
    u__Form_TabContainer_Tab1_1.addSubcomponent(u_button1_1);
    u_button1_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    initCmp_u_button1_1(u_button1_1, u__Form_TabContainer_Tab1_1);
    
    u__Form_TabContainer_Tab1_PanelGroup1_1 = new pl.fhframework.model.forms.PanelGroup(this);
    u__Form_TabContainer_Tab1_1.addSubcomponent(u__Form_TabContainer_Tab1_PanelGroup1_1);
    u__Form_TabContainer_Tab1_PanelGroup1_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    initCmp_u__Form_TabContainer_Tab1_PanelGroup1_1(u__Form_TabContainer_Tab1_PanelGroup1_1, u__Form_TabContainer_Tab1_1);
    
    u__Form_TabContainer_Tab1_PanelGroup2_1 = new pl.fhframework.model.forms.PanelGroup(this);
    u__Form_TabContainer_Tab1_1.addSubcomponent(u__Form_TabContainer_Tab1_PanelGroup2_1);
    u__Form_TabContainer_Tab1_PanelGroup2_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    initCmp_u__Form_TabContainer_Tab1_PanelGroup2_1(u__Form_TabContainer_Tab1_PanelGroup2_1, u__Form_TabContainer_Tab1_1);
    
    u_button2_1 = new pl.fhframework.model.forms.Button(this);
    u__Form_TabContainer_Tab1_1.addSubcomponent(u_button2_1);
    u_button2_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    initCmp_u_button2_1(u_button2_1, u__Form_TabContainer_Tab1_1);
    
    u__Form_TabContainer_Tab1_PanelGroup3_1 = new pl.fhframework.model.forms.PanelGroup(this);
    u__Form_TabContainer_Tab1_1.addSubcomponent(u__Form_TabContainer_Tab1_PanelGroup3_1);
    u__Form_TabContainer_Tab1_PanelGroup3_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    initCmp_u__Form_TabContainer_Tab1_PanelGroup3_1(u__Form_TabContainer_Tab1_PanelGroup3_1, u__Form_TabContainer_Tab1_1);
    u__Form_TabContainer_Tab1_1.setGroupingParentComponent(u__Form_TabContainer_1);
    }
    
    private void initCmp_u__Form_TabContainer_Tab1_Spacer_1(pl.fhframework.model.forms.Spacer u__Form_TabContainer_Tab1_Spacer_1, pl.fhframework.model.forms.Tab u__Form_TabContainer_Tab1_1) {
    u__Form_TabContainer_Tab1_Spacer_1.setHeight("30");
    u__Form_TabContainer_Tab1_Spacer_1.setWidth("md-12");
    u__Form_TabContainer_Tab1_Spacer_1.setId("_Form_TabContainer_Tab1_Spacer");
    u__Form_TabContainer_Tab1_Spacer_1.setInvisible(false);
    u__Form_TabContainer_Tab1_Spacer_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    }
    
    private void initCmp_u_button1_1(pl.fhframework.model.forms.Button u_button1_1, pl.fhframework.model.forms.Tab u__Form_TabContainer_Tab1_1) {
    u_button1_1.setOnClick(new pl.fhframework.binding.CompiledActionBinding(
            "fireScrollDown()", "fireScrollDown"));
    u_button1_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
            "{$.fh.docs.event.scroll_to_button} 2",
            null,
            String.class, /* target type */
            this::__getConversionService,
            this::getU_button1_1_labelModelBinding, /* getter */ 
            null /* setter */
        ));
    u_button1_1.setReCAPTCHA(false);
    u_button1_1.setId("Button1");
    u_button1_1.setInvisible(false);
    u_button1_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    }
    
    
    // {$.fh.docs.event.scroll_to_button} 2
    private String getU_button1_1_labelModelBinding() {
        try {
            return "" + pl.fhframework.core.generator.CompiledClassesHelper.nvl(__getMessageService().getAllBundles().getMessage("fh.docs.event.scroll_to_button")) + " 2";
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_button1_1_labelModelBinding")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    private void initCmp_u__Form_TabContainer_Tab1_PanelGroup1_1(pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab1_PanelGroup1_1, pl.fhframework.model.forms.Tab u__Form_TabContainer_Tab1_1) {
    u__Form_TabContainer_Tab1_PanelGroup1_1.setLabelModelBinding(new pl.fhframework.binding.CompiledBinding<>(
            "{$.fh.docs.event.form_code}",
            null,
            String.class, /* target type */
            this::__getConversionService,
            this::getU__Form_TabContainer_Tab1_PanelGroup1_1_labelModelBinding, /* getter */ 
            null /* setter */
        ));
    u__Form_TabContainer_Tab1_PanelGroup1_1.setCollapsible(false);
    u__Form_TabContainer_Tab1_PanelGroup1_1.setBorderVisible(false);
    u__Form_TabContainer_Tab1_PanelGroup1_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
    u__Form_TabContainer_Tab1_PanelGroup1_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
    u__Form_TabContainer_Tab1_PanelGroup1_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
    u__Form_TabContainer_Tab1_PanelGroup1_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
    u__Form_TabContainer_Tab1_PanelGroup1_1.setWidth("md-12");
    u__Form_TabContainer_Tab1_PanelGroup1_1.setId("_Form_TabContainer_Tab1_PanelGroup1");
    u__Form_TabContainer_Tab1_PanelGroup1_1.setInvisible(false);
    
    u_code1_1 = new pl.fhframework.model.forms.InputText(this);
    u__Form_TabContainer_Tab1_PanelGroup1_1.addSubcomponent(u_code1_1);
    u_code1_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_PanelGroup1_1);
    initCmp_u_code1_1(u_code1_1, u__Form_TabContainer_Tab1_PanelGroup1_1);
    u__Form_TabContainer_Tab1_PanelGroup1_1.setGroupingParentComponent(u__Form_TabContainer_Tab1_1);
    }
    
    
    // $.fh.docs.event.form_code
    private String getU__Form_TabContainer_Tab1_PanelGroup1_1_labelModelBinding() {
        try {
            return __getMessageService().getAllBundles().getMessage("fh.docs.event.form_code");
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_TabContainer_Tab1_PanelGroup1_1_labelModelBinding")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    private void initCmp_u_code1_1(pl.fhframework.model.forms.InputText u_code1_1, pl.fhframework.model.forms.PanelGroup u__Form_TabContainer_Tab1_PanelGroup1_1) {
    u_code1_1.setRowsCount(1);
    u_code1_1.setMaxLength(65535);
    u_code1_1.setHintInputGroup(false);
    u_code1_1.setModelBinding(new pl.fhframework.binding.StaticBinding<>("




© 2015 - 2024 Weber Informatics LLC | Privacy Policy