Examples of ToDoUpdatedEvent


Examples of com.todo.client.events.ToDoUpdatedEvent

        if (tagName.equals("INPUT")) {

          // if so, synchronize the model state
          InputElement input = clickedElement.cast();
          value.setCompleted(input.isChecked());
          eventBus.fireEvent(new ToDoUpdatedEvent(value));

          // update the 'row' style
          if (input.isChecked()) {
            getViewRootElement(parent).addClassName("completed");
          } else {
View Full Code Here

Examples of com.todo.client.events.ToDoUpdatedEvent

   * Commits the changes in text value to the ToDoItem
   */
  private void commitEdit(Element parent, ToDoItem value) {
    InputElement input = getInputElement(parent);
    value.setTitle(input.getValue());
    eventBus.fireEvent(new ToDoUpdatedEvent(value));
  }
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.