Packagecom.adobe.portfolio.components.supportClasses
Classpublic class CustomizableTextArea
InheritanceCustomizableTextArea Inheritance spark.components.TextArea
Implements IListenAndWatch
Subclasses FieldTextArea

A text area that is capable of providing both single- and multi-line behavior, as well as a context for styling text.

Default MXML Propertycontent



Public Properties
 PropertyDefined By
  allowStyling : Boolean
CustomizableTextArea
  multiline : Boolean
CustomizableTextArea
Protected Properties
 PropertyDefined By
  pendingChanges : Boolean = false
CustomizableTextArea
Public Methods
 MethodDefined By
  
CustomizableTextArea
  
CustomizableTextArea
  
CustomizableTextArea
  
CustomizableTextArea
  
CustomizableTextArea
Protected Methods
 MethodDefined By
  
[override]
CustomizableTextArea
  
onCreationComplete(event:FlexEvent):void
CustomizableTextArea
  
onTextChanged(event:TextOperationEvent):void
CustomizableTextArea
  
partAdded(partName:String, instance:Object):void
[override]
CustomizableTextArea
  
CustomizableTextArea
  
setTextDirection(textStr:String):void
CustomizableTextArea
  
CustomizableTextArea
  
CustomizableTextArea
  
CustomizableTextArea
Public Constants
 ConstantDefined By
  STATE_DISABLED : String = disabled
[static]
CustomizableTextArea
  STATE_EDITABLE : String = editable
[static]
CustomizableTextArea
  STATE_NORMAL : String = normal
[static] String literals used to represent the states of this component's skins.
CustomizableTextArea
Protected Constants
 ConstantDefined By
  collectionManager : CollectionManager
[static]
CustomizableTextArea
Property Detail
allowStylingproperty
allowStyling:Boolean

This property can be used as the source for data binding.


Implementation
    public function get allowStyling():Boolean
    public function set allowStyling(value:Boolean):void
multilineproperty 
multiline:Boolean

This property can be used as the source for data binding.


Implementation
    public function get multiline():Boolean
    public function set multiline(value:Boolean):void
pendingChangesproperty 
protected var pendingChanges:Boolean = false

Constructor Detail
CustomizableTextArea()Constructor
public function CustomizableTextArea()



Method Detail
addListenAndWatch()method
public function addListenAndWatch():void

getCurrentSkinState()method 
override protected function getCurrentSkinState():String

Returns
String
loseContext()method 
public function loseContext():void

onCreationComplete()method 
protected function onCreationComplete(event:FlexEvent):void

Parameters

event:FlexEvent

onTextChanged()method 
protected function onTextChanged(event:TextOperationEvent):void

Parameters

event:TextOperationEvent

partAdded()method 
override protected function partAdded(partName:String, instance:Object):void

Parameters

partName:String
 
instance:Object

removeListenAndWatch()method 
public function removeListenAndWatch():void

setDataFromText()method 
protected function setDataFromText():void

setTextDirection()method 
protected function setTextDirection(textStr:String):void

Parameters

textStr:String

setTextFromData()method 
protected function setTextFromData():void

shouldBeEditable()method 
protected function shouldBeEditable():Boolean

Returns
Boolean
takeContext()method 
public function takeContext():void

updateEditable()method 
protected function updateEditable():void

Constant Detail
collectionManagerConstant
protected static const collectionManager:CollectionManager

STATE_DISABLEDConstant 
public static const STATE_DISABLED:String = disabled

STATE_EDITABLEConstant 
public static const STATE_EDITABLE:String = editable

STATE_NORMALConstant 
public static const STATE_NORMAL:String = normal

String literals used to represent the states of this component's skins. XXX They should match the SkinState references above.