Package com.google.code.jqwicket.ui.blockui

Examples of com.google.code.jqwicket.ui.blockui.BlockUIOptions


    add(new Button("blockScreenButton").add(JQBehaviors
        .mouseClick($f(new IJQStatement[] { b.block().toStatement(),
            js("setTimeout($.unblockUI, 2000)") }))));
    add(new Button("blockScreenButton2").add(JQBehaviors.mouseClick(b
        .block(new BlockUIOptions()
            .message("Custom loading message...")))));
    add(new Button("unblockScreenButton").add(JQBehaviors.mouseClick(b
        .unblock())));

    final WebMarkupContainer blockMe = new WebMarkupContainer("blockMe");
    blockMe.setOutputMarkupId(true);
    add(blockMe);

    add(new Button("blockElementButton").add(JQBehaviors.mouseClick(b
        .block(blockMe))));
    add(new Button("blockElementButton2").add(JQBehaviors.mouseClick(b
        .block(blockMe, new BlockUIOptions()
            .message("Custom loading message...")))));
    add(new Button("unblockElementButton").add(JQBehaviors.mouseClick(b
        .unblock(blockMe))));

  }
View Full Code Here

TOP

Related Classes of com.google.code.jqwicket.ui.blockui.BlockUIOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.