Package org.zkoss.zul.impl.GroupsListModel

Examples of org.zkoss.zul.impl.GroupsListModel.GroupDataInfo


    final RowRenderer renderer0 = (RowRenderer) renderer;
    final ListModel model = ((Grid)getOwner()).getModel();
    Row row = null;
    if (model instanceof GroupsListModel) {
      final GroupsListModel gmodel = (GroupsListModel) model;
      final GroupDataInfo info = gmodel.getDataInfo(index);
      switch(info.type){
      case GroupDataInfo.GROUP:
        row = newGroup(renderer0);
        ((Group)row).setOpen(!info.close);
        break;
View Full Code Here


  protected final Listitem newUnloadedItem(ListitemRenderer renderer, int index) {
    final ListModel model = _listbox.getModel();
    Listitem item = null;
    if (model instanceof GroupsListModel) {
      final GroupsListModel gmodel = (GroupsListModel) model;
      final GroupDataInfo info = gmodel.getDataInfo(index);
      switch(info.type){
      case GroupDataInfo.GROUP:
        item = newListgroup(renderer);
        ((Listgroup)item).setOpen(!info.close);
        break;
View Full Code Here

TOP

Related Classes of org.zkoss.zul.impl.GroupsListModel.GroupDataInfo

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.