Package com.blogspot.mydailyjava.wicket.async.task

Examples of com.blogspot.mydailyjava.wicket.async.task.AbstractTaskContainer


        // Create form
        Form<?> form = new Form<Void>("form");

        // Create model of task
        AbstractTaskContainer taskContainer = DefaultTaskManager.getInstance().makeContainer(1000L, TimeUnit.MINUTES);

        // Create a progress button.
        ProgressButton progressButton = new ProgressButton("button", form, Model.of(taskContainer), this, Duration.milliseconds(500L));

        progressButton.registerMessageModel(Model.of("Start"), InteractionState.STARTABLE, InteractionState.RESTARTABLE);
View Full Code Here

TOP

Related Classes of com.blogspot.mydailyjava.wicket.async.task.AbstractTaskContainer

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.