IT. Expert System.

Android Reference

DialerFilter


android.widget

Class DialerFilter

    • Field Detail

      • DIGITS_AND_LETTERS

        public static final int DIGITS_AND_LETTERS
        This mode has both lines
        See Also:
        Constant Field Values
      • DIGITS_AND_LETTERS_NO_DIGITS

        public static final int DIGITS_AND_LETTERS_NO_DIGITS
        This mode is when after starting in DIGITS_AND_LETTERS mode the filter has removed all possibility of the digits matching, leaving only the letters line
        See Also:
        Constant Field Values
      • DIGITS_AND_LETTERS_NO_LETTERS

        public static final int DIGITS_AND_LETTERS_NO_LETTERS
        This mode is when after starting in DIGITS_AND_LETTERS mode the filter has removed all possibility of the letters matching, leaving only the digits line
        See Also:
        Constant Field Values
      • DIGITS_ONLY

        public static final int DIGITS_ONLY
        This mode has only the digits line
        See Also:
        Constant Field Values
      • LETTERS_ONLY

        public static final int LETTERS_ONLY
        This mode has only the letters line
        See Also:
        Constant Field Values
    • Method Detail

      • onFinishInflate

        protected void onFinishInflate()
        Description copied from class: View
        Finalize inflating a view from XML. This is called as the last phase of inflation, after all child views have been added.

        Even if the subclass overrides onFinishInflate, they should always be sure to call the super method, so that we get called.

        Overrides:
        onFinishInflate in class View
      • onFocusChanged

        protected void onFocusChanged(boolean focused,
                          int direction,
                          Rect previouslyFocusedRect)
        Only show the icon view when focused, if there is one.
        Overrides:
        onFocusChanged in class View
        Parameters:
        focused - True if the View has focus; false otherwise.
        direction - The direction focus has moved when requestFocus() is called to give this view focus. Values are View.FOCUS_UP, View.FOCUS_DOWN, View.FOCUS_LEFT, View.FOCUS_RIGHT, View.FOCUS_FORWARD, or View.FOCUS_BACKWARD. It may not always apply, in which case use the default.
        previouslyFocusedRect - The rectangle, in this view's coordinate system, of the previously focused view. If applicable, this will be passed in as finer grained information about where the focus is coming from (in addition to direction). Will be null otherwise.
      • isQwertyKeyboard

        public boolean isQwertyKeyboard()
      • onKeyDown

        public boolean onKeyDown(int keyCode,
                        KeyEvent event)
        Description copied from class: View
        Default implementation of KeyEvent.Callback.onKeyDown(): perform press of the view when KeyEvent.KEYCODE_DPAD_CENTER or KeyEvent.KEYCODE_ENTER is released, if the view is enabled and clickable.

        Key presses in software keyboards will generally NOT trigger this listener, although some may elect to do so in some situations. Do not rely on this to catch software key presses.

        Specified by:
        onKeyDown in interface KeyEvent.Callback
        Overrides:
        onKeyDown in class View
        Parameters:
        keyCode - A key code that represents the button pressed, from KeyEvent.
        event - The KeyEvent object that defines the button action.
        Returns:
        If you handled the event, return true. If you want to allow the event to be handled by the next receiver, return false.
      • onKeyUp

        public boolean onKeyUp(int keyCode,
                      KeyEvent event)
        Description copied from class: View
        Default implementation of KeyEvent.Callback.onKeyUp(): perform clicking of the view when KeyEvent.KEYCODE_DPAD_CENTER or KeyEvent.KEYCODE_ENTER is released.

        Key presses in software keyboards will generally NOT trigger this listener, although some may elect to do so in some situations. Do not rely on this to catch software key presses.

        Specified by:
        onKeyUp in interface KeyEvent.Callback
        Overrides:
        onKeyUp in class View
        Parameters:
        keyCode - A key code that represents the button pressed, from KeyEvent.
        event - The KeyEvent object that defines the button action.
        Returns:
        If you handled the event, return true. If you want to allow the event to be handled by the next receiver, return false.
      • getMode

        public int getMode()
      • setMode

        public void setMode(int newMode)
        Change the mode of the widget.
        Parameters:
        newMode - The mode to switch to.
      • append

        public void append(String text)
      • clearText

        public void clearText()
        Clears both the digits and the filter text.
      • setLettersWatcher

        public void setLettersWatcher(TextWatcher watcher)
      • setDigitsWatcher

        public void setDigitsWatcher(TextWatcher watcher)
      • setFilterWatcher

        public void setFilterWatcher(TextWatcher watcher)
      • removeFilterWatcher

        public void removeFilterWatcher(TextWatcher watcher)
      • onModeChange

        protected void onModeChange(int oldMode,
                        int newMode)
        Called right after the mode changes to give subclasses the option to restyle, etc.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 101 / 158770390. Delta: 0.12138 с