Package de.agilecoders.wicket.core.markup.html.bootstrap.components.progress

Examples of de.agilecoders.wicket.core.markup.html.bootstrap.components.progress.UpdatableProgressBar


        add(coloredWarning);

        ProgressBar coloredDanger = new ProgressBar("coloredDanger", Model.of(80), ProgressBar.Type.DANGER);
        add(coloredDanger);

        UpdatableProgressBar updatableBar = new UpdatableProgressBar("updatable", Model.of(0)) {
            @Override
            protected IModel<Integer> newValue() {
                int newValue = (value() + 1) % ProgressBar.MAX;
                return Model.of(newValue);
            }
        };
        updatableBar.updateInterval(Duration.seconds(1));
        add(updatableBar);
    }
View Full Code Here

TOP

Related Classes of de.agilecoders.wicket.core.markup.html.bootstrap.components.progress.UpdatableProgressBar

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.