Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Interface to a format resolver. An implementation allows you to attach a styling mechanism of your choosing, such as
Flex CSS styling and named styles, to a TextFlow.
public function getResolverForNewFlow(oldFlow:TextFlow, newFlow:TextFlow):IFormatResolver
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Returns the format resolver when a TextFlow is copied.
Parameters
Returns public function invalidate(target:Object):void
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Invalidates cached formatting information on this element because, for example, the parent
changed,
or the id
or the styleName
changed or the typeName
changed.
Parameters
public function invalidateAll(textFlow:TextFlow):void
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Invalidates any cached formatting information for a TextFlow so that formatting must be recomputed.
Parameters
public function resolveFormat(target:Object):ITextLayoutFormat
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Given a FlowElement or ContainerController object, return any format settings for it.
Parameters
Returns public function resolveUserFormat(target:Object, userFormat:String):*
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Given a FlowElement or ContainerController object and the name of a format property, return the format value
or undefined
if the value is not found.
Parameters
| target:Object |
|
| userFormat:String |
Returns | * — the value of the specified format for the specified object.
|
Mon Feb 18 2013, 01:33 PM +11:00