Packageardisia.components.graphicsEditor.graphicObjects
Classpublic class TextGraphicObject
InheritanceTextGraphicObject Inheritance GraphicObjectBase Inheritance spark.components.Group

Graphic object used to display text in the GraphicsEditor class.

Default MXML PropertymxmlContent



Public Properties
 PropertyDefined By
  editableText : RichEditableText
Component that displays the text.
TextGraphicObject
  editingInProgress : Boolean
True if an editing session is in progress.
TextGraphicObject
  selected : Boolean
[override]
TextGraphicObject
  textFlowDirty : Boolean
True if this object's textflow has changed and an undo state should be added.
TextGraphicObject
Public Methods
 MethodDefined By
  
TextGraphicObject
 Inherited
Create a clone of the graphic object.
GraphicObjectBase
  
endEditing():void
End an editing session.
TextGraphicObject
  
Start an editing session.
TextGraphicObject
Protected Methods
 MethodDefined By
  
eventHandler(event:Event):void
Handles events for the component.
TextGraphicObject
Property Detail
editableTextproperty
public var editableText:RichEditableText

Component that displays the text.

The default value is null.

editingInProgressproperty 
public var editingInProgress:Boolean

True if an editing session is in progress.

The default value is false.

selectedproperty 
selected:Boolean[override]


Implementation
    public function get selected():Boolean
    public function set selected(value:Boolean):void
textFlowDirtyproperty 
public var textFlowDirty:Boolean

True if this object's textflow has changed and an undo state should be added.

The default value is false.

Constructor Detail
TextGraphicObject()Constructor
public function TextGraphicObject()



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

End an editing session.

eventHandler()method 
protected function eventHandler(event:Event):void

Handles events for the component.

Parameters

event:Event — Event the event that triggered the handler

startEditing()method 
public function startEditing():void

Start an editing session.