프로퍼티 | 타입 | 설명 | |
---|---|---|---|
onCopy | CopyHandler | ||
onPaste | PasteHandler |
메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
InputTextField ( ) : System | ||
ReplaceSelection ( string value ) : void |
|
|
ReplaceText ( string value ) : void |
|
|
Update ( UpdateContext context ) : void |
메소드 | 설명 | |
---|---|---|
InternalRefreshObjects ( ) : void | ||
OnSizeChanged ( bool widthChanged, bool heightChanged ) : void |
메소드 | 설명 | |
---|---|---|
AdjustCaret ( |
||
ClearSelection ( ) : void | ||
CreateCaret ( ) : void | ||
DoCopy ( string value ) : void | ||
DoPaste ( ) : void | ||
EncodePasswordText ( string value ) : string | ||
GetCharLocation ( TextField cp ) : Vector2 |
获得字符的坐标。这个坐标是容器的坐标,不是文本里的坐标。
|
|
GetCharPosition ( Vector2 location ) : TextField.CharPosition |
通过本地坐标获得字符索引位置
|
|
GetCharPosition ( int caretIndex ) : TextField.CharPosition | ||
GetSelection ( ) : string | ||
MoveContent ( Vector2 delta ) : Vector2 | ||
UpdateAlternativeText ( ) : void | ||
UpdateSelection ( TextField cp ) : void | ||
ValidateInput ( string source ) : string | ||
__focusIn ( EventContext context ) : void | ||
__focusOut ( EventContext contxt ) : void | ||
__keydown ( EventContext context ) : void | ||
__touchBegin ( EventContext context ) : void | ||
__touchEnd ( EventContext context ) : void | ||
__touchMove ( EventContext context ) : void |
protected OnSizeChanged ( bool widthChanged, bool heightChanged ) : void | ||
widthChanged | bool | |
heightChanged | bool | |
리턴 | void |