public final class TodoController extends Controller<TodoModel,TodoView>
app.framework
.Constructor and Description |
---|
TodoController(Application application)
Initialize a new
TodoController instance for the specified
Application . |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
complete(java.util.List<TodoModel.TodoItem> todos) |
void |
complete(TodoModel.TodoItem todo) |
void |
create(java.lang.String description) |
application, emit, emit, model, off, on, view
public TodoController(Application application)
TodoController
instance for the specified
Application
.application
- The Application
that the TodoController
is associated with.public void create(java.lang.String description)
public void complete(TodoModel.TodoItem todo)
public void complete(java.util.List<TodoModel.TodoItem> todos)
public void clear()