Class CaretChangeHandler

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.CaretListener

    public class CaretChangeHandler
    extends java.lang.Object
    implements javax.swing.event.CaretListener
    Caret change handler. Enable/disable cut/copy actions, depending on whether there's a non-empty text selection.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void caretUpdate​(javax.swing.event.CaretEvent ce)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CaretChangeHandler

        public CaretChangeHandler​(MainFrame frame)
    • Method Detail

      • caretUpdate

        public void caretUpdate​(javax.swing.event.CaretEvent ce)
        Specified by:
        caretUpdate in interface javax.swing.event.CaretListener