Package org.zkoss.zk.ui.api

Examples of org.zkoss.zk.ui.api.HtmlBasedComponent


    }
  }
 
  private void removeMark(Component selected){
    if(selected == null || !(selected instanceof HtmlBasedComponent)) return;
    HtmlBasedComponent comp = (HtmlBasedComponent) selected;
    String sc = comp.getSclass();
    comp.setSclass(sc.substring(0, sc.lastIndexOf(" __selected__")));
  }
View Full Code Here


    comp.setSclass(sc.substring(0, sc.lastIndexOf(" __selected__")));
  }
 
  private void addMark(Component selected){
    if(selected == null || !(selected instanceof HtmlBasedComponent)) return;
    HtmlBasedComponent comp = (HtmlBasedComponent) selected;
    comp.setSclass(comp.getSclass() + " __selected__");
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.api.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.