Package | com.adobe.portfolio.components.supportClasses |
Class | public class SessionTextArea |
Inheritance | SessionTextArea ![]() ![]() |
Default MXML Propertycontent
See also
Property | Defined By | ||
---|---|---|---|
![]() | allowStyling : Boolean
A boolean indicating whether or not this component supports styled text. | CustomizableTextArea | |
![]() | forceMeasuredWidth : Number
The number to be used as the measuredWidth when measure() is called
for this component. | CustomizableTextArea | |
![]() | multiline : Boolean
A boolean indicating whether or not this component supports multiline text. | CustomizableTextArea | |
sessionKey : String
The key used to load and store session data for this component. | SessionTextArea |
Method | Defined By | ||
---|---|---|---|
Default constructor. | SessionTextArea | ||
![]() | addListenAndWatch():void
A function to add event listeners and change watchers required by this canvas list. | CustomizableTextArea | |
![]() | loseContext():void
Clears the property context for this text component as the current property context. | CustomizableTextArea | |
![]() | removeListenAndWatch():void
A function to clean up event listeners and change watchers required by this canvas list. | CustomizableTextArea | |
![]() | takeContext():void
Sets the property context for this text component as the current property context. | CustomizableTextArea | |
![]() | textAreaHasFocus(focusManager:IFocusManager):Boolean [static]
Return true if a TextArea component currently has focus. | CustomizableTextArea |
Method | Defined By | ||
---|---|---|---|
![]() | getCurrentSkinState():String [override]
| CustomizableTextArea | |
![]() | measure():void [override]
| CustomizableTextArea | |
![]() | onCreationComplete(event:FlexEvent):void
Event listener invoked when this component is created.. | CustomizableTextArea | |
onNavHostEvent(event:CollectionManagerEvent):void [override]
Event listener invoked on CollectionManagerEvents. | SessionTextArea | ||
onSessionDataChanged(event:SessionDataChangedEvent):void
An event listener that is called when session data for a portfolio is changed. | SessionTextArea | ||
![]() | onTextChanged(event:TextOperationEvent):void
Event listener invoked when this components text is changed by the user. | CustomizableTextArea | |
![]() | partAdded(partName:String, instance:Object):void [override]
| CustomizableTextArea | |
setDataFromText():void [override]
Updates the current session value based on the displayed text. | SessionTextArea | ||
![]() | setTextDirection(textStr:String):void
A function that is invoked when the text direction is changed. | CustomizableTextArea | |
setTextFromData():void [override]
Updates the displayed text based on the current session value. | SessionTextArea | ||
shouldBeEditable():Boolean [override]
Returns true if this component should be editable by the user. | SessionTextArea | ||
![]() | updateEditable():void
Updates the editable state of this component based on current state. | CustomizableTextArea |
To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.
sessionKey | property |
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.
public function get sessionKey():String
public function set sessionKey(value:String):void
SessionTextArea | () | Constructor |
public function SessionTextArea()
Default constructor.
onNavHostEvent | () | method |
override protected function onNavHostEvent(event:CollectionManagerEvent):void
Event listener invoked on CollectionManagerEvents.
Parameters
event:CollectionManagerEvent |
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
setDataFromText | () | method |
override protected function setDataFromText():void
Updates the current session value based on the displayed text. Applies pending text changes to the data model. Subclasses should override this function.
setTextFromData | () | method |
override protected function setTextFromData():void
Updates the displayed text based on the current session value. Updates this component's text based on the data model. Subclasses should override this function.
shouldBeEditable | () | method |
override protected function shouldBeEditable():Boolean
Returns true if this component should be editable by the user.
ReturnsBoolean |