Class JXEditorPane.CaretHandler

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

    private class JXEditorPane.CaretHandler
    extends java.lang.Object
    implements javax.swing.event.CaretListener
    Listens to the caret placement and adjusts the editing properties as appropriate. Should add more attributes as required.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CaretHandler()  
    • Method Summary

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

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

      • CaretHandler

        private CaretHandler()
    • Method Detail

      • caretUpdate

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