NSTextInputTraits class interface

NSTextInputTraits

Implementers

Constructors

NSTextInputTraits.castFrom(ObjCObjectBase other)
Constructs a NSTextInputTraits that points to the same underlying object as other.
NSTextInputTraits.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSTextInputTraits that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
allowedWritingToolsResultOptions → ObjCProtocolMethod<NSWritingToolsResultOptions Function()>
allowedWritingToolsResultOptions
final
autocorrectionType → ObjCProtocolMethod<NSTextInputTraitType Function()>
autocorrectionType
final
dataDetectionType → ObjCProtocolMethod<NSTextInputTraitType Function()>
dataDetectionType
final
grammarCheckingType → ObjCProtocolMethod<NSTextInputTraitType Function()>
grammarCheckingType
final
inlinePredictionType → ObjCProtocolMethod<NSTextInputTraitType Function()>
inlinePredictionType
final
linkDetectionType → ObjCProtocolMethod<NSTextInputTraitType Function()>
linkDetectionType
final
mathExpressionCompletionType → ObjCProtocolMethod<NSTextInputTraitType Function()>
mathExpressionCompletionType
final
setAllowedWritingToolsResultOptions_ → ObjCProtocolListenableMethod<void Function(NSWritingToolsResultOptions)>
setAllowedWritingToolsResultOptions:
final
setAutocorrectionType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setAutocorrectionType:
final
setDataDetectionType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setDataDetectionType:
final
setGrammarCheckingType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setGrammarCheckingType:
final
setInlinePredictionType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setInlinePredictionType:
final
setLinkDetectionType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setLinkDetectionType:
final
setMathExpressionCompletionType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setMathExpressionCompletionType:
final
setSmartDashesType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setSmartDashesType:
final
setSmartInsertDeleteType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setSmartInsertDeleteType:
final
setSmartQuotesType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setSmartQuotesType:
final
setSpellCheckingType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setSpellCheckingType:
final
setTextCompletionType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setTextCompletionType:
final
setTextReplacementType_ → ObjCProtocolListenableMethod<void Function(NSTextInputTraitType)>
setTextReplacementType:
final
setWritingToolsBehavior_ → ObjCProtocolListenableMethod<void Function(NSWritingToolsBehavior)>
setWritingToolsBehavior:
final
smartDashesType → ObjCProtocolMethod<NSTextInputTraitType Function()>
smartDashesType
final
smartInsertDeleteType → ObjCProtocolMethod<NSTextInputTraitType Function()>
smartInsertDeleteType
final
smartQuotesType → ObjCProtocolMethod<NSTextInputTraitType Function()>
smartQuotesType
final
spellCheckingType → ObjCProtocolMethod<NSTextInputTraitType Function()>
spellCheckingType
final
textCompletionType → ObjCProtocolMethod<NSTextInputTraitType Function()>
textCompletionType
final
textReplacementType → ObjCProtocolMethod<NSTextInputTraitType Function()>
textReplacementType
final
writingToolsBehavior → ObjCProtocolMethod<NSWritingToolsBehavior Function()>
writingToolsBehavior
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextInputTraits protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextInputTraits protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextInputTraits protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSTextInputTraits.
implement({NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → NSTextInputTraits
Builds an object that implements the NSTextInputTraits protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → NSTextInputTraits
Builds an object that implements the NSTextInputTraits protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → NSTextInputTraits
Builds an object that implements the NSTextInputTraits protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.