View source
class TextFieldViewPort
package feathers.controls.supportClasses
extends FeathersControl › MeasureSprite › ValidatingSprite
implements ITextControl, IViewPort
An implementation of IViewPort
for TextArea
.
Events:
openfl.events.Event.CHANGE |
---|
Available since
1.0.0
.See also:
Constructor
Variables
paddingBottom:Float
The minimum space, in pixels, between the view port's bottom edge and the text.
Available since
1.0.0
.paddingLeft:Float
The minimum space, in pixels, between the view port's left edge and the text.
Available since
1.0.0
.paddingRight:Float
The minimum space, in pixels, between the view port's right edge and the text.
Available since
1.0.0
.paddingTop:Float
The minimum space, in pixels, between the view port's top edge and the text.
Available since
1.0.0
.read onlyrequiresMeasurementOnScroll:Bool
restrict:String
Limits the set of characters that may be typed with the keyboard.
Available since
1.0.0
.textFieldType:TextFieldType
Indicates if it's a dynamic or input text field.
Available since
1.0.0
.See also:
openfl.text.TextField.type
wordWrap:Bool
Determines if the text will wrap when reaching the right edge, or if horizontal scrolling will be required.
Available since
1.0.0
.Methods
setPadding(value:Float):Void
Sets all four padding properties to the same value.
Available since
1.0.0
.See also: