Adobe® Flash® Platform용 ActionScript® 3.0 참조 설명서
 |  패키지 및 클래스 목록 숨기기 |  패키지  |  클래스  |  새로운 내용  |  색인  |  부록  |  영어로 표시되는 이유
필터: AIR 30.0 이하, Flash Player 30.0 이하, Flash Lite 4
Flex 4.6 이하, Flash Pro CS6 이하
필터 숨기기
flashx.textLayout.edit 

SelectionManager  - 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 태그
사용되지 않는 요소의 목록
액세스 가능성 구현 상수
ActionScript 예제 사용 방법
법적 고지 사항
패키지flashx.textLayout.edit
클래스public class SelectionManager
상속SelectionManager Inheritance Object
구현 ISelectionManager
하위 클래스 EditManager

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

SelectionManager 클래스는 텍스트 흐름의 텍스트 선택 영역을 관리합니다.

선택 영역 관리자는 선택된 텍스트 범위를 추적하고 해당 텍스트의 서식을 관리하며 선택 영역에 영향을 주는 이벤트를 관리할 수 있습니다. 사용자가 텍스트 흐름에서 선택할 수 있도록 허용하려면 SelectionManager 객체를 흐름의 interactionManager 속성에 할당합니다. 편집할 수 있도록 허용하려면 SelectionManager를 확장하는 EditManager 클래스의 인스턴스를 할당합니다.

다음 표에서는 SelectionManager 클래스가 키보드 단축키를 처리하는 방식을 설명합니다.

TB,LTRTB,RTLTL,LTRRL,RTL
noneCtrlAlt|Ctrl+AltnoneCtrlAlt|Ctrl+AltnoneCtrlAlt|Ctrl+AltnoneCtrlAlt|Ctrl+Alt
leftarrowpreviousCharacterpreviousWordpreviousWordnextCharacternextWordnextWordnextLineendOfDocumentendOfParagraphnextLineendOfDocumentendOfParagraph
uparrowpreviousLinestartOfDocumentstartOfParagraphpreviousLinestartOfDocumentstartOfParagraphpreviousCharacterpreviousWordpreviousWordnextCharacternextWordnextWord
rightarrownextCharacternextWordnextWordpreviousCharacterpreviousWordpreviousWordpreviousLinestartOfDocumentstartOfParagraphpreviousLinestartOfDocumentstartOfParagraph
downarrownextLineendOfDocumentendOfParagraphnextLineendOfDocumentendOfParagraphnextCharacternextWordnextWordpreviousCharacterpreviousWordpreviousWord
homestartOfLinestartOfDocumentstartOfLinestartOfLinestartOfDocumentstartOfLinestartOfLinestartOfDocumentstartOfLinestartOfLinestartOfDocumentstartOfLine
endendOfLineendOfDocumentendOfLineendOfLineendOfDocumentendOfLineendOfLineendOfDocumentendOfLineendOfLineendOfDocumentendOfLine
pagedownnextPagenextPagenextPagenextPagenextPagenextPagenextPagenextPagenextPagenextPagenextPagenextPage
pageuppreviousPagepreviousPagepreviousPagepreviousPagepreviousPagepreviousPagepreviousPagepreviousPagepreviousPagepreviousPagepreviousPagepreviousPage

키:

  • none = 수정자 없음
  • Ctrl, Shift, Alt = 수정자
  • Alt 키와 Ctrl+Alt 키는 모든 플랫폼에서 동일합니다. 하지만 일부 플랫폼의 경우 Alt 키가 TLF(Text Layout Framework)로 연결되지 않습니다.
  • Shift 키는 선택 영역의 활성화된 끝을 지정된 방식으로 확장하도록 수정합니다.
  • TB(위쪽에서 아래쪽), RL(오른쪽에서 왼쪽)은 textFlow 수준 blockProgression 설정입니다.
  • LTR(왼쪽에서 오른쪽), RTL(오른쪽에서 왼쪽)은 textFlow 수준 direction 설정입니다.
  • textFlow에서 논리 순서의 next 및 prev - RTL 텍스트는 선택 영역이 실제 방향에서 이동하는 효과가 있습니다.

예제 보기

관련 API 요소

EditManager
flashx.elements.TextFlow


공용 속성
 속성정의 주체
  absoluteEnd : int
[읽기 전용] 텍스트 흐름의 시작을 기준으로 하는 오프셋으로서, 선택 영역의 끝에 있는 텍스트 위치입니다.
SelectionManager
  absoluteStart : int
[읽기 전용] 텍스트 흐름의 시작을 기준으로 하는 오프셋으로서, 선택 영역의 시작 부분에 있는 텍스트 위치입니다.
SelectionManager
  activePosition : int
[읽기 전용] 선택 영역의 활성 지점입니다.
SelectionManager
  anchorPosition : int
[읽기 전용] 선택 영역의 기준점입니다.
SelectionManager
 Inheritedconstructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.
Object
  currentSelectionFormat : SelectionFormat
[읽기 전용] 현재 SelectionFormat 객체입니다.
SelectionManager
  editingMode : String
[읽기 전용] 편집 모드입니다.
SelectionManager
  focused : Boolean
[읽기 전용] 텍스트 흐름의 컨테이너에 포커스가 있는지 여부를 나타냅니다.
SelectionManager
  focusedSelectionFormat : SelectionFormat
포커스된 컨테이너의 선택 영역을 그리는 데 사용된 SelectionFormat 객체입니다.
SelectionManager
  inactiveSelectionFormat : SelectionFormat
SelectionFormat 객체는 선택 영역이 활성 창에 없는 경우 선택 영역을 그리는 데 사용됩니다.
SelectionManager
  textFlow : flashx.textLayout.elements:TextFlow
이 선택 영역 관리자에서 관리할 TextFlow 객체입니다.
SelectionManager
  unfocusedSelectionFormat : SelectionFormat
SelectionFormat 객체는 선택 영역이 포커스된 컨테이너에 없지만 활성 창에 있는 경우 선택 영역을 그리는 데 사용됩니다.
SelectionManager
  windowActive : Boolean
[읽기 전용] 텍스트 흐름과 연결된 창이 활성 상태인지 여부를 나타냅니다.
SelectionManager
보호 속성
 속성정의 주체
  pointFormat : flashx.textLayout.formats:ITextLayoutFormat
[읽기 전용] 삽입된 텍스트에 적용할 서식입니다.
SelectionManager
공용 메서드
 메서드정의 주체
  
SelectionManager 객체를 만듭니다.
SelectionManager
  
활성화 이벤트를 처리합니다.
SelectionManager
  
비활성화 이벤트를 처리합니다.
SelectionManager
  
SelectionManager 작업 수행 - 이를 통해 흐름을 수정할 수는 없지만 클라이언트가 이 작업을 취소할 수 있습니다.
SelectionManager
  
편집 이벤트를 처리합니다.
SelectionManager
  
SelectionManager
  
focusChange 이벤트를 처리합니다.
SelectionManager
  
focusIn 이벤트를 처리합니다.
SelectionManager
  
focusOut 이벤트를 처리합니다.
SelectionManager
  
지정한 텍스트 범위 또는 현재 선택 영역의 모든 문자에 대해 공통된 문자 서식 특성을 가져옵니다.
SelectionManager
  
지정한 텍스트 범위 또는 현재 선택 영역의 모든 컨테이너에 대해 공통된 컨테이너 서식 특성을 가져옵니다.
SelectionManager
  
지정한 텍스트 범위 또는 현재 선택 영역의 모든 단락에 대해 공통된 단락 서식 특성을 가져옵니다.
SelectionManager
  
현재 선택 영역의 SelectionState 객체를 가져옵니다.
SelectionManager
 Inherited
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.
Object
  
선택 영역이 있는지 여부를 나타냅니다.
SelectionManager
  
imeStartComposition 이벤트를 처리합니다.
SelectionManager
 Inherited
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.
Object
  
선택 영역이 텍스트 범위를 포함하는지 여부를 나타냅니다.
SelectionManager
  
keyDown 이벤트를 처리합니다.
SelectionManager
  
keyFocusChange 이벤트를 처리합니다.
SelectionManager
  
keyUp 이벤트를 처리합니다.
SelectionManager
  
menuSelect 이벤트를 처리합니다.
SelectionManager
  
mouseDoubleClick 이벤트를 처리합니다.
SelectionManager
  
mouseDown 이벤트를 처리합니다.
SelectionManager
  
mouseMove 이벤트를 처리합니다.
SelectionManager
  
mouseOut 이벤트를 처리합니다.
SelectionManager
  
mouseOver 이벤트를 처리합니다.
SelectionManager
  
mouseUp 이벤트를 처리합니다.
SelectionManager
  
mouseWheel 이벤트를 처리합니다.
SelectionManager
  
notifyInsertOrDelete(absolutePosition:int, length:int):void
텍스트가 삽입되거나 삭제되면 선택 영역 관리자를 업데이트합니다.
SelectionManager
 Inherited
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.
Object
  
선택 영역 모양을 다시 표시합니다.
SelectionManager
  
SelectionManager
  
selectRange(anchorPosition:int, activePosition:int):void
SelectionManager
  
선택 영역의 첫 번째 컨테이너에 포커스를 둡니다.
SelectionManager
 Inherited
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.
Object
  
현재 선택 영역의 SelectionState 객체를 설정합니다.
SelectionManager
  
softKeyboardActivating 이벤트를 처리합니다.
SelectionManager
  
TextEvent를 처리합니다.
SelectionManager
 Inherited
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.
Object
 Inherited
지정된 객체의 문자열 표현을 반환합니다.
Object
 Inherited
지정된 객체의 프리미티브 값을 반환합니다.
Object
보호 메서드
 메서드정의 주체
  
마우스 커서를 설정합니다.
SelectionManager
속성 세부 정보

absoluteEnd

속성
absoluteEnd:int  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

텍스트 흐름의 시작을 기준으로 하는 오프셋으로서, 선택 영역의 끝에 있는 텍스트 위치입니다.

절대 끝점은 선택 영역의 활성 지점 또는 기준점과 동일하며 항상 텍스트 흐름의 끝에 있습니다.



구현
    public function get absoluteEnd():int

absoluteStart

속성 
absoluteStart:int  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

텍스트 흐름의 시작을 기준으로 하는 오프셋으로서, 선택 영역의 시작 부분에 있는 텍스트 위치입니다.

절대 시작점은 선택 영역의 활성 지점 또는 기준점과 동일하며 항상 텍스트 흐름의 시작 부분에 있습니다.



구현
    public function get absoluteStart():int

activePosition

속성 
activePosition:int  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

선택 영역의 활성 지점입니다.

활성 지점은 선택 영역의 일시적인 끝점입니다. 선택 영역이 수정되면 활성 지점도 변경됩니다. 활성 지점은 선택 영역의 시작 또는 끝 부분에 올 수 있습니다.



구현
    public function get activePosition():int

anchorPosition

속성 
anchorPosition:int  [읽기 전용]

선택 영역의 기준점입니다.

기준점은 선택 영역의 고정 끝점입니다. 선택 영역이 확장되어도 기준점은 변경되지 않습니다. 기준점은 선택 영역의 시작 또는 끝 부분에 올 수 있습니다.



구현
    public function get anchorPosition():int

currentSelectionFormat

속성 
currentSelectionFormat:SelectionFormat  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

현재 SelectionFormat 객체입니다.

현재 SelectionFormat 객체는 windowActivefocused 속성의 현재 상태를 기준으로 unfocusedSelectionFormat, inactiveSelectionFormatfocusedSelectionFormat 속성에 할당된 SelectionFormat 객체에서 선택됩니다.



구현
    public function get currentSelectionFormat():SelectionFormat

관련 API 요소

editingMode

속성 
editingMode:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

편집 모드입니다.

편집 모드는 텍스트 흐름이 선택 및 편집을 지원하는지 또는 읽기 전용인지 여부를 나타냅니다. 텍스트 흐름에 선택 영역 관리자를 할당하면 선택이 가능하고 편집 관리자를 할당하면 편집이 가능합니다. 편집 모드를 나타내는 상수는 EditingMode 클래스에서 정의됩니다.



구현
    public function get editingMode():String

관련 API 요소

focused

속성 
focused:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

텍스트 흐름의 컨테이너에 포커스가 있는지 여부를 나타냅니다.

텍스트 흐름의 컨테이너에 주요 포커스가 있는 경우 focused 속성은 true입니다.



구현
    public function get focused():Boolean

focusedSelectionFormat

속성 
focusedSelectionFormat:SelectionFormat

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

포커스된 컨테이너의 선택 영역을 그리는 데 사용된 SelectionFormat 객체입니다.



구현
    public function get focusedSelectionFormat():SelectionFormat
    public function set focusedSelectionFormat(value:SelectionFormat):void

관련 API 요소

inactiveSelectionFormat

속성 
inactiveSelectionFormat:SelectionFormat

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

SelectionFormat 객체는 선택 영역이 활성 창에 없는 경우 선택 영역을 그리는 데 사용됩니다.



구현
    public function get inactiveSelectionFormat():SelectionFormat
    public function set inactiveSelectionFormat(value:SelectionFormat):void

관련 API 요소

pointFormat

속성 
pointFormat:flashx.textLayout.formats:ITextLayoutFormat  [읽기 전용]

삽입된 텍스트에 적용할 서식입니다. TBD: pointFormat은 사용자 스타일을 기억하고 지점 선택 영역에 대한 leafFormat 값을 사용한 IEditManager.undefineFormat 호출의 서식을 "정의 취소"하도록 확장되어야 합니다.



구현
    protected function get pointFormat():flashx.textLayout.formats:ITextLayoutFormat

textFlow

속성 
textFlow:flashx.textLayout.elements:TextFlow

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

이 선택 영역 관리자에서 관리할 TextFlow 객체입니다.

선택 영역 관리자는 단일 텍스트 흐름을 관리하고 TextFlow 객체의 interactionManager 속성을 설정하여 텍스트 흐름에 할당할 수도 있습니다.



구현
    public function get textFlow():flashx.textLayout.elements:TextFlow
    public function set textFlow(value:flashx.textLayout.elements:TextFlow):void

관련 API 요소

unfocusedSelectionFormat

속성 
unfocusedSelectionFormat:SelectionFormat

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

SelectionFormat 객체는 선택 영역이 포커스된 컨테이너에 없지만 활성 창에 있는 경우 선택 영역을 그리는 데 사용됩니다.



구현
    public function get unfocusedSelectionFormat():SelectionFormat
    public function set unfocusedSelectionFormat(value:SelectionFormat):void

관련 API 요소

windowActive

속성 
windowActive:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

텍스트 흐름과 연결된 창이 활성 상태인지 여부를 나타냅니다.

텍스트 흐름을 표시하는 창이 활성 창인 경우 windowActive 속성은 true입니다.



구현
    public function get windowActive():Boolean
생성자 세부 정보

SelectionManager

()생성자
public function SelectionManager()

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

SelectionManager 객체를 만듭니다.

SelectionManager 객체를 텍스트 흐름의 interactionManager 속성에 할당하여 텍스트 선택이 가능하도록 설정합니다.

메서드 세부 정보

activateHandler

()메서드
public function activateHandler(event:Event):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

활성화 이벤트를 처리합니다.

매개 변수

event:Event

deactivateHandler

()메서드 
public function deactivateHandler(event:Event):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

비활성화 이벤트를 처리합니다.

매개 변수

event:Event

doOperation

()메서드 
public function doOperation(op:FlowOperation):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

SelectionManager 작업 수행 - 이를 통해 흐름을 수정할 수는 없지만 클라이언트가 이 작업을 취소할 수 있습니다.

매개 변수

op:FlowOperation

editHandler

()메서드 
public function editHandler(event:Event):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

편집 이벤트를 처리합니다.

편집 이벤트는 cut, copy, paste 및 selectAll 명령에 대해 전달됩니다.

매개 변수

event:Event

flushPendingOperations

()메서드 
public function flushPendingOperations():void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

focusChangeHandler

()메서드 
public function focusChangeHandler(event:FocusEvent):void

focusChange 이벤트를 처리합니다.

매개 변수

event:FocusEvent

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

focusOut 이벤트를 처리합니다.

매개 변수

event:FocusEvent

getCommonCharacterFormat

()메서드 
public function getCommonCharacterFormat(range:flashx.textLayout.elements:TextRange = null):flashx.textLayout.formats:TextLayoutFormat

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

지정한 텍스트 범위 또는 현재 선택 영역의 모든 문자에 대해 공통된 문자 서식 특성을 가져옵니다.

지정한 요소 범위 또는 선택 영역의 모든 문자에 대한 값이 동일하지 않은 서식 특성은 반환된 TextLayoutFormat 인스턴스에서 null로 설정됩니다.

매개 변수

range:flashx.textLayout.elements:TextRange (default = null) — 일반 특성이 요청되는 텍스트의 선택적 범위입니다. null인 경우 현재 선택 영역이 사용됩니다.

반환값
flashx.textLayout.formats:TextLayoutFormat — 일반 문자 스타일 설정입니다.

예제  ( 예제 사용 방법 )

다음 예제에서는 선택 영역의 모든 요소에 공통적인 문자 스타일 설정을 포함하는 ITextLayoutFormat 객체를 가져오는 방법을 보여 줍니다. 예제에서 textFlow 변수는 TextFlow 객체입니다.
 var common:ITextLayoutFormat = textFlow.interactionManager.getCommonCharacterFormat();

getCommonContainerFormat

()메서드 
public function getCommonContainerFormat(range:flashx.textLayout.elements:TextRange = null):flashx.textLayout.formats:TextLayoutFormat

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

지정한 텍스트 범위 또는 현재 선택 영역의 모든 컨테이너에 대해 공통된 컨테이너 서식 특성을 가져옵니다.

지정한 요소 범위 또는 선택 영역의 모든 컨테이너에 대한 값이 동일하지 않은 서식 특성은 반환된 TextLayoutFormat 인스턴스에서 null로 설정됩니다.

매개 변수

range:flashx.textLayout.elements:TextRange (default = null) — 일반 특성이 요청되는 텍스트의 선택적 범위입니다. null인 경우 현재 선택 영역이 사용됩니다.

반환값
flashx.textLayout.formats:TextLayoutFormat — 일반 컨테이너 스타일 설정입니다.

예제  ( 예제 사용 방법 )

다음 예제에서는 선택 영역의 모든 요소에 공통적인 컨테이너 스타일 설정을 포함하는 ITextLayoutFormat 객체를 가져오는 방법을 보여 줍니다. 예제에서 textFlow 변수는 TextFlow 객체입니다.
 var common:ITextLayoutFormat = textFlow.interactionManager.getCommonContainerFormat();

getCommonParagraphFormat

()메서드 
public function getCommonParagraphFormat(range:flashx.textLayout.elements:TextRange = null):flashx.textLayout.formats:TextLayoutFormat

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

지정한 텍스트 범위 또는 현재 선택 영역의 모든 단락에 대해 공통된 단락 서식 특성을 가져옵니다.

지정한 요소 범위 또는 선택 영역의 모든 단락에 대한 값이 동일하지 않은 서식 특성은 반환된 TextLayoutFormat 인스턴스에서 null로 설정됩니다.

매개 변수

range:flashx.textLayout.elements:TextRange (default = null) — 일반 특성이 요청되는 텍스트의 선택적 범위입니다. null인 경우 현재 선택 영역이 사용됩니다.

반환값
flashx.textLayout.formats:TextLayoutFormat — 일반 단락 스타일 설정입니다.

예제  ( 예제 사용 방법 )

다음 예제에서는 선택 영역의 모든 요소에 공통적인 단락 스타일 설정을 포함하는 ITextLayoutFormat 객체를 가져오는 방법을 보여 줍니다. 예제에서 textFlow 변수는 TextFlow 객체입니다.
 var common:ITextLayoutFormat = textFlow.interactionManager.getCommonParagraphFormat();

getSelectionState

()메서드 
public function getSelectionState():SelectionState

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

현재 선택 영역의 SelectionState 객체를 가져옵니다.

반환값
SelectionState

관련 API 요소


예제  ( 예제 사용 방법 )

다음 예제에서는 텍스트 흐름의 현재 선택 영역에 대한 SelectionState 객체를 가져옵니다. 예제에서 textFlow 변수는 TextFlow 객체입니다.
 var selection:SelectionState = textFlow.interactionManager.getSelectionState();

hasSelection

()메서드 
public function hasSelection():Boolean

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

선택 영역이 있는지 여부를 나타냅니다.

범위나 지점이 선택된 경우 true 값이 반환됩니다. 기본적으로 선택 영역 관리자가 처음 설정된 경우에는 선택 영역이 없으므로 시작과 끝이 -1입니다.

반환값
Boolean

예제  ( 예제 사용 방법 )

다음 예제에서는 텍스트 흐름에 선택 영역이 있는지 여부를 확인하는 방법을 보여 줍니다. 예제에서 textFlow 변수는 TextFlow 객체입니다.
 var selection:SelectionState = textFlow.interactionManager.hasSelection();

imeStartCompositionHandler

()메서드 
public function imeStartCompositionHandler(event:IMEEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

imeStartComposition 이벤트를 처리합니다.

매개 변수

event:IMEEvent

isRangeSelection

()메서드 
public function isRangeSelection():Boolean

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

선택 영역이 텍스트 범위를 포함하는지 여부를 나타냅니다.

선택 영역이 단일 위치 너머로 확장되는 경우 true 값이 반환됩니다.

반환값
Boolean

예제  ( 예제 사용 방법 )

다음 예제에서는 텍스트 흐름의 현재 선택 영역이 텍스트 범위로 확장되는지 여부를 확인하는 방법을 보여 줍니다. 예제에서 textFlow 변수는 TextFlow 객체입니다.
 var selection:SelectionState = textFlow.interactionManager.isRangeSelection();

keyDownHandler

()메서드 
public function keyDownHandler(event:KeyboardEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

keyDown 이벤트를 처리합니다.

매개 변수

event:KeyboardEvent

keyFocusChangeHandler

()메서드 
public function keyFocusChangeHandler(event:FocusEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

keyFocusChange 이벤트를 처리합니다.

매개 변수

event:FocusEvent

keyUpHandler

()메서드 
public function keyUpHandler(event:KeyboardEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

keyUp 이벤트를 처리합니다.

매개 변수

event:KeyboardEvent

menuSelectHandler

()메서드 
public function menuSelectHandler(event:ContextMenuEvent):void

menuSelect 이벤트를 처리합니다.

매개 변수

event:ContextMenuEvent

mouseDoubleClickHandler

()메서드 
public function mouseDoubleClickHandler(event:MouseEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

mouseDoubleClick 이벤트를 처리합니다.

매개 변수

event:MouseEvent

mouseDownHandler

()메서드 
public function mouseDownHandler(event:MouseEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

mouseDown 이벤트를 처리합니다.

매개 변수

event:MouseEvent

mouseMoveHandler

()메서드 
public function mouseMoveHandler(event:MouseEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

mouseMove 이벤트를 처리합니다.

매개 변수

event:MouseEvent

mouseOutHandler

()메서드 
public function mouseOutHandler(event:MouseEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

mouseOut 이벤트를 처리합니다.

매개 변수

event:MouseEvent

mouseOverHandler

()메서드 
public function mouseOverHandler(event:MouseEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

mouseOver 이벤트를 처리합니다.

매개 변수

event:MouseEvent

mouseUpHandler

()메서드 
public function mouseUpHandler(event:MouseEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

mouseUp 이벤트를 처리합니다.

매개 변수

event:MouseEvent

mouseWheelHandler

()메서드 
public function mouseWheelHandler(event:MouseEvent):void

mouseWheel 이벤트를 처리합니다.

매개 변수

event:MouseEvent

notifyInsertOrDelete

()메서드 
public function notifyInsertOrDelete(absolutePosition:int, length:int):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

텍스트가 삽입되거나 삭제되면 선택 영역 관리자를 업데이트합니다.

텍스트 흐름에서 텍스트가 변경되는 경우 작업은 notifyInsertOrDelete를 호출해야 합니다. 그에 따라 선택 영역 관리자가 인덱스 기반 위치 표시기를 조정합니다. 다른 작업을 사용하지 않고 텍스트 흐름의 텍스트를 직접 변경하는 새 작업 그룹을 만드는 경우 작업은 이 함수를 호출하여 선택 영역을 최신으로 유지해야 합니다.

매개 변수

absolutePosition:int — 텍스트가 변경된 지점입니다.
 
length:int — 삽입되거나 삭제된 문자 수를 나타내는 양수 또는 음수입니다.


예제  ( 예제 사용 방법 )

다음 예제에서는 사용자 정의 Operation 클래스의 함수가 notifyInsertOrDelete() 메서드를 호출하는 방법을 보여 줍니다.

이 함수는 SpanElement의 텍스트 범위를 가상 작업의 일부로 대체합니다.

 import flashx.textLayout.elements.SpanElement;
 

function doReplace( span:SpanElement, newText:String, relativeStart:int, relativeEnd:int ):void
{
    span.replaceText(  relativeStart, relativeEnd, newText );
    var parentFlow:TextFlow = span.getTextFlow();
    var lengthDifference:int = newText.length - (relativeEnd - relativeStart);

    parentFlow.interactionManager.notifyInsertOrDelete(    span.getAbsoluteStart() + relativeStart, lengthDifference );
}

refreshSelection

()메서드 
public function refreshSelection():void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

선택 영역 모양을 다시 표시합니다.

참고: 이 메서드는 자동으로 호출되므로 직접 호출할 필요는 없습니다.

selectAll

()메서드 
public function selectAll():void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

관련 API 요소

selectRange

()메서드 
public function selectRange(anchorPosition:int, activePosition:int):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

매개 변수

anchorPosition:int
 
activePosition:int

관련 API 요소

setFocus

()메서드 
public function setFocus():void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

선택 영역의 첫 번째 컨테이너에 포커스를 둡니다.


예제  ( 예제 사용 방법 )

다음 예제에서는 텍스트 흐름의 현재 선택 영역에서 첫 번째 컨테이너에 포커스를 설정합니다. 예제에서 textFlow 변수는 TextFlow 객체입니다.
 textFlow.interactionManager.setFocus();

setMouseCursor

()메서드 
protected function setMouseCursor(cursor:String):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10.2, AIR 2.0

마우스 커서를 설정합니다.

매개 변수

cursor:String — 새 커서 값은 마우스가 텍스트를 벗어나면 MouseCursor.AUTO, 마우스가 텍스트로 진입하면 MouseCursor.IBEAM입니다.

setSelectionState

()메서드 
public function setSelectionState(sel:SelectionState):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

현재 선택 영역의 SelectionState 객체를 설정합니다.

매개 변수

sel:SelectionState

관련 API 요소

softKeyboardActivatingHandler

()메서드 
public function softKeyboardActivatingHandler(event:Event):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10.2, AIR 1.5

softKeyboardActivating 이벤트를 처리합니다.

매개 변수

event:Event

textInputHandler

()메서드 
public function textInputHandler(event:flash.events:TextEvent):void

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5

TextEvent를 처리합니다.

매개 변수

event:flash.events:TextEvent

SelectionManager_example.as

다음 예에서는 SelectionManager 클래스를 사용하는 방법을 보여 줍니다.

TextFlow를 설정하며, 선택 영역의 리스너가 변경되고 선택 영역 변경 내용에 따라 업데이트됩니다.

package flashx.textLayout.edit.examples {
    import flash.display.Sprite;
    
    import flashx.textLayout.container.ContainerController;
    import flashx.textLayout.conversion.TextConverter;
    import flashx.textLayout.edit.SelectionManager;
    import flashx.textLayout.elements.TextFlow;
    import flashx.textLayout.formats.ITextLayoutFormat;
    import flashx.textLayout.events.SelectionEvent;

    public class SelectionManager_example extends Sprite
    {
        private var textFlow:TextFlow;
        
        public function SelectionManager_example()
        {
            //define TextFlow, and make it read-select
            textFlow = TextConverter.importToFlow("This is sample text for the SelectionManager example.",
                TextConverter.PLAIN_TEXT_FORMAT);
            textFlow.interactionManager = new SelectionManager();
            
            //compose TextFlow to display
            textFlow.flowComposer.addController(new ContainerController(this,600,600));
            textFlow.flowComposer.updateAllControllers();
            
            //add event handlers to the TextFlow to detect when selection changes
            textFlow.addEventListener(SelectionEvent.SELECTION_CHANGE, selectionChanged);
        }

        private function selectionChanged(selectionEvent:SelectionEvent):void
        {
            var format:ITextLayoutFormat = textFlow.interactionManager.getCommonCharacterFormat();
            // do something here - perhaps update the application's UI based on the formatting
            // attributes applied in the current selected text range
        }
        
    }        
}





[ X ]영어로 표시되는 이유
ActionScript 3.0 참조 설명서의 내용이 영어로 나타납니다.

ActionScript 3.0 참조 설명서 중 일부는 전체 언어로 번역되지 않았습니다. 언어 요소가 번역되지 않은 경우 영어로 나타납니다. 예를 들어 ga.controls.HelpBox 클래스는 어떤 언어로도 번역되지 않았습니다. 그러므로 한국어 버전의 참조 설명서에서 ga.controls.HelpBox 클래스는 영어로 나타납니다.