public class InputAttribute extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
ENTER_KEY_FLAG_FORBID_EDITOR_ACTION |
Indicates a flag of input method option, which means that when the input method is in full screen,
this operation cannot be used in any accessory button on the right side of the extracted text.
|
static int |
ENTER_KEY_FLAG_FORBID_FULLSCREEN |
Indicates a flag of input method option, which means that the input method cannot enter full screen mode.
|
static int |
ENTER_KEY_FLAG_FORBID_PERSONALIZED |
Indicates a flag of input method option, which means that no data personalization is allowed
for the input method.
|
static int |
ENTER_KEY_FLAG_FORCE_LINEFEED |
Indicates a flag of input method option, which means that the Enter button inserts a line break when
multiple lines of text are involved.
|
static int |
ENTER_KEY_FLAG_NEXT_FOCUSABLE |
Indicates a flag of input method option, which means that the current component has a focusable next
component.
|
static int |
ENTER_KEY_FLAG_ONLY_ASCII |
Indicates a flag of input method option, which means that the input method allows for ASCII characters.
|
static int |
ENTER_KEY_FLAG_PREVIOUS_FOCUSABLE |
Indicates a flag of input method option, which means that the current component has a focusable previous
component.
|
static int |
ENTER_KEY_NULL |
Indicates the generic unspecified type for input method option, which means that no Enter button type
is specified.
|
static int |
ENTER_KEY_TYPE_DONE |
Indicates an enter key type that performs a "done" motion.
|
static int |
ENTER_KEY_TYPE_GO |
Indicates an enter key type that performs a "go" motion.
|
static int |
ENTER_KEY_TYPE_MASK |
Indicates a bit mask of the operation to be performed after the user presses the Enter key.
|
static int |
ENTER_KEY_TYPE_NEXT |
Indicates an enter key type that performs a "next" motion.
|
static int |
ENTER_KEY_TYPE_NONE |
Indicates that no operation is performed.
|
static int |
ENTER_KEY_TYPE_PREVIOUS |
Indicates an enter key type that performs a "previous" motion.
|
static int |
ENTER_KEY_TYPE_SEARCH |
Indicates an enter key type that performs a "search" motion.
|
static int |
ENTER_KEY_TYPE_SEND |
Indicates an enter key type that performs a "send" motion.
|
static int |
ENTER_KEY_TYPE_UNSPECIFIED |
Indicates a common type of input enter key motion that is not specified.
|
int |
inputEnterKeyType |
Indicates the extended type of an editor for a better input method integration.
|
int |
inputPattern |
Indicates the input type of a
TextField. |
static int |
PATTERN_DATETIME |
Indicates keyboard type is the date and time pad.
|
static int |
PATTERN_DATETIME_NORMAL_TYPE |
Indicates that the type of
PATTERN_NUMBER is date and time. |
static int |
PATTERN_DATETIME_ONLY_DATE |
Indicates that the type of
PATTERN_DATETIME is date. |
static int |
PATTERN_DATETIME_ONLY_TIME |
Indicates that the type of
PATTERN_DATETIME is time. |
static int |
PATTERN_FLAGS_MASK |
Indicates a bit mask for the keyboard type flags.
|
static int |
PATTERN_MASK |
Indicates a bit mask for the text input type.
|
static int |
PATTERN_NULL |
Indicates that no keyboard type is specified, and in this case,
no keyboard is displayed by default.
|
static int |
PATTERN_NUMBER |
Indicates the keyboard type is the PIN pad.
|
static int |
PATTERN_NUMBER_DECIMAL_FLAG |
Indicates a flag of
PATTERN_NUMBER is decimal numbers. |
static int |
PATTERN_NUMBER_NORMAL_TYPE |
Indicates that the type of
PATTERN_NUMBER is number. |
static int |
PATTERN_NUMBER_PASSWORD_TYPE |
Indicates that the type of
PATTERN_NUMBER is PIN. |
static int |
PATTERN_NUMBER_SIGNED_FLAG |
Indicates a flag of
PATTERN_NUMBER is signed numbers. |
static int |
PATTERN_PASSWORD |
Indicates the keyboard type is the security keyboard.
|
static int |
PATTERN_PHONE |
Indicates the keyboard type is the phone numbers pad.
|
static int |
PATTERN_TEXT |
Indicates the keyboard type is the text keyboard.
|
static int |
PATTERN_TEXT_EMAIL_ADDRESS_TYPE |
Indicates that the type of
PATTERN_TEXT is email address. |
static int |
PATTERN_TEXT_EMAIL_SUBJECT_TYPE |
Indicates the type of
PATTERN_TEXT is email subject. |
static int |
PATTERN_TEXT_FILTER_TYPE |
Indicates that the type of
PATTERN_TEXT is filter text. |
static int |
PATTERN_TEXT_FULL_SCREEN_MULTIPLE_LINES_FLAG |
Indicates a flag of
PATTERN_TEXT, which means that multiple lines of text are allowed when
the keyboard is displayed in full screen. |
static int |
PATTERN_TEXT_LONG_MESSAGE_TYPE |
Indicates that the type of
PATTERN_TEXT is long message. |
static int |
PATTERN_TEXT_MULTIPLE_LINES_FLAG |
Indicates a flag of
PATTERN_TEXT, which means that multiple lines of text are allowed. |
static int |
PATTERN_TEXT_NORMAL_TYPE |
Indicates the default type of
PATTERN_TEXT, which is text. |
static int |
PATTERN_TEXT_PASSWORD_TYPE |
Indicates that the type of
PATTERN_TEXT is password. |
static int |
PATTERN_TEXT_PERSONAL_NAME_TYPE |
Indicates that the type of
PATTERN_TEXT is personal name. |
static int |
PATTERN_TEXT_POSTAL_ADDRESS_TYPE |
Indicates that the type of
PATTERN_TEXT is postal address. |
static int |
PATTERN_TEXT_SHORT_MESSAGE_TYPE |
Indicates that the type of
PATTERN_TEXT is short message. |
static int |
PATTERN_TEXT_TO_SPEECH_TYPE |
Indicates that the type of
PATTERN_TEXT is speech text. |
static int |
PATTERN_TEXT_UPPERCASE_CHARACTERS_FLAG |
Indicates a flag of
PATTERN_TEXT, which means that all characters are capitalized. |
static int |
PATTERN_TEXT_UPPERCASE_SENTENCES_FLAG |
Indicates a flag of
PATTERN_TEXT, which means that the first letter of each sentence is capitalized. |
static int |
PATTERN_TEXT_UPPERCASE_WORDS_FLAG |
Indicates a flag of
PATTERN_TEXT, which means that the first character of each word is capitalized. |
static int |
PATTERN_TEXT_URI_TYPE |
Indicates that the type of
PATTERN_TEXT is URI. |
static int |
PATTERN_TEXT_VISIBLE_PASSWORD_TYPE |
Indicates that the type of
PATTERN_TEXT is visible password. |
static int |
PATTERN_TEXT_WEB_CONTENT_TYPE |
Indicates that the type of
PATTERN_TEXT is web text. |
static int |
PATTERN_TEXT_WEB_EMAIL_ADDRESS_TYPE |
Indicates that the type of
PATTERN_TEXT is email address in web text. |
static int |
PATTERN_TEXT_WEB_PASSWORD_TYPE |
Indicates that the type of
PATTERN_TEXT is password in web text. |
static int |
PATTERN_TYPE_MASK |
Indicates a bit mask for the keyboard type.
|
| 构造器 | 说明 |
|---|---|
InputAttribute() |
public static final int ENTER_KEY_FLAG_FORBID_EDITOR_ACTION
public static final int ENTER_KEY_FLAG_FORBID_FULLSCREEN
public static final int ENTER_KEY_FLAG_FORBID_PERSONALIZED
public static final int ENTER_KEY_FLAG_FORCE_LINEFEED
public static final int ENTER_KEY_FLAG_NEXT_FOCUSABLE
public static final int ENTER_KEY_FLAG_ONLY_ASCII
public static final int ENTER_KEY_FLAG_PREVIOUS_FOCUSABLE
public static final int ENTER_KEY_NULL
public static final int ENTER_KEY_TYPE_DONE
public static final int ENTER_KEY_TYPE_GO
public static final int ENTER_KEY_TYPE_MASK
public static final int ENTER_KEY_TYPE_NEXT
public static final int ENTER_KEY_TYPE_NONE
public static final int ENTER_KEY_TYPE_PREVIOUS
public static final int ENTER_KEY_TYPE_SEARCH
public static final int ENTER_KEY_TYPE_SEND
public static final int ENTER_KEY_TYPE_UNSPECIFIED
public static final int PATTERN_DATETIME
public static final int PATTERN_DATETIME_NORMAL_TYPE
PATTERN_NUMBER is date and time.public static final int PATTERN_DATETIME_ONLY_DATE
PATTERN_DATETIME is date.public static final int PATTERN_DATETIME_ONLY_TIME
PATTERN_DATETIME is time.public static final int PATTERN_FLAGS_MASK
public static final int PATTERN_MASK
public static final int PATTERN_NULL
public static final int PATTERN_NUMBER
public static final int PATTERN_NUMBER_DECIMAL_FLAG
PATTERN_NUMBER is decimal numbers.public static final int PATTERN_NUMBER_NORMAL_TYPE
PATTERN_NUMBER is number.public static final int PATTERN_NUMBER_PASSWORD_TYPE
PATTERN_NUMBER is PIN.public static final int PATTERN_NUMBER_SIGNED_FLAG
PATTERN_NUMBER is signed numbers.public static final int PATTERN_PASSWORD
public static final int PATTERN_PHONE
public static final int PATTERN_TEXT
public static final int PATTERN_TEXT_EMAIL_ADDRESS_TYPE
PATTERN_TEXT is email address.public static final int PATTERN_TEXT_EMAIL_SUBJECT_TYPE
PATTERN_TEXT is email subject.public static final int PATTERN_TEXT_FILTER_TYPE
PATTERN_TEXT is filter text.public static final int PATTERN_TEXT_FULL_SCREEN_MULTIPLE_LINES_FLAG
PATTERN_TEXT, which means that multiple lines of text are allowed when
the keyboard is displayed in full screen.public static final int PATTERN_TEXT_LONG_MESSAGE_TYPE
PATTERN_TEXT is long message.public static final int PATTERN_TEXT_MULTIPLE_LINES_FLAG
PATTERN_TEXT, which means that multiple lines of text are allowed.public static final int PATTERN_TEXT_NORMAL_TYPE
PATTERN_TEXT, which is text.public static final int PATTERN_TEXT_PASSWORD_TYPE
PATTERN_TEXT is password.public static final int PATTERN_TEXT_PERSONAL_NAME_TYPE
PATTERN_TEXT is personal name.public static final int PATTERN_TEXT_POSTAL_ADDRESS_TYPE
PATTERN_TEXT is postal address.public static final int PATTERN_TEXT_SHORT_MESSAGE_TYPE
PATTERN_TEXT is short message.public static final int PATTERN_TEXT_TO_SPEECH_TYPE
PATTERN_TEXT is speech text.public static final int PATTERN_TEXT_UPPERCASE_CHARACTERS_FLAG
PATTERN_TEXT, which means that all characters are capitalized.public static final int PATTERN_TEXT_UPPERCASE_SENTENCES_FLAG
PATTERN_TEXT, which means that the first letter of each sentence is capitalized.public static final int PATTERN_TEXT_UPPERCASE_WORDS_FLAG
PATTERN_TEXT, which means that the first character of each word is capitalized.public static final int PATTERN_TEXT_URI_TYPE
PATTERN_TEXT is URI.public static final int PATTERN_TEXT_VISIBLE_PASSWORD_TYPE
PATTERN_TEXT is visible password.public static final int PATTERN_TEXT_WEB_CONTENT_TYPE
PATTERN_TEXT is web text.public static final int PATTERN_TEXT_WEB_EMAIL_ADDRESS_TYPE
PATTERN_TEXT is email address in web text.public static final int PATTERN_TEXT_WEB_PASSWORD_TYPE
PATTERN_TEXT is password in web text.public static final int PATTERN_TYPE_MASK
public int inputEnterKeyType
public int inputPattern
TextField. The bit is determined by the provided text.