Class 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 Detail

      • TextAdapter

        public TextAdapter()
    • Method Detail

      • changedUpdate

        public void changedUpdate​(TextEvent e)
        Invoked when the value of the text has changed for type CHANGE.
        Specified by:
        changedUpdate in interface TextListener
        Parameters:
        e - TextEvent
      • insertUpdate

        public void insertUpdate​(TextEvent e)
        Invoked when the value of the text has changed for type INSERT.
        Specified by:
        insertUpdate in interface TextListener
        Parameters:
        e - TextEvent
      • removeUpdate

        public void removeUpdate​(TextEvent e)
        Invoked when the value of the text has changed for type REMOVE.
        Specified by:
        removeUpdate in interface TextListener
        Parameters:
        e - TextEvent