Package kiyut.sketsa.canvas.event
Class TextAdapter
- java.lang.Object
-
- kiyut.sketsa.canvas.event.TextAdapter
-
- All Implemented Interfaces:
EventListener,TextListener
public class TextAdapter extends Object implements TextListener
The adapter which receives TextListener events. The methods in this class are empty. This class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.- Author:
- Kiyut
-
-
Constructor Summary
Constructors Constructor Description TextAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangedUpdate(TextEvent e)Invoked when the value of the text has changed for type CHANGE.voidinsertUpdate(TextEvent e)Invoked when the value of the text has changed for type INSERT.voidremoveUpdate(TextEvent e)Invoked when the value of the text has changed for type REMOVE.
-
-
-
Method Detail
-
changedUpdate
public void changedUpdate(TextEvent e)
Invoked when the value of the text has changed for type CHANGE.- Specified by:
changedUpdatein interfaceTextListener- Parameters:
e- TextEvent
-
insertUpdate
public void insertUpdate(TextEvent e)
Invoked when the value of the text has changed for type INSERT.- Specified by:
insertUpdatein interfaceTextListener- Parameters:
e- TextEvent
-
removeUpdate
public void removeUpdate(TextEvent e)
Invoked when the value of the text has changed for type REMOVE.- Specified by:
removeUpdatein interfaceTextListener- Parameters:
e- TextEvent
-
-