Package org.zkoss.ganttz.data

Examples of org.zkoss.ganttz.data.TaskLeaf


    private Task build(T data) {
        ITaskFundamentalProperties adapted = adapter.adapt(data);
        if (navigator.isMilestone(data)) {
            return new Milestone(adapted);
        } else if (navigator.isLeaf(data)) {
            return new TaskLeaf(adapted);
        } else {
            return new TaskContainer(adapted,
                    planner.areContainersExpandedByDefault());
        }
    }
View Full Code Here

TOP

Related Classes of org.zkoss.ganttz.data.TaskLeaf

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.