適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: AIR 30.0 和更早版本, Flash Player 30.0 和更早版本, Flash Lite 4
Flex 4.6 和更早版本, Flash Pro CS6 和更早版本
隱藏篩選
flashx.textLayout.container 

TextContainerManager  - AS3

套件x

最上層
adobe.utils
air.desktop
air.net
air.update
air.update.events
coldfusion.air
coldfusion.air.errors
coldfusion.air.events
coldfusion.service
coldfusion.service.events
coldfusion.service.mxml
com.adobe.acm.solutions.authoring.domain.extensions
com.adobe.acm.solutions.ccr.domain.extensions
com.adobe.consulting.pst.vo
com.adobe.dct.component
com.adobe.dct.component.datadictionary
com.adobe.dct.component.datadictionaryElement
com.adobe.dct.component.dataElementsPanel
com.adobe.dct.component.toolbars
com.adobe.dct.event
com.adobe.dct.exp
com.adobe.dct.model
com.adobe.dct.service
com.adobe.dct.service.provider
com.adobe.dct.transfer
com.adobe.dct.util
com.adobe.dct.view
com.adobe.ep.taskmanagement.domain
com.adobe.ep.taskmanagement.event
com.adobe.ep.taskmanagement.filter
com.adobe.ep.taskmanagement.services
com.adobe.ep.taskmanagement.util
com.adobe.ep.ux.attachmentlist.component
com.adobe.ep.ux.attachmentlist.domain
com.adobe.ep.ux.attachmentlist.domain.events
com.adobe.ep.ux.attachmentlist.domain.renderers
com.adobe.ep.ux.attachmentlist.skin
com.adobe.ep.ux.attachmentlist.skin.renderers
com.adobe.ep.ux.content.event
com.adobe.ep.ux.content.factory
com.adobe.ep.ux.content.handlers
com.adobe.ep.ux.content.managers
com.adobe.ep.ux.content.model.asset
com.adobe.ep.ux.content.model.preview
com.adobe.ep.ux.content.model.relation
com.adobe.ep.ux.content.model.search
com.adobe.ep.ux.content.model.toolbar
com.adobe.ep.ux.content.search
com.adobe.ep.ux.content.services
com.adobe.ep.ux.content.services.load
com.adobe.ep.ux.content.services.permissions
com.adobe.ep.ux.content.services.preview
com.adobe.ep.ux.content.services.providers
com.adobe.ep.ux.content.services.query
com.adobe.ep.ux.content.services.relationships
com.adobe.ep.ux.content.services.search.lccontent
com.adobe.ep.ux.content.services.version
com.adobe.ep.ux.content.view
com.adobe.ep.ux.content.view.components.activate
com.adobe.ep.ux.content.view.components.grid
com.adobe.ep.ux.content.view.components.grid.hover
com.adobe.ep.ux.content.view.components.grid.hover.component
com.adobe.ep.ux.content.view.components.grid.renderers
com.adobe.ep.ux.content.view.components.relationships
com.adobe.ep.ux.content.view.components.review
com.adobe.ep.ux.content.view.components.search.renderers
com.adobe.ep.ux.content.view.components.searchpod
com.adobe.ep.ux.content.view.components.toolbar
com.adobe.ep.ux.content.view.components.toolbar.controlRenderers
com.adobe.ep.ux.content.view.components.version
com.adobe.ep.ux.documentsubmit.component
com.adobe.ep.ux.documentsubmit.domain
com.adobe.ep.ux.documentsubmit.skin
com.adobe.ep.ux.taskaction.component
com.adobe.ep.ux.taskaction.domain
com.adobe.ep.ux.taskaction.domain.events
com.adobe.ep.ux.taskaction.skin
com.adobe.ep.ux.taskdetails.component
com.adobe.ep.ux.taskdetails.domain
com.adobe.ep.ux.taskdetails.skin
com.adobe.ep.ux.tasklist.component
com.adobe.ep.ux.tasklist.domain
com.adobe.ep.ux.tasklist.skin
com.adobe.ep.ux.webdocumentviewer.domain
com.adobe.exm.expression
com.adobe.exm.expression.error
com.adobe.exm.expression.event
com.adobe.exm.expression.impl
com.adobe.fiber.runtime.lib
com.adobe.fiber.services
com.adobe.fiber.services.wrapper
com.adobe.fiber.styles
com.adobe.fiber.util
com.adobe.fiber.valueobjects
com.adobe.gravity.binding
com.adobe.gravity.context
com.adobe.gravity.flex.bundleloader
com.adobe.gravity.flex.progress
com.adobe.gravity.flex.serviceloader
com.adobe.gravity.framework
com.adobe.gravity.init
com.adobe.gravity.service.bundleloader
com.adobe.gravity.service.logging
com.adobe.gravity.service.manifest
com.adobe.gravity.service.progress
com.adobe.gravity.tracker
com.adobe.gravity.ui
com.adobe.gravity.utility
com.adobe.gravity.utility.async
com.adobe.gravity.utility.error
com.adobe.gravity.utility.events
com.adobe.gravity.utility.factory
com.adobe.gravity.utility.flex.async
com.adobe.gravity.utility.logging
com.adobe.gravity.utility.message
com.adobe.gravity.utility.sequence
com.adobe.gravity.utility.url
com.adobe.guides.control
com.adobe.guides.domain
com.adobe.guides.i18n
com.adobe.guides.spark.components.skins
com.adobe.guides.spark.components.skins.mx
com.adobe.guides.spark.headers.components
com.adobe.guides.spark.headers.skins
com.adobe.guides.spark.layouts.components
com.adobe.guides.spark.layouts.skins
com.adobe.guides.spark.navigators.components
com.adobe.guides.spark.navigators.renderers
com.adobe.guides.spark.navigators.skins
com.adobe.guides.spark.util
com.adobe.guides.spark.wrappers.components
com.adobe.guides.spark.wrappers.skins
com.adobe.guides.submit
com.adobe.icc.dc.domain
com.adobe.icc.dc.domain.factory
com.adobe.icc.editors.events
com.adobe.icc.editors.handlers
com.adobe.icc.editors.managers
com.adobe.icc.editors.model
com.adobe.icc.editors.model.config
com.adobe.icc.editors.model.el
com.adobe.icc.editors.model.el.operands
com.adobe.icc.editors.model.el.operators
com.adobe.icc.enum
com.adobe.icc.external.dc
com.adobe.icc.obj
com.adobe.icc.services
com.adobe.icc.services.category
com.adobe.icc.services.config
com.adobe.icc.services.download
com.adobe.icc.services.export
com.adobe.icc.services.external
com.adobe.icc.services.formbridge
com.adobe.icc.services.fragmentlayout
com.adobe.icc.services.layout
com.adobe.icc.services.letter
com.adobe.icc.services.locator
com.adobe.icc.services.module
com.adobe.icc.services.render
com.adobe.icc.services.submit
com.adobe.icc.services.user
com.adobe.icc.token
com.adobe.icc.vo
com.adobe.icc.vo.render
com.adobe.icomm.assetplacement.controller
com.adobe.icomm.assetplacement.controller.utils
com.adobe.icomm.assetplacement.data
com.adobe.icomm.assetplacement.model
com.adobe.livecycle.assetmanager.client
com.adobe.livecycle.assetmanager.client.event
com.adobe.livecycle.assetmanager.client.handler
com.adobe.livecycle.assetmanager.client.managers
com.adobe.livecycle.assetmanager.client.model
com.adobe.livecycle.assetmanager.client.model.cms
com.adobe.livecycle.assetmanager.client.service
com.adobe.livecycle.assetmanager.client.service.search
com.adobe.livecycle.assetmanager.client.service.search.cms
com.adobe.livecycle.assetmanager.client.utils
com.adobe.livecycle.content
com.adobe.livecycle.rca.model
com.adobe.livecycle.rca.model.constant
com.adobe.livecycle.rca.model.document
com.adobe.livecycle.rca.model.participant
com.adobe.livecycle.rca.model.reminder
com.adobe.livecycle.rca.model.stage
com.adobe.livecycle.rca.service
com.adobe.livecycle.rca.service.core
com.adobe.livecycle.rca.service.core.delegate
com.adobe.livecycle.rca.service.process
com.adobe.livecycle.rca.service.process.delegate
com.adobe.livecycle.rca.token
com.adobe.livecycle.ria.security.api
com.adobe.livecycle.ria.security.service
com.adobe.mosaic.layouts
com.adobe.mosaic.layouts.dragAndDrop
com.adobe.mosaic.layouts.interfaces
com.adobe.mosaic.mxml
com.adobe.mosaic.om.constants
com.adobe.mosaic.om.events
com.adobe.mosaic.om.impl
com.adobe.mosaic.om.interfaces
com.adobe.mosaic.skinning
com.adobe.mosaic.sparklib.editors
com.adobe.mosaic.sparklib.optionMenu
com.adobe.mosaic.sparklib.scrollableMenu
com.adobe.mosaic.sparklib.scrollableMenu.skins
com.adobe.mosaic.sparklib.tabLayout
com.adobe.mosaic.sparklib.tabLayout.events
com.adobe.mosaic.sparklib.tabLayout.layouts
com.adobe.mosaic.sparklib.tabLayout.skins
com.adobe.mosaic.sparklib.text
com.adobe.mosaic.sparklib.util
com.adobe.solutions.acm.authoring.presentation
com.adobe.solutions.acm.authoring.presentation.actionbar
com.adobe.solutions.acm.authoring.presentation.common
com.adobe.solutions.acm.authoring.presentation.events
com.adobe.solutions.acm.authoring.presentation.fragment
com.adobe.solutions.acm.authoring.presentation.letter
com.adobe.solutions.acm.authoring.presentation.letter.data
com.adobe.solutions.acm.authoring.presentation.preview
com.adobe.solutions.acm.authoring.presentation.rte
com.adobe.solutions.acm.ccr.presentation
com.adobe.solutions.acm.ccr.presentation.contentcapture
com.adobe.solutions.acm.ccr.presentation.contentcapture.events
com.adobe.solutions.acm.ccr.presentation.contentcapture.preview
com.adobe.solutions.acm.ccr.presentation.datacapture
com.adobe.solutions.acm.ccr.presentation.datacapture.renderers
com.adobe.solutions.acm.ccr.presentation.pdf
com.adobe.solutions.exm
com.adobe.solutions.exm.authoring
com.adobe.solutions.exm.authoring.components.controls
com.adobe.solutions.exm.authoring.components.toolbars
com.adobe.solutions.exm.authoring.domain
com.adobe.solutions.exm.authoring.domain.expression
com.adobe.solutions.exm.authoring.domain.impl
com.adobe.solutions.exm.authoring.domain.method
com.adobe.solutions.exm.authoring.domain.variable
com.adobe.solutions.exm.authoring.enum
com.adobe.solutions.exm.authoring.events
com.adobe.solutions.exm.authoring.model
com.adobe.solutions.exm.authoring.renderer
com.adobe.solutions.exm.authoring.view
com.adobe.solutions.exm.expression
com.adobe.solutions.exm.impl
com.adobe.solutions.exm.impl.method
com.adobe.solutions.exm.method
com.adobe.solutions.exm.mock
com.adobe.solutions.exm.mock.method
com.adobe.solutions.exm.runtime
com.adobe.solutions.exm.runtime.impl
com.adobe.solutions.exm.variable
com.adobe.solutions.prm.constant
com.adobe.solutions.prm.domain
com.adobe.solutions.prm.domain.factory
com.adobe.solutions.prm.domain.impl
com.adobe.solutions.prm.domain.manager
com.adobe.solutions.prm.presentation.asset
com.adobe.solutions.prm.presentation.constant
com.adobe.solutions.prm.presentation.document
com.adobe.solutions.prm.presentation.event
com.adobe.solutions.prm.presentation.file
com.adobe.solutions.prm.presentation.project
com.adobe.solutions.prm.presentation.team
com.adobe.solutions.prm.presentation.util
com.adobe.solutions.prm.service
com.adobe.solutions.prm.services.impl
com.adobe.solutions.prm.vo
com.adobe.solutions.rca.constant
com.adobe.solutions.rca.domain
com.adobe.solutions.rca.domain.common
com.adobe.solutions.rca.domain.factory
com.adobe.solutions.rca.domain.impl
com.adobe.solutions.rca.domain.impl.manager
com.adobe.solutions.rca.domain.manager
com.adobe.solutions.rca.presentation
com.adobe.solutions.rca.presentation.comment
com.adobe.solutions.rca.presentation.constant
com.adobe.solutions.rca.presentation.event
com.adobe.solutions.rca.presentation.gantt
com.adobe.solutions.rca.presentation.gantt.ruler
com.adobe.solutions.rca.presentation.template
com.adobe.solutions.rca.presentation.template.audit
com.adobe.solutions.rca.presentation.template.definition
com.adobe.solutions.rca.presentation.template.documents
com.adobe.solutions.rca.presentation.template.stages
com.adobe.solutions.rca.presentation.util
com.adobe.solutions.rca.service
com.adobe.solutions.rca.services.impl
com.adobe.solutions.rca.vo
com.adobe.solutions.rca.vo.um
com.adobe.viewsource
fl.accessibility
fl.containers
fl.controls
fl.controls.dataGridClasses
fl.controls.listClasses
fl.controls.progressBarClasses
fl.core
fl.data
fl.display
fl.events
fl.ik
fl.lang
fl.livepreview
fl.managers
fl.motion
fl.motion.easing
fl.rsl
fl.text
fl.transitions
fl.transitions.easing
fl.video
flash.accessibility
flash.concurrent
flash.crypto
flash.data
flash.desktop
flash.display
flash.display3D
flash.display3D.textures
flash.errors
flash.events
flash.external
flash.filesystem
flash.filters
flash.geom
flash.globalization
flash.html
flash.media
flash.net
flash.net.dns
flash.net.drm
flash.notifications
flash.permissions
flash.printing
flash.profiler
flash.sampler
flash.security
flash.sensors
flash.system
flash.text
flash.text.engine
flash.text.ime
flash.ui
flash.utils
flash.xml
flashx.textLayout
flashx.textLayout.compose
flashx.textLayout.container
flashx.textLayout.conversion
flashx.textLayout.edit
flashx.textLayout.elements
flashx.textLayout.events
flashx.textLayout.factory
flashx.textLayout.formats
flashx.textLayout.operations
flashx.textLayout.utils
flashx.undo
ga.controls
ga.layouts
ga.model
ga.uiComponents
ga.util
ga.views
ga.wrappers
lc.foundation
lc.foundation.domain
lc.foundation.events
lc.foundation.ui
lc.foundation.util
lc.preloader
lc.procmgmt
lc.procmgmt.commands
lc.procmgmt.domain
lc.procmgmt.events
lc.procmgmt.formbridge
lc.procmgmt.impl
lc.procmgmt.ui.attachments
lc.procmgmt.ui.controls
lc.procmgmt.ui.controls.card
lc.procmgmt.ui.controls.renderer
lc.procmgmt.ui.help
lc.procmgmt.ui.layout
lc.procmgmt.ui.presentationmodel
lc.procmgmt.ui.process
lc.procmgmt.ui.search
lc.procmgmt.ui.startpoint
lc.procmgmt.ui.task
lc.procmgmt.ui.task.form
lc.procmgmt.ui.task.form.commands
lc.procmgmt.ui.tracking
mx.accessibility
mx.automation
mx.automation.air
mx.automation.delegates
mx.automation.delegates.advancedDataGrid
mx.automation.delegates.charts
mx.automation.delegates.containers
mx.automation.delegates.controls
mx.automation.delegates.controls.dataGridClasses
mx.automation.delegates.controls.fileSystemClasses
mx.automation.delegates.core
mx.automation.delegates.flashflexkit
mx.automation.events
mx.binding
mx.binding.utils
mx.charts
mx.charts.chartClasses
mx.charts.effects
mx.charts.effects.effectClasses
mx.charts.events
mx.charts.renderers
mx.charts.series
mx.charts.series.items
mx.charts.series.renderData
mx.charts.styles
mx.collections
mx.collections.errors
mx.containers
mx.containers.accordionClasses
mx.containers.dividedBoxClasses
mx.containers.errors
mx.containers.utilityClasses
mx.controls
mx.controls.advancedDataGridClasses
mx.controls.dataGridClasses
mx.controls.listClasses
mx.controls.menuClasses
mx.controls.olapDataGridClasses
mx.controls.scrollClasses
mx.controls.sliderClasses
mx.controls.textClasses
mx.controls.treeClasses
mx.controls.videoClasses
mx.core
mx.core.windowClasses
mx.data
mx.data.crypto
mx.data.errors
mx.data.events
mx.data.messages
mx.data.mxml
mx.data.offline.errors
mx.data.utils
mx.effects
mx.effects.easing
mx.effects.effectClasses
mx.events
mx.filters
mx.flash
mx.formatters
mx.geom
mx.graphics
mx.graphics.codec
mx.graphics.shaderClasses
mx.logging
mx.logging.errors
mx.logging.targets
mx.managers
mx.messaging
mx.messaging.channels
mx.messaging.config
mx.messaging.errors
mx.messaging.events
mx.messaging.management
mx.messaging.messages
mx.modules
mx.netmon
mx.olap
mx.olap.aggregators
mx.preloaders
mx.printing
mx.resources
mx.rpc
mx.rpc.events
mx.rpc.http
mx.rpc.http.mxml
mx.rpc.livecycle
mx.rpc.mxml
mx.rpc.remoting
mx.rpc.remoting.mxml
mx.rpc.soap
mx.rpc.soap.mxml
mx.rpc.wsdl
mx.rpc.xml
mx.skins
mx.skins.halo
mx.skins.spark
mx.skins.wireframe
mx.skins.wireframe.windowChrome
mx.states
mx.styles
mx.utils
mx.validators
org.osmf.containers
org.osmf.display
org.osmf.elements
org.osmf.events
org.osmf.layout
org.osmf.logging
org.osmf.media
org.osmf.metadata
org.osmf.net
org.osmf.net.dvr
org.osmf.net.httpstreaming
org.osmf.net.metrics
org.osmf.net.qos
org.osmf.net.rtmpstreaming
org.osmf.net.rules
org.osmf.traits
org.osmf.utils
spark.accessibility
spark.automation.delegates
spark.automation.delegates.components
spark.automation.delegates.components.gridClasses
spark.automation.delegates.components.mediaClasses
spark.automation.delegates.components.supportClasses
spark.automation.delegates.skins.spark
spark.automation.events
spark.collections
spark.components
spark.components.calendarClasses
spark.components.gridClasses
spark.components.mediaClasses
spark.components.supportClasses
spark.components.windowClasses
spark.core
spark.effects
spark.effects.animation
spark.effects.easing
spark.effects.interpolation
spark.effects.supportClasses
spark.events
spark.filters
spark.formatters
spark.formatters.supportClasses
spark.globalization
spark.globalization.supportClasses
spark.layouts
spark.layouts.supportClasses
spark.managers
spark.modules
spark.preloaders
spark.primitives
spark.primitives.supportClasses
spark.skins
spark.skins.mobile
spark.skins.mobile.supportClasses
spark.skins.spark
spark.skins.spark.mediaClasses.fullScreen
spark.skins.spark.mediaClasses.normal
spark.skins.spark.windowChrome
spark.skins.wireframe
spark.skins.wireframe.mediaClasses
spark.skins.wireframe.mediaClasses.fullScreen
spark.transitions
spark.utils
spark.validators
spark.validators.supportClasses
xd.core.axm.enterprise.view.components
xd.core.axm.enterprise.view.skins
xd.core.axm.view.components
xd.core.axm.view.components.support

語言元素

全域常數
全域函數
運算子
陳述式、關鍵字和指令
特殊類型

附錄

新增內容
編譯器錯誤
編譯器警告
執行階段錯誤
移轉至 ActionScript 3
支援的字元集
僅限 MXML 標籤
移動 XML 元素
Timed Text 標籤
不建議元素清單
AccessibilityImplementation 常數
如何使用 ActionScript 範例
法律聲明
套件flashx.textLayout.container
類別public class TextContainerManager
繼承TextContainerManager Inheritance EventDispatcher Inheritance Object
實作 ISWFContext, IInteractionEventHandler, ISandboxSupport

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

管理容器中的文字。假設其管理容器的所有子系。請考慮使用 TextContainerManager 以獲得較佳的效能,以避免每個 TextFlow 各有一個容器,而 TextFlow 卻不是主焦點、是靜態文字或不經常選取。例如,非常適用於表單欄位中的文字。

相關 API 元素



公用屬性
 屬性定義自
  compositionHeight : Number
傳回容器內的文字允許的垂直範圍。
TextContainerManager
  compositionWidth : Number
傳回容器內的文字允許的水平範圍。
TextContainerManager
  configuration : IConfiguration
[唯讀] 此 TextContainerManager 的 Configuration 物件。
TextContainerManager
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
  container : Sprite
[唯讀] 傳回容器 (DisplayObjectContainer),其保存此 TextContainerManager 管理的文字。
TextContainerManager
  defaultConfiguration : IConfiguration
[靜態] [唯讀] 此 TextContainerManager 的預設組態。
TextContainerManager
  editingMode : String
此 TextContainerManager 的編輯模式。
TextContainerManager
  horizontalScrollPolicy : String
當容器邊界填滿後,控制 factory 是否產生所有文字行或停駐點。 指定水平捲動原則,可指定下列 ScrollPolicy 類別常數之一:ON、OFF 或 AUTO。
TextContainerManager
  horizontalScrollPosition : Number
指定舞台上目前的水平捲動位置。
TextContainerManager
  hostFormat : flashx.textLayout.formats:ITextLayoutFormat
設定只顯示一個字串時的格式。
TextContainerManager
  numLines : int
[唯讀] 撰寫於流排中的總行數。
TextContainerManager
  swfContext : ISWFContext
在適當的 SWF 內容中,需要用於建立 FTE 呼叫的選用 ISWFContext 實體。
TextContainerManager
  verticalScrollPolicy : String
當容器邊界填滿後,控制 factory 是否產生所有文字行或停駐點。 指定垂直捲動原則,可指定下列 ScrollPolicy 類別常數之一:ON、OFF 或 AUTO。
TextContainerManager
  verticalScrollPosition : Number
指定舞台上目前的垂直捲動位置。
TextContainerManager
公用方法
 方法定義自
  
TextContainerManager(container:Sprite, configuration:IConfiguration = null)
建構函數 - 建立 TextContainerManager 實體。
TextContainerManager
  
當用戶端管理事件時,處理 Event.ACTIVATE 事件
TextContainerManager
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。
EventDispatcher
  
傳回目前的 ISelectionManager 實體。
TextContainerManager
  
呼叫時要求用戶端從安全執行程序之外開始轉送 mouseup 與 mousemove 事件。
TextContainerManager
  
撰寫容器文字;呼叫 factory 或 updateAllControllers()。
TextContainerManager
  
當用戶端管理事件時,處理 Event.DEACTIVATE 事件。
TextContainerManager
 Inherited
會將事件傳送到事件流程。
EventDispatcher
  
如果其已填入容器的 scrollRect 屬性,則傳回 true。
TextContainerManager
  
當用戶端管理事件時,處理編輯事件 (CUT、COPY、PASTE、SELECT_ALL)。
TextContainerManager
  
終止互動。
TextContainerManager
  
呼叫時通知用戶端不再需要從安全執行程序之外轉送 mouseup 與 mousemove 事件。
TextContainerManager
  
當用戶端管理事件時,處理 FocusEvent.KEY_FOCUS_CHANGE 與 FocusEvent.MOUSE_FOCUS_CHANGE 事件。
TextContainerManager
  
處理 focusIn 事件。
TextContainerManager
  
當用戶端管理事件時,處理 FocusEvent.FOCUS_OUT 事件。
TextContainerManager
  
建立一個矩形,顯示最後一個 compose() 方法或 updateContainer() 方法的呼叫置放文字的位置。
TextContainerManager
  
從撰寫的文字行陣列傳回索引的 TextLine。
TextContainerManager
  
了解往上或往下捲動指定的行數時所需的捲動距離。
TextContainerManager
  
getText(separator:String = "
"):String
傳回目前做為段落間分隔符號的文字。
TextContainerManager
  
目前的 TextFlow。
TextContainerManager
 Inherited
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。
EventDispatcher
 Inherited
指出物件是否有已定義的指定屬性。
Object
  
當用戶端管理事件時,處理 IME_START_COMPOSITION 事件。
TextContainerManager
  
如果您變更選取範圍格式 (SelectionFormat),並想更新 interactionManager,請呼叫此方法。
TextContainerManager
  
如果您正在編輯,並想重設還原管理員以用於編輯,請呼叫此方法。
TextContainerManager
  
如果內容需要撰寫,則傳回 true。
TextContainerManager
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
  
當用戶端管理事件時,處理 KeyboardEvent.KEY_DOWN 事件。
TextContainerManager
  
當用戶端管理事件時,處理 FocusEvent.KEY_FOCUS_CHANGE 事件。
TextContainerManager
  
當用戶端管理事件時,處理 Keyboard.KEY_UP 事件。
TextContainerManager
  
當用戶端管理事件時,處理 ContextMenuEvent.MENU_SELECT 事件。
TextContainerManager
  
當用戶端管理事件時,處理 MouseEvent.DOUBLE_CLICK 事件。
TextContainerManager
  
當用戶端管理事件時,處理 MouseEvent.MOUSE_DOWN 事件。
TextContainerManager
  
當用戶端管理事件時,處理 MouseEvent.MOUSE_MOVE 事件。
TextContainerManager
  
從安全執行程序之外轉送 mouseMove 事件的用戶端呼叫。
TextContainerManager
  
當用戶端管理事件時,處理 MouseEvent.MOUSE_OUT 事件。
TextContainerManager
  
處理 mouseOver 事件。
TextContainerManager
  
當用戶端管理事件時,處理 MouseEvent.MOUSE_UP 事件。
TextContainerManager
  
從安全執行程序之外轉送 mouseUp 事件的用戶端呼叫。
TextContainerManager
  
當用戶端管理事件時,處理 MouseEvent.MOUSE_WHEEL 事件。
TextContainerManager
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
會從 EventDispatcher 物件移除偵聽程式。
EventDispatcher
  
TextContainerManager
  
scrollToRange(activePosition:int, anchorPosition:int):void
捲動以讓文字範圍顯示在容器中。
TextContainerManager
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
  
將 text 屬性設定為指定字串。
TextContainerManager
  
將 TextFlow 設定至此 TextContainerManager會取代任何現有的 TextFlow 並放棄目前的文字。
TextContainerManager
  
當用戶端管理事件時,處理 SOFT_KEYBOARD_ACTIVATING 事件。
TextContainerManager
  
當用戶端管理事件時,處理 TextEvent.TEXT_INPUT 事件。
TextContainerManager
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
  
更新顯示;呼叫 factory 或 updateAllControllers()。
TextContainerManager
 Inherited
會傳回指定之物件的基本值。
Object
 Inherited
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。
EventDispatcher
保護方法
 方法定義自
  
為 TextContainerManager 建立 ContextMenu。
TextContainerManager
  
建立編輯管理員以用於編輯。
TextContainerManager
  
建立選取範圍管理員以用於選取範圍。
TextContainerManager
  
傳回 focusedSelectionFormat - 預設會從組態中取得。
TextContainerManager
  
傳回 inactiveSelectionFormat - 預設會從組態中取得。可以在子類別中將其覆寫,以提供不同的 SelectionFormat。
TextContainerManager
  
傳回要使用的還原管理員。
TextContainerManager
  
傳回 unfocusedSelectionFormat - 預設會從組態中取得。您可以在子類別中覆寫此方法,以提供不同的 SelectionFormat。
TextContainerManager
事件
 事件 摘要 定義自
 Inherited[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。EventDispatcher
  按一下任一連結後發送。TextContainerManager
  每次重新撰寫之後發送。TextContainerManager
  每次損毀之後,由 TextFlow 物件發送。TextContainerManager
 Inherited[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。EventDispatcher
   定義 flowOperationBegin 事件物件的 type 屬性值。TextContainerManager
   定義 flowOperationComplete 事件物件的 type 屬性值。TextContainerManager
   定義 flowOperationEnd 事件物件的 type 屬性值。TextContainerManager
  因寬度或高度的 auto 或百分比設定而調整 InlineGraphicElement 的大小時,在圖形完成載入後發送。TextContainerManager
  在任何連結按下滑鼠時發送。TextContainerManager
  在滑鼠滑過任何連結時發送。TextContainerManager
  在任何連結上放開滑鼠時發送。TextContainerManager
  當滑鼠移出任何連結時發出。TextContainerManager
  當滑鼠第一次進入任何連結時發送。TextContainerManager
  在控制器容器內捲動文字之後,由 TextFlow 物件發送。TextContainerManager
  只要選取範圍變更就發送。TextContainerManager
  每次容器因撰寫而新增或更新 DisplayObject 時,由 TextFlow 物件發送。TextContainerManager
屬性詳細資訊

compositionHeight

屬性
compositionHeight:Number

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

傳回容器內的文字允許的垂直範圍。指定的值是以像素為單位。

設定此屬性之後,容器中的文字會損毀並需要撰寫。



實作
    public function get compositionHeight():Number
    public function set compositionHeight(value:Number):void

compositionWidth

屬性 
compositionWidth:Number

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

傳回容器內的文字允許的水平範圍。指定的值是以像素為單位。

設定此屬性之後,容器中的文字會損毀並需要撰寫。



實作
    public function get compositionWidth():Number
    public function set compositionWidth(value:Number):void

configuration

屬性 
configuration:IConfiguration  [唯讀]

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

此 TextContainerManager 的 Configuration 物件。



實作
    public function get configuration():IConfiguration

相關 API 元素

IConfiguration

container

屬性 
container:Sprite  [唯讀]

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

傳回容器 (DisplayObjectContainer),其保存此 TextContainerManager 管理的文字。



實作
    public function get container():Sprite

相關 API 元素

defaultConfiguration

屬性 
defaultConfiguration:IConfiguration  [唯讀]

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

此 TextContainerManager 的預設組態。直欄與邊框距離設定為 FormatValue.INHERIT



實作
    public static function get defaultConfiguration():IConfiguration

相關 API 元素

editingMode

屬性 
editingMode:String

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

此 TextContainerManager 的編輯模式。模式是唯讀、允許讀取和選取,以及允許編輯 (讀取、選取及寫入)。使用 EditingMode 類別的常數值來設定此屬性。

預設值為 READ_WRITE。



實作
    public function get editingMode():String
    public function set editingMode(value:String):void

相關 API 元素

horizontalScrollPolicy

屬性 
horizontalScrollPolicy:String

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當容器邊界填滿後,控制 factory 是否產生所有文字行或停駐點。

指定水平捲動原則,可指定下列 ScrollPolicy 類別常數之一:ON、OFF 或 AUTO。



實作
    public function get horizontalScrollPolicy():String
    public function set horizontalScrollPolicy(value:String):void

horizontalScrollPosition

屬性 
horizontalScrollPosition:Number

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

指定舞台上目前的水平捲動位置。此值會指定從左側算起的像素數目。



實作
    public function get horizontalScrollPosition():Number
    public function set horizontalScrollPosition(value:Number):void

hostFormat

屬性 
hostFormat:flashx.textLayout.formats:ITextLayoutFormat

設定只顯示一個字串時的格式。如果顯示 TextFlow,則此設定沒有立即效果。不會複製提供的 ITextLayoutFormat。不呼叫此 setter 來修改它會產生不確定的結果。



實作
    public function get hostFormat():flashx.textLayout.formats:ITextLayoutFormat
    public function set hostFormat(value:flashx.textLayout.formats:ITextLayoutFormat):void

numLines

屬性 
numLines:int  [唯讀]

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

撰寫於流排中的總行數。根據預設,TLF 不會撰寫整個流排,而此值可能不正確。使用 composeToPosition 來取得撰寫的所有行。



實作
    public function get numLines():int

swfContext

屬性 
swfContext:ISWFContext

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

在適當的 SWF 內容中,需要用於建立 FTE 呼叫的選用 ISWFContext 實體。



實作
    public function get swfContext():ISWFContext
    public function set swfContext(value:ISWFContext):void

相關 API 元素

verticalScrollPolicy

屬性 
verticalScrollPolicy:String

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當容器邊界填滿後,控制 factory 是否產生所有文字行或停駐點。

指定垂直捲動原則,可指定下列 ScrollPolicy 類別常數之一:ON、OFF 或 AUTO。



實作
    public function get verticalScrollPolicy():String
    public function set verticalScrollPolicy(value:String):void

verticalScrollPosition

屬性 
verticalScrollPosition:Number

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

指定舞台上目前的垂直捲動位置。此值會指定從上方算起的像素數目。



實作
    public function get verticalScrollPosition():Number
    public function set verticalScrollPosition(value:Number):void
建構函式詳細資料

TextContainerManager

()建構函式
public function TextContainerManager(container:Sprite, configuration:IConfiguration = null)

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

建構函數 - 建立 TextContainerManager 實體。為取得最佳結果:

  1. 使用 TextContainerManager.defaultConfiguration 啟動並予以修改。
  2. 在多個 InputManagers 之間共用相同的 Configuration。

參數
container:Sprite — 要管理其中之文字行的 DisplayObjectContainer。
 
configuration:IConfiguration (default = null) — - 要和此 TextContainerManager 實體一起使用的 IConfiguration 實體。
方法詳細資訊

activateHandler

()方法
public function activateHandler(event:Event):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 Event.ACTIVATE 事件。

參數

event:Event — Event 物件。

相關 API 元素

beginInteraction

()方法 
public function beginInteraction():ISelectionManager

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

傳回目前的 ISelectionManager 實體。轉換成 TextFlow 實體,並在需要時建立一個 TextFlow 實體。

傳回值
ISelectionManager — 此 TextContainerManager 實體的互動管理員。

相關 API 元素

beginMouseCapture

()方法 
public function beginMouseCapture():void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

呼叫時要求用戶端從安全執行程序之外開始轉送 mouseup 與 mousemove 事件。

compose

()方法 
public function compose():void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

撰寫容器文字;呼叫 factory 或 updateAllControllers()

createContextMenu

()方法 
protected function createContextMenu():ContextMenu

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

為 TextContainerManager 建立 ContextMenu。使用 ContextMenu 類別的方法,將項目新增至選單。

您可以覆寫此方法來定義自訂的內容選單。

傳回值
ContextMenu — 建立的內容選單。

相關 API 元素

createEditManager

()方法 
protected function createEditManager(undoManager:IUndoManager):IEditManager

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

建立編輯管理員以用於編輯。如果您有一個自訂的 EditManager,並想用來取代預設值,則可覆寫此方法。

參數

undoManager:IUndoManager — 目前建立之 EditManager 的 IUndoManager 實體。

傳回值
IEditManager — 此 TextContainerManager 實體的編輯管理員。

createSelectionManager

()方法 
protected function createSelectionManager():ISelectionManager

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

建立選取範圍管理員以用於選取範圍。如果您有一個自訂的 SelectionManager,並想用來取代預設值,則可覆寫此方法。

傳回值
ISelectionManager — 新的 SelectionManager 實體。

deactivateHandler

()方法 
public function deactivateHandler(event:Event):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 Event.DEACTIVATE 事件。

參數

event:Event — Event 物件。

相關 API 元素

drawBackgroundAndSetScrollRect

()方法 
public function drawBackgroundAndSetScrollRect(scrollX:Number, scrollY:Number):Boolean

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

如果其已填入容器的 scrollRect 屬性,則傳回 true。此方法可讓您測試 scrollRect 是否在未實際存取 scrollRect 屬性情況下設定,因為這樣可能會發生效能問題。

覆寫此方法以繪製背景或邊框。因為必須指定 scrollRect,所以覆寫此方法會有困難。

參數

scrollX:Number — 捲動矩形的起始水平位置。
 
scrollY:Number — 捲動矩形的起始垂直位置。

傳回值
Boolean — 如果其已建立 scrollRect 物件,則傳回 true

editHandler

()方法 
public function editHandler(event:Event):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理編輯事件 (CUT、COPY、PASTE、SELECT_ALL)。

參數

event:Event — Event 物件。

相關 API 元素

endInteraction

()方法 
public function endInteraction():void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

終止互動。

相關 API 元素

endMouseCapture

()方法 
public function endMouseCapture():void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

呼叫時通知用戶端不再需要從安全執行程序之外轉送 mouseup 與 mousemove 事件。

focusChangeHandler

()方法 
public function focusChangeHandler(event:FocusEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 FocusEvent.KEY_FOCUS_CHANGEFocusEvent.MOUSE_FOCUS_CHANGE 事件。

參數

event:FocusEvent — FocusEvent 物件

相關 API 元素

focusInHandler

()方法 
public function focusInHandler(event:FocusEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

處理 focusIn 事件。

參數

event:FocusEvent

focusOutHandler

()方法 
public function focusOutHandler(event:FocusEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 FocusEvent.FOCUS_OUT 事件。

參數

event:FocusEvent — FocusEvent 物件

相關 API 元素

getContentBounds

()方法 
public function getContentBounds():Rectangle

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

建立一個矩形,顯示最後一個 compose() 方法或 updateContainer() 方法的呼叫置放文字的位置。

傳回值
Rectangle — 內容的邊界

相關 API 元素

getFocusedSelectionFormat

()方法 
protected function getFocusedSelectionFormat():SelectionFormat

傳回 focusedSelectionFormat - 預設會從組態中取得。可以在子類別中將其覆寫,以提供不同的 SelectionFormat

傳回值
SelectionFormat

getInactiveSelectionFormat

()方法 
protected function getInactiveSelectionFormat():SelectionFormat

傳回 inactiveSelectionFormat - 預設會從組態中取得。可以在子類別中將其覆寫,以提供不同的 SelectionFormat。

傳回值
SelectionFormat

getLineAt

()方法 
public function getLineAt(index:int):flash.text.engine:TextLine

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

從撰寫的文字行陣列傳回索引的 TextLine。

參數

index:int — 在文字的這個索引位置尋找行。

傳回值
flash.text.engine:TextLine — 出現在指定索引的 TextLine。

getScrollDelta

()方法 
public function getScrollDelta(numLines:int):Number

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

了解往上或往下捲動指定的行數時所需的捲動距離。負數會往上捲動,顯示 TextFlow 上方更多的內容。正數會向下捲動,從下一行的底部開始完整顯示。

例如,往上捲動時,此方法會完全顯示下一行。如果下一行部分被遮住而指定的行數為 1,則部分遮住的那一行就會完整顯示。

參數

numLines:int — 要捲動的行數。

傳回值
Number — 要捲動的空間差異量

getText

()方法 
public function getText(separator:String = "
"):String

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

傳回目前做為段落間分隔符號的文字。分隔符號可以使用 separator 引數來指定。separator 引數的預設值是 Unicode 字元 'PARAGRAPH SEPARATOR' (U+2029)

呼叫 setter 會捨棄任何附加的 TextFlow。會遺失任何選取範圍。

參數

separator:String (default = "") — 要設定在段落之間的字串。

傳回值
String

getTextFlow

()方法 
public function getTextFlow():flashx.textLayout.elements:TextFlow

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

目前的 TextFlow。如果其並非完整的 TextFlow 表示法,則予以轉換。

傳回值
flashx.textLayout.elements:TextFlow — 目前的 TextFlow 物件

getUndoManager

()方法 
protected function getUndoManager():IUndoManager

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

傳回要使用的還原管理員。預設會建立唯一的還原管理員。如果您想自訂還原管理員 (例如,讓多個 TextContainerManager 實體共用還原管理員),可以在子類別中覆寫此方法 。

傳回值
IUndoManager — 新的 IUndoManager 實體。

getUnfocusedSelectionFormat

()方法 
protected function getUnfocusedSelectionFormat():SelectionFormat

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

傳回 unfocusedSelectionFormat - 預設會從組態中取得。您可以在子類別中覆寫此方法,以提供不同的 SelectionFormat。

傳回值
SelectionFormat

imeStartCompositionHandler

()方法 
public function imeStartCompositionHandler(event:IMEEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10.1, AIR 1.5

當用戶端管理事件時,處理 IME_START_COMPOSITION 事件。

參數

event:IMEEvent — IMEEvent 物件。

相關 API 元素

invalidateSelectionFormats

()方法 
public function invalidateSelectionFormats():void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

如果您變更選取範圍格式 (SelectionFormat),並想更新 interactionManager,請呼叫此方法。

invalidateUndoManager

()方法 
public function invalidateUndoManager():void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

如果您正在編輯,並想重設還原管理員以用於編輯,請呼叫此方法。

isDamaged

()方法 
public function isDamaged():Boolean

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

如果內容需要撰寫,則傳回 true

傳回值
Boolean — 如果內容需要撰寫則傳回 true,否則傳回 false

keyDownHandler

()方法 
public function keyDownHandler(event:KeyboardEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 KeyboardEvent.KEY_DOWN 事件。

參數

event:KeyboardEvent — KeyboardEvent 物件。

相關 API 元素

keyFocusChangeHandler

()方法 
public function keyFocusChangeHandler(event:FocusEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 FocusEvent.KEY_FOCUS_CHANGE 事件。

參數

event:FocusEvent — FocusEvent 物件

keyUpHandler

()方法 
public function keyUpHandler(event:KeyboardEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 Keyboard.KEY_UP 事件。

參數

event:KeyboardEvent — KeyboardEvent 物件。

相關 API 元素

menuSelectHandler

()方法 
public function menuSelectHandler(event:ContextMenuEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 ContextMenuEvent.MENU_SELECT 事件。

參數

event:ContextMenuEvent — ContextMenuEvent 物件。

相關 API 元素

mouseDoubleClickHandler

()方法 
public function mouseDoubleClickHandler(event:MouseEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 MouseEvent.DOUBLE_CLICK 事件。

參數

event:MouseEvent — MouseEvent 物件。

相關 API 元素

mouseDownHandler

()方法 
public function mouseDownHandler(event:MouseEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 MouseEvent.MOUSE_DOWN 事件。

參數

event:MouseEvent — MouseEvent 物件。

相關 API 元素

mouseMoveHandler

()方法 
public function mouseMoveHandler(event:MouseEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 MouseEvent.MOUSE_MOVE 事件。

參數

event:MouseEvent — MouseEvent 物件。

相關 API 元素

mouseMoveSomewhere

()方法 
public function mouseMoveSomewhere(e:Event):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

從安全執行程序之外轉送 mouseMove 事件的用戶端呼叫。不需要滑鼠移動的座標。

參數

e:Event

mouseOutHandler

()方法 
public function mouseOutHandler(event:MouseEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 MouseEvent.MOUSE_OUT 事件。

參數

event:MouseEvent — MouseEvent 物件。

相關 API 元素

mouseOverHandler

()方法 
public function mouseOverHandler(event:MouseEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

處理 mouseOver 事件。

參數

event:MouseEvent

相關 API 元素

mouseUpHandler

()方法 
public function mouseUpHandler(event:MouseEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 MouseEvent.MOUSE_UP 事件。

參數

event:MouseEvent — MouseEvent 物件。

相關 API 元素

mouseUpSomewhere

()方法 
public function mouseUpSomewhere(e:Event):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

從安全執行程序之外轉送 mouseUp 事件的用戶端呼叫。不需要放開滑鼠的座標。

參數

e:Event

mouseWheelHandler

()方法 
public function mouseWheelHandler(event:MouseEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 MouseEvent.MOUSE_WHEEL 事件。

參數

event:MouseEvent — MouseEvent 物件。

相關 API 元素

resetLine

()方法 
public function resetLine(textLine:flash.text.engine:TextLine):void

參數

textLine:flash.text.engine:TextLine

scrollToRange

()方法 
public function scrollToRange(activePosition:int, anchorPosition:int):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

捲動以讓文字範圍顯示在容器中。

參數

activePosition:int — 當您擴充選取範圍時變更的選取範圍結尾。它可以是選取範圍的開頭或結尾,以距離文字流排開頭算起的偏移量表示。
 
anchorPosition:int — 當您擴充選取範圍時的選取範圍固定結尾。它可以是選取範圍的開頭或結尾。

setText

()方法 
public function setText(text:String):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

text 屬性設定為指定字串。捨棄任何附加的 TextFlow。會遺失任何選取範圍。

參數

text:String — 要設定的字串

setTextFlow

()方法 
public function setTextFlow(textFlow:flashx.textLayout.elements:TextFlow):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

將 TextFlow 設定至此 TextContainerManager會取代任何現有的 TextFlow 並放棄目前的文字。

參數

textFlow:flashx.textLayout.elements:TextFlow

softKeyboardActivatingHandler

()方法 
public function softKeyboardActivatingHandler(event:Event):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10.2, AIR 1.5

當用戶端管理事件時,處理 SOFT_KEYBOARD_ACTIVATING 事件。

參數

event:Event — SoftKeyboardEvent 物件。

相關 API 元素

textInputHandler

()方法 
public function textInputHandler(event:flash.events:TextEvent):void

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當用戶端管理事件時,處理 TextEvent.TEXT_INPUT 事件。

參數

event:flash.events:TextEvent — TextEvent 物件。

相關 API 元素

updateContainer

()方法 
public function updateContainer():Boolean

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

更新顯示;呼叫 factory 或 updateAllControllers()。

傳回值
Boolean — 如果有任何變更則為 true。
事件詳細資訊

click

事件
事件物件類型: flashx.textLayout.events.FlowElementMouseEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

按一下任一連結後發送。

compositionComplete

事件  
事件物件類型: flashx.textLayout.events.CompositionCompleteEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

每次重新撰寫之後發送。

damage

事件  
事件物件類型: flashx.textLayout.events.DamageEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

每次損毀之後,由 TextFlow 物件發送。

flowOperationBegin

事件  
事件物件類型: flashx.textLayout.events.FlowOperationEvent
屬性 FlowOperationEvent.type = flashx.textLayout.events.FlowOperationEvent.FLOW_OPERATION_BEGIN

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

定義 flowOperationBegin 事件物件的 type 屬性值。在作業執行前傳送。取消此事件將阻止作業。

flowOperationComplete

事件  
事件物件類型: flashx.textLayout.events.FlowOperationEvent
屬性 FlowOperationEvent.type = flashx.textLayout.events.FlowOperationEvent.FLOW_OPERATION_COMPLETE

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

定義 flowOperationComplete 事件物件的 type 屬性值。完成所有作業 (包括擱置與複合作業)、完成撰寫且捲動顯示之後進行傳送。

flowOperationEnd

事件  
事件物件類型: flashx.textLayout.events.FlowOperationEvent
屬性 FlowOperationEvent.type = flashx.textLayout.events.FlowOperationEvent.FLOW_OPERATION_END

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

定義 flowOperationEnd 事件物件的 type 屬性值。在作業完成後傳送。任何錯誤都儲存在 OperationEvent.error。如果有錯誤,取消此事件會阻止重新擲出錯誤。一般而言,所有錯誤都可能是嚴重的。

在此時 (執行作業之後) 變更作業可能失敗。

inlineGraphicStatusChanged

事件  
事件物件類型: flashx.textLayout.events.StatusChangeEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

因寬度或高度的 auto 或百分比設定而調整 InlineGraphicElement 的大小時,在圖形完成載入後發送。

mouseDown

事件  
事件物件類型: flashx.textLayout.events.FlowElementMouseEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

在任何連結按下滑鼠時發送。

mouseMove

事件  
事件物件類型: flashx.textLayout.events.FlowElementMouseEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

在滑鼠滑過任何連結時發送。

mouseUp

事件  
事件物件類型: flashx.textLayout.events.FlowElementMouseEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

在任何連結上放開滑鼠時發送。

rollOut

事件  
事件物件類型: flashx.textLayout.events.FlowElementMouseEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當滑鼠移出任何連結時發出。

rollOver

事件  
事件物件類型: flashx.textLayout.events.FlowElementMouseEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

當滑鼠第一次進入任何連結時發送。

scroll

事件  
事件物件類型: flashx.textLayout.events.TextLayoutEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

在控制器容器內捲動文字之後,由 TextFlow 物件發送。

selectionChange

事件  
事件物件類型: flashx.textLayout.events.SelectionEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

只要選取範圍變更就發送。主要用於更新與選取範圍有關的使用者介面。

updateComplete

事件  
事件物件類型: flashx.textLayout.events.UpdateCompleteEvent

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

每次容器因撰寫而新增或更新 DisplayObject 時,由 TextFlow 物件發送。





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。