Package org.zkoss.zul.impl.api

Examples of org.zkoss.zul.impl.api.InputElement


        return false;
    }

    public static boolean isInvalid(Component child) {
        if (child instanceof InputElement) {
            InputElement input = (InputElement) child;
            if (!input.isValid()) {
                return true;
            }
        }
        return false;
    }
View Full Code Here


        }
    }

    private void disableCodeBoxes(Treeitem item, boolean disabled) {
        Treerow row = item.getTreerow();
        InputElement codeBox = (InputElement) ((Treecell) row.getChildren()
                .get(1)).getChildren().get(0);
        codeBox.setDisabled(disabled);
        codeBox.invalidate();

        Set<Treeitem> childrenSet = new HashSet<Treeitem>();
        Treechildren children = item.getTreechildren();
        if (children != null) {
            childrenSet.addAll((Collection<Treeitem>) children.getItems());
View Full Code Here

TOP

Related Classes of org.zkoss.zul.impl.api.InputElement

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.