Package org.zkoss.zul

Examples of org.zkoss.zul.Spinner


    public EffortDurationPicker() {
        this(false);
    }

    public EffortDurationPicker(boolean withseconds) {
        hours = new Spinner();
        hours.setCols(2);
        setMinFor(hours, 0);
        minutes = new Spinner();
        minutes.setCols(2);
        setRangeFor(minutes, 0, 59);
        appendWithTooltipText(hours, _("Hours"));
        appendWithTooltipText(minutes, _("Minutes"));

        if (withseconds) {
            seconds = new Spinner();
            seconds.setCols(2);
            setRangeFor(seconds, 0, 59);
            appendWithTooltipText(seconds, _("Seconds"));
        }
    }
View Full Code Here

TOP

Related Classes of org.zkoss.zul.Spinner

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.