Package | flashx.textLayout.elements |
Interface | public interface IConfiguration |
Implementors | Configuration |
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Property | Defined By | ||
---|---|---|---|
defaultLinkActiveFormat : flashx.textLayout.formats:ITextLayoutFormat [read-only]
Specifies the active character format attributes that initially apply for all links (LinkElement objects) in the text
flow. | IConfiguration | ||
defaultLinkHoverFormat : flashx.textLayout.formats:ITextLayoutFormat [read-only]
Specifies the initial character format attributes that apply to a link (LinkElement) in the text flow when
the cursor hovers over it. | IConfiguration | ||
defaultLinkNormalFormat : flashx.textLayout.formats:ITextLayoutFormat [read-only]
Specifies the initial link attributes for all LinkElement objects in the text flow. | IConfiguration | ||
defaultListMarkerFormat : IListMarkerFormat [read-only]
Specifies the active character format attributes that initially apply for all ListItems in the text
flow. | IConfiguration | ||
enableAccessibility : Boolean [read-only]
Specifies whether accessibility support is turned on or not. | IConfiguration | ||
flowComposerClass : Class [read-only] Specifies the type of flow composer to attach to a new TextFlow object by default. | IConfiguration | ||
focusedSelectionFormat : SelectionFormat [read-only]
The initial selection format (SelectionFormat) for a text flow (TextFlow) when its window has focus. | IConfiguration | ||
inactiveSelectionFormat : SelectionFormat [read-only]
The initial selection format (SelectionFormat) for a text flow (TextFlow) when its window is inactive. | IConfiguration | ||
inlineGraphicResolverFunction : Function [read-only] Specifies the callback used for resolving an inline graphic element. | IConfiguration | ||
manageEnterKey : Boolean [read-only]
Specifies whether the Enter / Return key is entered as text by Text Layout Framework, to split a paragraph for example,
or the client code handles it. | IConfiguration | ||
manageTabKey : Boolean [read-only]
Specifies whether the TAB key is entered as text by Text Layout Framework, or Flash Player or AIR handles it and
turns it into a tabbed panel event. | IConfiguration | ||
overflowPolicy : String [read-only]
Policy used for deciding whether the last line of a container fits in the container, or whether it overflows. | IConfiguration | ||
releaseLineCreationData : Boolean [read-only] Requests that the process of composing text release line creation data after composing each paragraph. | IConfiguration | ||
scrollDragDelay : Number [read-only]
Specifies a timed delay between one scroll and the next to prevent scrolling from going
too fast. | IConfiguration | ||
scrollDragPixels : Number [read-only] Specifies the default number of pixels to scroll when the user initiates auto scrolling by dragging
the selection. | IConfiguration | ||
scrollMouseWheelMultiplier : Number [read-only] Specifies the default number of pixels to scroll for Mouse wheel events. | IConfiguration | ||
scrollPagePercentage : Number [read-only]
Specifies the default percentage of the text flow to scroll for page scrolls. | IConfiguration | ||
textFlowInitialFormat : flashx.textLayout.formats:ITextLayoutFormat [read-only]
Specifies the initial format TextLayoutFormat configuration for a text flow (TextFlow object). | IConfiguration | ||
unfocusedSelectionFormat : SelectionFormat [read-only]
The initial selection format that Text Layout Framework uses to draw the selection when the window is active but none of the containers
in the TextFlow have focus. | IConfiguration |
Method | Defined By | ||
---|---|---|---|
Creates a writeable clone of the IConfiguration object. | IConfiguration |
defaultLinkActiveFormat | property |
defaultLinkActiveFormat:flashx.textLayout.formats:ITextLayoutFormat
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the active character format attributes that initially apply for all links (LinkElement objects) in the text flow. These are defaults for new LinkElement objects that don't specify values for these attributes.
Default is null
.
Implementation
public function get defaultLinkActiveFormat():flashx.textLayout.formats:ITextLayoutFormat
Related API Elements
defaultLinkHoverFormat | property |
defaultLinkHoverFormat:flashx.textLayout.formats:ITextLayoutFormat
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the initial character format attributes that apply to a link (LinkElement) in the text flow when the cursor hovers over it. These are defaults for new LinkElement objects that don't specify values for these attributes.
Default is null
.
Implementation
public function get defaultLinkHoverFormat():flashx.textLayout.formats:ITextLayoutFormat
Related API Elements
defaultLinkNormalFormat | property |
defaultLinkNormalFormat:flashx.textLayout.formats:ITextLayoutFormat
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the initial link attributes for all LinkElement objects in the text flow. These are default values for new LinkElement objects that don't specify values for these attributes. The default normal format displays the link in blue with underlining.
Implementation
public function get defaultLinkNormalFormat():flashx.textLayout.formats:ITextLayoutFormat
Related API Elements
defaultListMarkerFormat | property |
defaultListMarkerFormat:IListMarkerFormat
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the active character format attributes that initially apply for all ListItems in the text flow. These are defaults for new ListItemElements objects that don't specify values for these attributes.
Default is null
.
Implementation
public function get defaultListMarkerFormat():IListMarkerFormat
Related API Elements
enableAccessibility | property |
enableAccessibility:Boolean
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies whether accessibility support is turned on or not. If true
, screen readers can read the TextFlow contents.
Default value is false
.
Implementation
public function get enableAccessibility():Boolean
Related API Elements
flowComposerClass | property |
flowComposerClass:Class
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the type of flow composer to attach to a new TextFlow object by default. Default value is StandardFlowComposer.
Implementation
public function get flowComposerClass():Class
Related API Elements
focusedSelectionFormat | property |
focusedSelectionFormat:SelectionFormat
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The initial selection format (SelectionFormat) for a text flow (TextFlow) when its window has focus.
Text Layout Framework uses focusedSelectionFormat
to draw the selection when the window is active and one of
the containers in the TextFlow has focus. You can override this format using
SelectionManager.focusedSelectionFormat
, if desired.
The SelectionFormat class specifies the default values, which invert the color of the text and its background.
Implementation
public function get focusedSelectionFormat():SelectionFormat
Related API Elements
inactiveSelectionFormat | property |
inactiveSelectionFormat:SelectionFormat
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The initial selection format (SelectionFormat) for a text flow (TextFlow) when its window is inactive. Text Layout Framework uses
inactiveSelectionFormat
for drawing the selection when the window is inactive. You can override
this format using SelectionManager.inactiveSelectionFormat
, if desired.
If you do not override unfocusedSelectionFormat
the SelectionFormat values used are:
color = 0xffffff
(white)alpha = 0
blendMode = flash.display.BlendMode.DIFFERENCE
The result is no selection is displayed.
Implementation
public function get inactiveSelectionFormat():SelectionFormat
Related API Elements
inlineGraphicResolverFunction | property |
inlineGraphicResolverFunction:Function
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the callback used for resolving an inline graphic element.
The callback takes a flashx.textLayout.elements.InlineGraphicElement
object and returns
the value to be used as the element's flashx.textLayout.elements.InlineGraphicElement#source
.
This callback provides the mechanism to delay providing an inline graphic element's source until just before it is composed.
Note: this callback will be invoked only if a placeholder source of String type is already set. Moreover, it may be invoked multiple times.
Implementation
public function get inlineGraphicResolverFunction():Function
Related API Elements
manageEnterKey | property |
manageEnterKey:Boolean
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies whether the Enter / Return key is entered as text by Text Layout Framework, to split a paragraph for example, or the client code handles it. The client code might handle it by committing a form that has a default button for that purpose, for example.
Default value is true
.
Implementation
public function get manageEnterKey():Boolean
manageTabKey | property |
manageTabKey:Boolean
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies whether the TAB key is entered as text by Text Layout Framework, or Flash Player or AIR handles it and turns it into a tabbed panel event.
Default value is false
.
Implementation
public function get manageTabKey():Boolean
overflowPolicy | property |
overflowPolicy:String
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Policy used for deciding whether the last line of a container fits in the container, or whether it overflows. Use the constants of the OverflowPolicy class to set this property.
Default value is OverflowPolicy.FIT_DESCENDERS, which fits the line in the composition area if the area from the top to the baseline fits.
Implementation
public function get overflowPolicy():String
Related API Elements
releaseLineCreationData | property |
releaseLineCreationData:Boolean
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Requests that the process of composing text release line creation data after composing each paragraph. This request saves memory but slows down the composing process.
Default value is false
.
Implementation
public function get releaseLineCreationData():Boolean
Related API Elements
scrollDragDelay | property |
scrollDragDelay:Number
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies a timed delay between one scroll and the next to prevent scrolling from going too fast. This value specifies what the delay is in milliseconds. The default value is 35.
Implementation
public function get scrollDragDelay():Number
scrollDragPixels | property |
scrollDragPixels:Number
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the default number of pixels to scroll when the user initiates auto scrolling by dragging the selection. Default value is 20.
Implementation
public function get scrollDragPixels():Number
scrollMouseWheelMultiplier | property |
scrollPagePercentage | property |
textFlowInitialFormat | property |
textFlowInitialFormat:flashx.textLayout.formats:ITextLayoutFormat
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the initial format TextLayoutFormat configuration for a text flow (TextFlow object).
Default is null
.
Implementation
public function get textFlowInitialFormat():flashx.textLayout.formats:ITextLayoutFormat
Related API Elements
unfocusedSelectionFormat | property |
unfocusedSelectionFormat:SelectionFormat
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The initial selection format that Text Layout Framework uses to draw the selection when the window is active but none of the containers
in the TextFlow have focus. You can override this format using SelectionManager.unfocusedSelectionFormat
, if desired.
If you do not override unfocusedSelectionFormat
the SelectionFormat values used are:
color = 0xffffff
(white)alpha = 0
blendMode = flash.display.BlendMode.DIFFERENCE
The result is no selection is displayed.
Implementation
public function get unfocusedSelectionFormat():SelectionFormat
Related API Elements
clone | () | method |
public function clone():Configuration
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.2, AIR 1.5 |
Creates a writeable clone of the IConfiguration object.
ReturnsConfiguration |
Thu Dec 6 2018, 01:12 PM -08:00