• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java ModalBody类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.gwtbootstrap3.client.ui.ModalBody的典型用法代码示例。如果您正苦于以下问题:Java ModalBody类的具体用法?Java ModalBody怎么用?Java ModalBody使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ModalBody类属于org.gwtbootstrap3.client.ui包,在下文中一共展示了ModalBody类的17个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: AbstractConcurrentChangePopup

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
protected AbstractConcurrentChangePopup(final String content,
                                        final Command onIgnore,
                                        final Command onAction,
                                        final String buttonText) {
    setTitle(CommonConstants.INSTANCE.Error());

    add(new ModalBody() {{
        add(uiBinder.createAndBindUi(AbstractConcurrentChangePopup.this));
    }});
    add(new ModalFooterReOpenIgnoreButtons(this,
                                           onAction,
                                           onIgnore,
                                           buttonText));

    message.setHTML(SafeHtmlUtils.fromTrustedString(content));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:17,代码来源:AbstractConcurrentChangePopup.java


示例2: NewTabFilterPopup

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public NewTabFilterPopup() {
    setTitle(CommonConstants.INSTANCE.Filter_Management());

    add(new ModalBody() {{
        add(uiBinder.createAndBindUi(NewTabFilterPopup.this));
    }});

    tabBasic.setDataTargetWidget(tab1);
    tabFilter.setDataTargetWidget(tab2);

    init();
    final GenericModalFooter footer = new GenericModalFooter();
    footer.addButton(CommonConstants.INSTANCE.Add_New_Filter(),
                     new Command() {
                         @Override
                         public void execute() {
                             okButton();
                         }
                     },
                     null,
                     ButtonType.PRIMARY);

    add(footer);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:25,代码来源:NewTabFilterPopup.java


示例3: AddTag

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public AddTag(PerspectiveEditorPresenter perspectivePresenter) {
    this.perspectivePresenter = perspectivePresenter;
    setTitle(CommonConstants.INSTANCE.AddTag());

    add(new ModalBody() {{
        add(uiBinder.createAndBindUi(AddTag.this));
    }});
    add(new ModalFooterOKCancelButtons(
            new Command() {
                @Override
                public void execute() {
                    okButton();
                }
            },
            new Command() {
                @Override
                public void execute() {
                    cancelButton();
                }
            }
    ));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:23,代码来源:AddTag.java


示例4: RuleModellerActionSelectorPopup

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public RuleModellerActionSelectorPopup(final RuleModel model,
                                       final RuleModeller ruleModeller,
                                       final Collection<RuleModellerActionPlugin> actionPlugins,
                                       final Integer position,
                                       final AsyncPackageDataModelOracle oracle) {
    super(model,
          ruleModeller,
          position,
          oracle);

    this.actionPlugins = actionPlugins;

    this.add(new ModalBody() {{
        add(getContent());
    }});

    add(new ModalFooterOKCancelButtons(okCommand,
                                       cancelCommand));
}
 
开发者ID:kiegroup,项目名称:drools-wb,代码行数:20,代码来源:RuleModellerActionSelectorPopup.java


示例5: PackageNameFormPopupViewImpl

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public PackageNameFormPopupViewImpl() {
    add( new ModalBody() {{
        add( uiBinder.createAndBindUi( PackageNameFormPopupViewImpl.this ) );
    }} );
    add( new ModalFooterOKCancelButtons( new Command() {
        @Override
        public void execute() {
            presenter.onOk();
        }
    }, new Command() {
        @Override
        public void execute() {
            hide();
        }
    }
    ) );
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:18,代码来源:PackageNameFormPopupViewImpl.java


示例6: SequenceGeneratorEditionDialog

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public SequenceGeneratorEditionDialog() {
    setTitle( "Sequence Generator" );
    //setMaxHeigth( "450px" );
    add( new ModalBody() {{
        add( uiBinder.createAndBindUi( SequenceGeneratorEditionDialog.this ) );
    }} );

    add( new ModalFooterOKCancelButtons(
                    new Command() {
                        @Override
                        public void execute() {
                            okButton();
                        }
                    },
                    new Command() {
                        @Override
                        public void execute() {
                            cancelButton();
                        }
                    }
            )
    );

}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:25,代码来源:SequenceGeneratorEditionDialog.java


示例7: AddImportPopup

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public AddImportPopup() {
    setTitle(ImportConstants.INSTANCE.addImportPopupTitle());

    add(new ModalBody() {{
        add(uiBinder.createAndBindUi(AddImportPopup.this));
    }});
    add(footer);

    importTypeListBox.getElement().getStyle().setWidth(100.0,
                                                       Style.Unit.PCT);
    importTypeListBox.addChangeHandler(new ChangeHandler() {

        @Override
        public void onChange(ChangeEvent event) {
            final boolean enable = importTypeListBox.getSelectedIndex() > 0;
            footer.enableOkButton(enable);
        }
    });
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:20,代码来源:AddImportPopup.java


示例8: FormListPopupViewImpl

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public FormListPopupViewImpl() {
    final ModalFooterOKCancelButtons footer = new ModalFooterOKCancelButtons( new Command() {
        @Override
        public void execute() {
            presenter.onOk();
            hide();
        }
    }, new Command() {
        @Override
        public void execute() {
            hide();
        }
    }
    );

    add( new ModalBody() {{
        add( uiBinder.createAndBindUi( FormListPopupViewImpl.this ) );
    }} );
    add( footer );
    setTitle( CommonConstants.INSTANCE.New() );
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:22,代码来源:FormListPopupViewImpl.java


示例9: YesNoCancelPopup

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
protected YesNoCancelPopup(final String title,
                           final String content,
                           final Command yesCommand,
                           final String yesButtonText,
                           final ButtonType yesButtonType,
                           final IconType yesButtonIconType,
                           final Command noCommand,
                           final String noButtonText,
                           final ButtonType noButtonType,
                           final IconType noButtonIconType,
                           final Command cancelCommand,
                           final String cancelButtonText,
                           final ButtonType cancelButtonType,
                           final IconType cancelButtonIconType) {

    setTitle(title);
    setHideOtherModals(false);

    add(new ModalBody() {{
        add(uiBinder.createAndBindUi(YesNoCancelPopup.this));
    }});
    add(new ModalFooterYesNoCancelButtons(this,
                                          yesCommand,
                                          yesButtonText,
                                          yesButtonType,
                                          yesButtonIconType,
                                          noCommand,
                                          noButtonText,
                                          noButtonType,
                                          noButtonIconType,
                                          cancelCommand,
                                          cancelButtonText,
                                          cancelButtonType,
                                          cancelButtonIconType));

    message.setHTML(SafeHtmlUtils.fromTrustedString(content != null ? content : ""));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:38,代码来源:YesNoCancelPopup.java


示例10: NewFilterPopup

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public NewFilterPopup() {
    createProvider();

    initColumns();
    setTitle(CommonConstants.INSTANCE.Filter_Management());

    add(new ModalBody() {{
        add(uiBinder.createAndBindUi(NewFilterPopup.this));
    }});

    tabAdd.setDataTargetWidget(tab1);
    tabManagement.setDataTargetWidget(tab2);

    init();
    final GenericModalFooter footer = new GenericModalFooter();
    footer.addButton(CommonConstants.INSTANCE.OK(),
                     new Command() {
                         @Override
                         public void execute() {
                             okButton();
                         }
                     },
                     null,
                     ButtonType.PRIMARY);

    add(footer);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:28,代码来源:NewFilterPopup.java


示例11: init

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public void init(NewPluginPopUpView.Presenter presenter) {
    this.presenter = presenter;

    footer.enableOkButton(true);

    add(new ModalBody() {{
        add(uiBinder.createAndBindUi(NewPluginPopUpViewImpl.this));
    }});
    add(footer);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:11,代码来源:NewPluginPopUpViewImpl.java


示例12: RuleModellerConditionSelectorPopup

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public RuleModellerConditionSelectorPopup(final RuleModel model,
                                          final RuleModeller ruleModeller,
                                          final Integer position,
                                          final AsyncPackageDataModelOracle oracle) {
    super(model,
          ruleModeller,
          position,
          oracle);

    add(new ModalBody() {{
        add(getContent());
    }});
    add(new ModalFooterOKCancelButtons(okCommand,
                                       cancelCommand));
}
 
开发者ID:kiegroup,项目名称:drools-wb,代码行数:16,代码来源:RuleModellerConditionSelectorPopup.java


示例13: DeploymentScreenPopupViewImpl

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public DeploymentScreenPopupViewImpl() {
    setTitle(ProjectEditorResources.CONSTANTS.BuildAndDeploy());
    setDataBackdrop(ModalBackdrop.STATIC);
    setDataKeyboard(true);
    setFade(true);
    setRemoveOnHide(true);

    final ModalBody modalBody = GWT.create(ModalBody.class);
    modalBody.add(uiBinder.createAndBindUi(DeploymentScreenPopupViewImpl.this));
    add(modalBody);
    add(footer);
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:13,代码来源:DeploymentScreenPopupViewImpl.java


示例14: AddImportPopup

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public AddImportPopup() {
    setTitle(ImportConstants.INSTANCE.addImportPopupTitle());

    add(new ModalBody() {{
        add(uiBinder.createAndBindUi(AddImportPopup.this));
    }});
    add(footer);

    importTypeTextBox.addKeyPressHandler((event) -> {
        importTypeGroup.setValidationState(ValidationState.NONE);
        importTypeHelpInline.setText("");
    });
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:14,代码来源:AddImportPopup.java


示例15: WorkbenchConfigurationViewImpl

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public WorkbenchConfigurationViewImpl() {
    footer.enableOkButton( true );
    add( new ModalBody() {{
        add( uiBinder.createAndBindUi( WorkbenchConfigurationViewImpl.this ) );
    }} );
    add( footer );
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:8,代码来源:WorkbenchConfigurationViewImpl.java


示例16: setBody

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public void setBody(final Widget widget) {
    final ModalBody body = new ModalBody();
    body.add(widget);
    this.add(body);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:6,代码来源:BaseModal.java


示例17: addBody

import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public CommonModalBuilder addBody(HTMLElement element) {
    modal.add(buildPanel(element,
                         new ModalBody()));
    return this;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:6,代码来源:CommonModalBuilder.java



注:本文中的org.gwtbootstrap3.client.ui.ModalBody类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java PersistableBundleCompat类代码示例发布时间:2022-05-22
下一篇:
Java NorwegianLightStemFilter类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap