|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextInputStyle
This interface abstracts fields' ability to state virtual keyboard layout and should be implemented by a Field subclass that wants InputContext and VirtualKeyboard frameworks to set an appropriate virtual keyboard layout when the field gets the focus. Currently, implemented by the TextField.
Method Summary | ||
---|---|---|
TextFilter |
getFilter()
Gets the text filter set for this field. |
|
Locale |
getPreferredInputLocale()
Returns input locale the input must switch to while focus is in this component. |
|
int |
getTextInputStyle()
Returns text related style bits (including filter styles) |
|
boolean |
isEditable()
Determines if the field that implements this interface is editable. |
|
boolean |
isUnicodeInputAllowed()
Determines if this field allows the Unicode input. |
|
void |
updateInputStyle()
Updates text input style via input method control object. |
Method Detail |
---|
int getTextInputStyle()
boolean isUnicodeInputAllowed()
void updateInputStyle()
Can be used to update the input method with text component input preferences such as preferred repositories.
Present TextField's implementation resets value of input style.
TextFilter getFilter()
boolean isEditable()
Locale getPreferredInputLocale()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal