Package org.zkoss.ganttz.data.TaskContainer

Examples of org.zkoss.ganttz.data.TaskContainer.IExpandListener


        public void render(final Treeitem item, Object data) throws Exception {
            Task task = (Task) data;
            item.setOpen(isOpened(task));
            if (task instanceof TaskContainer) {
                final TaskContainer container = (TaskContainer) task;
                IExpandListener expandListener = new IExpandListener() {

                    @Override
                    public void expandStateChanged(boolean isNowExpanded) {
                        item.setOpen(isNowExpanded);
                    }
View Full Code Here


    private void addExpandListenerTo(TaskContainer container) {
        if (autoRemovedListers.containsKey(container)) {
            return;
        }
        IExpandListener expandListener = new IExpandListener() {

            @Override
            public void expandStateChanged(boolean isNowExpanded) {
                reload(true);
            }
View Full Code Here

            final IDisabilityConfiguration disabilityConfiguration) {
        super(taskContainer, disabilityConfiguration);
        if (!taskContainer.isContainer()) {
            throw new IllegalArgumentException();
        }
        this.expandListener = new IExpandListener() {

            @Override
            public void expandStateChanged(boolean isNowExpanded) {
                updateClass();
            }
View Full Code Here

TOP

Related Classes of org.zkoss.ganttz.data.TaskContainer.IExpandListener

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.