| Package | ru.kozlovskij.air.mobile.iOS.text.softKeyboard |
| Class | public final class SoftKeyboardDetector |
| Inheritance | SoftKeyboardDetector ru.kozlovskij.air.mobile.iOS.text.softKeyboard.EventDispatcherDisposable |
| Since : | Oct 25. 2011 |
| Property | Defined By | ||
|---|---|---|---|
| keyboardAnimationWaitingTime : int
The time for waiting completion of native keyboard animation. | SoftKeyboardDetector | ||
| relatedObject : Object [read-only]
return last related object - instance of StageText or TextField. | SoftKeyboardDetector | ||
| returnKeyLabel : String [read-only]
Returning relatedObject.returnKeyLabel if it exists and implements StageText. | SoftKeyboardDetector | ||
| softKeyboardType : String [read-only]
Returning relatedObject.softKeyboardType if it exists and implements StageText. | SoftKeyboardDetector | ||
| viewType : uint [read-only]
iOS SoftKeyboard view type. | SoftKeyboardDetector | ||
| viewTypeString : String [read-only] | SoftKeyboardDetector | ||
| Method | Defined By | ||
|---|---|---|---|
SoftKeyboardDetector(stage:Stage) | SoftKeyboardDetector | ||
dispatchEvent(event:Event):Boolean [override]
| SoftKeyboardDetector | ||
dispose():void [override] | SoftKeyboardDetector | ||
initialize():void | SoftKeyboardDetector | ||
listenStageText(field:StageText):void
This method using week reference and week keys. | SoftKeyboardDetector | ||
unlistenStageText(field:StageText):void | SoftKeyboardDetector | ||
| Method | Defined By | ||
|---|---|---|---|
globalActivityHandler(event:Event):void | SoftKeyboardDetector | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| SoftKeyboardDetector | ||||
| SoftKeyboardDetector | ||||
| SoftKeyboardDetector | ||||
| SoftKeyboardDetector | ||||
| SoftKeyboardDetector | ||||
| Only for editable instances of TextField or StageText classes. | SoftKeyboardDetector | |||
| keyboardAnimationWaitingTime | property |
keyboardAnimationWaitingTime:intThe time for waiting completion of native keyboard animation. Recommended values range: from 400 to 800. Note: The higher the value - the more stable operation of the analyzer.
public function get keyboardAnimationWaitingTime():int public function set keyboardAnimationWaitingTime(value:int):void| relatedObject | property |
relatedObject:Object [read-only] return last related object - instance of StageText or TextField.
public function get relatedObject():Object| returnKeyLabel | property |
returnKeyLabel:String [read-only] Returning relatedObject.returnKeyLabel if it exists and implements StageText. If not then will return null.
public function get returnKeyLabel():String| softKeyboardType | property |
softKeyboardType:String [read-only] Returning relatedObject.softKeyboardType if it exists and implements StageText. If not then will return null.
public function get softKeyboardType():String| viewType | property |
viewType:uint [read-only] iOS SoftKeyboard view type.
public function get viewType():uintSee also
| viewTypeString | property |
viewTypeString:String [read-only] public function get viewTypeString():String| SoftKeyboardDetector | () | Constructor |
public function SoftKeyboardDetector(stage:Stage)stage:Stage |
| dispatchEvent | () | method |
override public function dispatchEvent(event:Event):Boolean
Parameters
event:Event |
Boolean |
| dispose | () | method |
override public function dispose():void| globalActivityHandler | () | method |
protected function globalActivityHandler(event:Event):voidParameters
event:Event |
| initialize | () | method |
public function initialize():void| listenStageText | () | method |
public function listenStageText(field:StageText):voidThis method using week reference and week keys.
Parameters
field:StageText — editable instance of StageText class.
|
See also
| unlistenStageText | () | method |
public function unlistenStageText(field:StageText):void
Parameters
field:StageText — editable and already listenig instance of StageText class.
|
See also
| activateFlat | Event |
| activateSplit | Event |
| changeFlatToSplit | Event |
| changeSplitToFlat | Event |
| deactivateSoftKeyboard | Event |
| relatedObjectChange | Event |
ru.kozlovskij.air.mobile.iOS.text.softKeyboard.SoftKeyboardDetectorEventOnly for editable instances of TextField or StageText classes.