Examples of applyProperties()


Examples of org.zkoss.zul.Listbox.applyProperties()

        final HourCost hourCost = (HourCost) row.getValue();
        final Listbox lbHoursType = new Listbox();
        lbHoursType.setMold("select");
        lbHoursType.setModel(allHoursType);
        lbHoursType.renderAll();
        lbHoursType.applyProperties();

        if (lbHoursType.getItems().isEmpty()) {
            row.appendChild(lbHoursType);
            return;
        }
View Full Code Here

Examples of org.zkoss.zul.Listbox.applyProperties()

        final WorkReportLine workReportLine = (WorkReportLine) row.getValue();
        final Listbox lbHoursType = new Listbox();
        lbHoursType.setMold("select");
        lbHoursType.setModel(allHoursType);
        lbHoursType.renderAll();
        lbHoursType.applyProperties();

        if (lbHoursType.getItems().isEmpty()) {
            row.appendChild(lbHoursType);
            return;
        }
View Full Code Here

Examples of org.zkoss.zul.Listcell.applyProperties()

    if (renderer instanceof ListitemRendererExt)
      cell = ((ListitemRendererExt)renderer).newListcell(item);

    if (cell == null) {
      cell = new Listcell();
      cell.applyProperties();
    }
    cell.setParent(item);
    return cell;
  }
  public Object getRealRenderer() {
View Full Code Here

Examples of org.zkoss.zul.Listgroup.applyProperties()

    Listgroup group = null;
    if (renderer instanceof ListgroupRendererExt)
      group = ((ListgroupRendererExt)renderer).newListgroup(_listbox);
    if (group == null) {
      group = new Listgroup();
      group.applyProperties();
    }
    return group;
  }
  private Listgroupfoot newListgroupfoot(ListitemRenderer renderer) {
    Listgroupfoot groupfoot = null;
View Full Code Here

Examples of org.zkoss.zul.Listgroupfoot.applyProperties()

    Listgroupfoot groupfoot = null;
    if (renderer instanceof ListgroupRendererExt)
      groupfoot = ((ListgroupRendererExt)renderer).newListgroupfoot(_listbox);
    if (groupfoot == null) {
      groupfoot = new Listgroupfoot();
      groupfoot.applyProperties();
    }
    return groupfoot;
  }
  private Listcell newUnloadedCell(ListitemRenderer renderer, Listitem item) {
    Listcell cell = null;
View Full Code Here

Examples of org.zkoss.zul.Listitem.applyProperties()

    Listitem item = null;
    if (renderer instanceof ListitemRendererExt)
      item = ((ListitemRendererExt)renderer).newListitem(_listbox);
    if (item == null) {
      item = new Listitem();
      item.applyProperties();
    }
    return item;
  }
  private Listgroup newListgroup(ListitemRenderer renderer) {
    Listgroup group = null;
View Full Code Here

Examples of org.zkoss.zul.Row.applyProperties()

    Row row = null;
    if (renderer instanceof RowRendererExt)
      row = ((RowRendererExt)renderer).newRow((Grid)getOwner());
    if (row == null) {
      row = new Row();
      row.applyProperties();
    }
    return row;
  }
  private Group newGroup(RowRenderer renderer) {
    Group group = null;
View Full Code Here

Examples of org.zkoss.zul.Textbox.applyProperties()

        private void appendCode(final Row row) {
            final ExpenseSheetLine line = (ExpenseSheetLine) row.getValue();
            final Textbox code = new Textbox();
            code.setWidth("170px");
            code.setDisabled(getExpenseSheet().isCodeAutogenerated());
            code.applyProperties();

             if (line.getCode() != null) {
                 code.setValue(line.getCode());
             }
View Full Code Here

Examples of org.zkoss.zul.Textbox.applyProperties()

    private void appendCode(final Row row) {
        final WorkReportLine line = (WorkReportLine) row.getValue();
        final Textbox code = new Textbox();
        code.setDisabled(getWorkReport().isCodeAutogenerated());
        code.applyProperties();

         if (line.getCode() != null) {
             code.setValue(line.getCode());
         }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.