Package editor.run

Class RemoteConfigPanel.DocChangeHandler

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

    private class RemoteConfigPanel.DocChangeHandler
    extends java.lang.Object
    implements javax.swing.event.DocumentListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.function.Consumer<java.lang.String> _consumer  
      (package private) java.util.function.Function<java.lang.String,​java.lang.String> _validator  
    • Constructor Summary

      Constructors 
      Constructor Description
      DocChangeHandler​(java.util.function.Function<java.lang.String,​java.lang.String> validator, java.util.function.Consumer<java.lang.String> consumer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void changedUpdate​(javax.swing.event.DocumentEvent e)  
      void insertUpdate​(javax.swing.event.DocumentEvent e)  
      void removeUpdate​(javax.swing.event.DocumentEvent e)  
      private void update​(javax.swing.event.DocumentEvent e)  
      • Methods inherited from class java.lang.Object

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

      • _validator

        java.util.function.Function<java.lang.String,​java.lang.String> _validator
      • _consumer

        java.util.function.Consumer<java.lang.String> _consumer
    • Constructor Detail

      • DocChangeHandler

        public DocChangeHandler​(java.util.function.Function<java.lang.String,​java.lang.String> validator,
                                java.util.function.Consumer<java.lang.String> consumer)
    • Method Detail

      • insertUpdate

        public void insertUpdate​(javax.swing.event.DocumentEvent e)
        Specified by:
        insertUpdate in interface javax.swing.event.DocumentListener
      • removeUpdate

        public void removeUpdate​(javax.swing.event.DocumentEvent e)
        Specified by:
        removeUpdate in interface javax.swing.event.DocumentListener
      • changedUpdate

        public void changedUpdate​(javax.swing.event.DocumentEvent e)
        Specified by:
        changedUpdate in interface javax.swing.event.DocumentListener
      • update

        private void update​(javax.swing.event.DocumentEvent e)