Package org.zkoss.zk.ui.event

Examples of org.zkoss.zk.ui.event.CheckEvent


            }
        }
    }

    public void onCheckGenerateCode(Event e) {
        CheckEvent ce = (CheckEvent) e;
        if (ce.isChecked()) {
            try {
                baseCalendarModel.setCodeAutogenerated(ce.isChecked());
            } catch (ConcurrentModificationException err) {
                messagesForUser.showMessage(Level.ERROR, err.getMessage());
            }
        }
        reloadCodeInformation();
View Full Code Here


            cameBackList = true;
        }
    }

    public void onCheckGenerateCode(Event e) {
        CheckEvent ce = (CheckEvent) e;
        if(ce.isChecked()) {
            //we have to auto-generate the code for new objects
            try {
                workReportModel.setCodeAutogenerated(ce.isChecked());
            } catch (ConcurrentModificationException err) {
                messagesForUser.showMessage(Level.ERROR, err.getMessage());
            }
        }
        Util.reloadBindings(createWindow);
View Full Code Here

                        .getCriterionType()).isCodeAutogenerated());
        editionTree.doAfterCompose(comp.getFellow("criterionsTree"));
    }

    public void onCheckGenerateCode(Event e) {
        CheckEvent ce = (CheckEvent) e;
        if (ce.isChecked()) {
            try {
                // we have to auto-generate the code for new objects
                criterionsModel.setCodeAutogenerated(ce.isChecked());
            } catch (ConcurrentModificationException err) {
                messagesForUser.showMessage(Level.ERROR, err.getMessage());
            }
            Util.reloadBindings(editWindow);
        }
        //disable code field in criterion tree controller
        editionTree.setCriterionCodeEditionDisabled(ce.isChecked());
        editionTree.reloadTree();
    }
View Full Code Here

  @Command
  @NotifyChange({ "clientType" })
  public void refreshMonthlyReportClientType(
      @ContextParam(ContextType.TRIGGER_EVENT) Event event) {
    CheckEvent checkEvent = (CheckEvent) event.getData();
    Checkbox checkbox = (Checkbox) checkEvent.getTarget();
    clientType = checkbox.getValue();
    Clients.clearBusy();
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.event.CheckEvent

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.