Package org.zkoss.zk.ui

Examples of org.zkoss.zk.ui.HtmlBasedComponent


    String style = page.getStyle();
    if (style == null || style.length() == 0) {
      style = null;
      String wd = null, hgh = null;
      if (owner instanceof HtmlBasedComponent) {
        final HtmlBasedComponent hbc = (HtmlBasedComponent)owner;
        wd = hbc.getWidth(); //null if not set
        hgh = hbc.getHeight(); //null if not set
      }

      if (wd != null || hgh != null || contained) {
        final StringBuffer sb = new StringBuffer(32);
        HTMLs.appendStyle(sb, "width", wd != null ? wd: "100%");
View Full Code Here


            Component child = iterator.next();
            boolean found = false;
            if (child.getClass().getName().equals(clazz.getName())) {
                if (sclass != null && !"".equals(sclass)) {
                    if (child instanceof HtmlBasedComponent) {
                        HtmlBasedComponent hc = (HtmlBasedComponent) child;
                        if (hc.getSclass() != null && hc.getSclass().contains(sclass)) {
                            comps.add((T) child);
                            found = true;
                        }
                    }
                } else {
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.HtmlBasedComponent

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.