Class TaskInputListener

java.lang.Object
se.his.it401g.todo.TaskInputListener
All Implemented Interfaces:
ActionListener, ItemListener, KeyListener, MouseListener, EventListener

public class TaskInputListener extends Object implements KeyListener, MouseListener, ActionListener, ItemListener
This class implements listeners for different input events on the task GUI. You may use this class for your custom task type, or create another listener. For example, when you change the test of a task and press enter, the keyPress method is called to switch from the input field to a JLabel displaying the text. This file licensed under the Creative Commons (CC) BY 4.0 license.