Packagecom.adobe.portfolio.components.supportClasses
Classpublic class SessionTextArea
InheritanceSessionTextArea Inheritance CustomizableTextArea Inheritance spark.components.TextArea

A text component whose value is loaded and stored in a portfolio's session data, similar to a cookie.

Default MXML Propertycontent

See also

ICollection.getSessionData
ICollection.getSessionData


Public Properties
 PropertyDefined By
 InheritedallowStyling : Boolean
CustomizableTextArea
 Inheritedmultiline : Boolean
CustomizableTextArea
  sessionKey : String
The key used to load and store session data for this component.
SessionTextArea
Protected Properties
 PropertyDefined By
 InheritedpendingChanges : Boolean = false
CustomizableTextArea
Public Methods
 MethodDefined By
  
SessionTextArea
 Inherited
CustomizableTextArea
 Inherited
CustomizableTextArea
 Inherited
CustomizableTextArea
 Inherited
CustomizableTextArea
Protected Methods
 MethodDefined By
 Inherited
[override]
CustomizableTextArea
 Inherited
onCreationComplete(event:FlexEvent):void
CustomizableTextArea
  
[override]
SessionTextArea
  
An event listener that is called when session data for a portfolio is changed.
SessionTextArea
 Inherited
onTextChanged(event:TextOperationEvent):void
CustomizableTextArea
 Inherited
partAdded(partName:String, instance:Object):void
[override]
CustomizableTextArea
  
[override]
SessionTextArea
 Inherited
setTextDirection(textStr:String):void
CustomizableTextArea
  
[override]
SessionTextArea
  
[override]
SessionTextArea
 Inherited
CustomizableTextArea
Public Constants
 ConstantDefined By
 InheritedSTATE_DISABLED : String = disabled
[static]
CustomizableTextArea
 InheritedSTATE_EDITABLE : String = editable
[static]
CustomizableTextArea
 InheritedSTATE_NORMAL : String = normal
[static] String literals used to represent the states of this component's skins.
CustomizableTextArea
Protected Constants
 ConstantDefined By
 InheritedcollectionManager : CollectionManager
[static]
CustomizableTextArea
Property Detail
sessionKeyproperty
sessionKey:String

The key used to load and store session data for this component.

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


Implementation
    public function get sessionKey():String
    public function set sessionKey(value:String):void
Constructor Detail
SessionTextArea()Constructor
public function SessionTextArea()



Method Detail
onNavHostEvent()method
override protected function onNavHostEvent(event:NavHostEvent):void

Parameters

event:NavHostEvent

onSessionDataChanged()method 
protected function onSessionDataChanged(event:SessionDataChangedEvent):void

An event listener that is called when session data for a portfolio is changed.

Parameters

event:SessionDataChangedEvent

See also

ICollection.setSessionData
SessionDataChangedEvent
setDataFromText()method 
override protected function setDataFromText():void

setTextFromData()method 
override protected function setTextFromData():void

shouldBeEditable()method 
override protected function shouldBeEditable():Boolean

Returns
Boolean