Class DoTypeProcessor

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private boolean acceptChar​(char ch)  
      private static void add​(java.lang.StringBuilder newValue, char c, int selectionStart, int selectionEnd)  
      private static void add​(java.lang.StringBuilder newValue, java.lang.String string, int selectionStart, int selectionEnd)  
      (package private) void doType​(java.lang.String currentValue, SelectionDelegate selectionDelegate, char c, HtmlElement element, boolean lastType)  
      (package private) void doType​(java.lang.String currentValue, SelectionDelegate selectionDelegate, int keyCode, HtmlElement element, boolean lastType)  
      private void typeDone​(java.lang.String newValue, boolean notifyAttributeChangeListeners)  
      • Methods inherited from class java.lang.Object

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

      • SPECIAL_KEYS_MAP_

        private static final java.util.Map<java.lang.Integer,​java.lang.Character> SPECIAL_KEYS_MAP_
    • Constructor Detail

      • DoTypeProcessor

        DoTypeProcessor​(DomNode domNode)
    • Method Detail

      • doType

        void doType​(java.lang.String currentValue,
                    SelectionDelegate selectionDelegate,
                    char c,
                    HtmlElement element,
                    boolean lastType)
      • add

        private static void add​(java.lang.StringBuilder newValue,
                                char c,
                                int selectionStart,
                                int selectionEnd)
      • add

        private static void add​(java.lang.StringBuilder newValue,
                                java.lang.String string,
                                int selectionStart,
                                int selectionEnd)
      • typeDone

        private void typeDone​(java.lang.String newValue,
                              boolean notifyAttributeChangeListeners)
      • acceptChar

        private boolean acceptChar​(char ch)
      • doType

        void doType​(java.lang.String currentValue,
                    SelectionDelegate selectionDelegate,
                    int keyCode,
                    HtmlElement element,
                    boolean lastType)