@EventHandler("updateTaskButton") public void updateTaskButton(ClickEvent e) { presenter.updateTask( taskDescriptionTextArea.getText(), userText.getText(), // subTaskStrategyListBox.getItemText(subTaskStrategyListBox.getSelectedIndex()), (dueDate.getValue() != null && dueDateTime.getValue() != null) ? UTCDateBox.utc2date(dueDate.getValue() + dueDateTime.getValue()) : null, Integer.valueOf(taskPriorityListBox.getValue())); }
@Override public String getText() { return textbox.getValue(); }