Packageflashx.textLayout.elements
Interfacepublic interface IExplicitFormatResolver extends IFormatResolver

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5

Interface to a format resolver. Different from IFormatResolver, IExplicitFormatResolver allow you to set "before style" and "after style". "After Style" can override the local computedFormat explicitly, which can be fetched by calling function resolveExplicitFormat(), "Before Style" is the format returned by function resolveFormat() defined in interface IFormatResolver.

See also

TextFlow.formatResolver


Public Methods
 MethodDefined By
 Inherited
Returns the format resolver when a TextFlow is copied.
IFormatResolver
 Inherited
invalidate(target:Object):void
Invalidates cached formatting information on this element because, for example, the parent changed, or the id or the styleName changed or the typeName changed.
IFormatResolver
 Inherited
invalidateAll(textFlow:TextFlow):void
Invalidates any cached formatting information for a TextFlow so that formatting must be recomputed.
IFormatResolver
  
Given a FlowElement or ContainerController object, return any explicit format settings for it.
IExplicitFormatResolver
 Inherited
Given a FlowElement or ContainerController object, return any format settings for it.
IFormatResolver
 Inherited
resolveUserFormat(target:Object, userFormat:String):*
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.
IFormatResolver
Method Detail
resolveExplicitFormat()method
public function resolveExplicitFormat(target:Object):ITextLayoutFormat

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5

Given a FlowElement or ContainerController object, return any explicit format settings for it.

Parameters

target:Object

Returns
ITextLayoutFormat — format settings for the specified object.