Class ColorWheelPanel.ColorDocumentListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.DocumentListener
    Enclosing class:
    ColorWheelPanel

    private class ColorWheelPanel.ColorDocumentListener
    extends java.lang.Object
    implements javax.swing.event.DocumentListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String MARKER  
      private javax.swing.JTextField originator  
    • Constructor Summary

      Constructors 
      Constructor Description
      ColorDocumentListener​(javax.swing.JTextField originator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void changedUpdate​(javax.swing.event.DocumentEvent evt)
      This method is called after one or more attributes have changed.
      void insertUpdate​(javax.swing.event.DocumentEvent evt)
      This method is called after an insert into the document
      void removeUpdate​(javax.swing.event.DocumentEvent evt)
      This method is called after a removal from the document
      void synchronize​(javax.swing.event.DocumentEvent evt)  
      • Methods inherited from class java.lang.Object

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

      • originator

        private javax.swing.JTextField originator
    • Constructor Detail

      • ColorDocumentListener

        public ColorDocumentListener​(javax.swing.JTextField originator)
    • Method Detail

      • insertUpdate

        public void insertUpdate​(javax.swing.event.DocumentEvent evt)
        This method is called after an insert into the document
        Specified by:
        insertUpdate in interface javax.swing.event.DocumentListener
      • removeUpdate

        public void removeUpdate​(javax.swing.event.DocumentEvent evt)
        This method is called after a removal from the document
        Specified by:
        removeUpdate in interface javax.swing.event.DocumentListener
      • changedUpdate

        public void changedUpdate​(javax.swing.event.DocumentEvent evt)
        This method is called after one or more attributes have changed. This method is not called when characters are inserted with attributes.
        Specified by:
        changedUpdate in interface javax.swing.event.DocumentListener
      • synchronize

        public void synchronize​(javax.swing.event.DocumentEvent evt)