This page was saved using jaction on 2006-09-04 8:33:58.
Address: http://flexdocs.kr/docs/flex2/langref/mx/printing/PrintDataGrid.html
Title: mx.printing.PrintDataGrid (Flex™ 2 레퍼런스 가이드)  •  Size: 330918
Packagemx.printing
Classpublic class PrintDataGrid
InheritancePrintDataGrid Inheritance DataGrid Inheritance DataGridBase Inheritance ListBase Inheritance ScrollControlBase Inheritance UIComponent Inheritance FlexSprite Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object

PrintDataGrid 컨트롤은, 경계선을 가지는 표를 표시하도록(듯이) 스타일 설정되어 인쇄용에 최적화된 DataGrid 서브 클래스입니다. 크기는 컨테이너에 들어가도록(듯이) 자동적으로 설정되어 부분적으로 표시되는 행은 모두 삭제됩니다.

MXML 문장구조법expandedMXML 문장구조법의 비표시

<mx:PrintDataGrid> 태그는, Super 클래스의 태그 속성을 Inheritance합니다. 다만, 유저의 조작에 관련지을 수 있었던 property, 스타일, 이벤트, 및 effect (또는 Methods)는 사용하지 않습니다. <mx:PrintDataGrid> 태그는, 다음의 태그 속성을 추가합니다.

 <mx:PrintDataGrid property sizeToPage="true|false" > ... </mx:PrintDataGrid> 

View the examples

See also

FlexPrintJob


Public property
 property정의
 InheritedaccessibilityProperties : AccessibilityProperties
이 표시 object의 현재의 accessibility options입니다.
DisplayObject
 Inheritedalpha : Number
지정된 object의 알파 투명도 값을 나타냅니다.
DisplayObject
 InheritedbaselinePosition : Number
컴퍼넌트의 텍스트의 1 행 째의 baseline y 좌표를 지정합니다.
UIComponent
 InheritedblendMode : String
사용하는 브렌드 모드를 지정하는 BlendMode 클래스의 값입니다.
DisplayObject
 InheritedborderMetrics : EdgeMetrics
4 개의 property를 가지는 EdgeMetrics object를 돌려줍니다. 이 property란,left,top,right, 및 bottom 입니다.
ScrollControlBase
 InheritedbuttonMode : Boolean
이 스프라이트의 버튼 모드를 지정합니다.
Sprite
 InheritedcacheAsBitmap : Boolean
true 로 설정되어 있는 경우, 표시 object의 내부 비트 맵 표현이 Flash Player 에 캐쉬됩니다.
DisplayObject
 InheritedcacheHeuristic : Boolean
object의 비트 맵 캐쉬를 제안하기 위해서(때문에) Flex 에 의해 사용됩니다.
UIComponent
 InheritedcachePolicy : String
이 object의 비트 맵 캐쉬 policy를 지정합니다.
UIComponent
 InheritedclassName : String
이 인스턴스의 클래스명입니다. 예를 들어,"Button" 등이 있습니다.
UIComponent
 Inheritedcolumns : Array
표시 가능한 각각의 열에 대응한 DataGridColumn object의 배열입니다.
DataGrid
 InheritedcolumnWidth : Number
컨트롤의 열의 폭입니다.
ListBase
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
 InheritedcontentMouseX : Number
컨텐츠 좌표계에 있어서의 마우스의 x 위치를 돌려줍니다.
UIComponent
 InheritedcontentMouseY : Number
컨텐츠 좌표계에 있어서의 마우스의 y 위치를 돌려줍니다.
UIComponent
 InheritedcontextMenu : ContextMenu
이 object에 관련지을 수 있었던 context menu를 지정합니다.
InteractiveObject
  currentPageHeight : Number
[read-only] sizeToPage property가 true 로, PrintDataGrid 가 전체를 표시할 수 있는 행만을 표시해, 부분적인 행은 표시하지 않는 경우의 PrintDataGrid 의 높이입니다.
PrintDataGrid
 InheritedcurrentState : String
컴퍼넌트의 현재의 뷰스테이트입니다.
UIComponent
 Inheriteddata : Object
이 컴퍼넌트를 아이템 렌더러 또는 아이템 에디터로서 사용할 경우에, 이 컴퍼넌트에 의해 데이터 프로바이더상에 렌더링 되는 아이템입니다.
ListBase
 InheriteddataProvider : Object
표시하는 데이터세트입니다.
ListBase
 Inheriteddescriptor : UIComponentDescriptor
이 UIComponent 인스턴스의 작성을 위해서(때문에) createComponentFromDescriptor() Methods로 사용한 UIComponentDescriptor 에의 참조입니다 (존재하는 경우).
UIComponent
 Inheriteddocument : Object
이 UIComponent 에 관련지을 수 있었던 문서 object에의 참조입니다.
UIComponent
 Inheritedenabled : Boolean
컴퍼넌트가 유저의 조작을 받아들일 수가 있을지 어떨지를 지정합니다.
UIComponent
 InheritederrorString : String
발리 데이터에 의해 컴퍼넌트를 감시하고 있을 때, 검증이 실패했을 경우에, 그 컴퍼넌트의 에러 힌트에 표시되는 텍스트입니다.
UIComponent
 InheritedexplicitHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 명시적인 높이 (픽셀 단위)를 지정하는 수치입니다.
UIComponent
 InheritedexplicitMaxHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최대의 높이 (픽셀 단위)를 지정하는 수치입니다.
UIComponent
 InheritedexplicitMaxWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최대의 폭 (픽셀 단위)을 지정하는 수치입니다.
UIComponent
 InheritedexplicitMinHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최소의 높이 (픽셀 단위)를 지정하는 수치입니다.
UIComponent
 InheritedexplicitMinWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최소의 폭 (픽셀 단위)을 지정하는 수치입니다.
UIComponent
 InheritedexplicitWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 명시적인 폭 (픽셀 단위)을 지정하는 수치입니다.
UIComponent
 Inheritedfilters : Array
표시 object에 현재 관련지을 수 있고 있는 각 필터 object가 포함되고 있는 인덱스 첨부의 배열입니다.
DisplayObject
 InheritedfocusEnabled : Boolean
컴퍼넌트가, 클릭되었을 때에 포커스를 받아들일 수 있을지 어떨지를 나타냅니다.
UIComponent
 InheritedfocusManager : IFocusManager
이 컴퍼넌트와 그 피어-에 대한 포커스를 제어하는 FocusManager 를 취득합니다.
UIComponent
 InheritedfocusPane : Sprite
이 object에 관련지을 수 있었던 포카스페인입니다.
UIComponent
 InheritedfocusRect : Object
이 object가 포커스 구형을 표시할지 어떨지를 지정합니다.
InteractiveObject
 Inheritedgraphics : Graphics
벡터의 묘화 커멘드가 발생하는, 이 스프라이트에 속하는 Graphics object를 지정합니다.
Sprite
 InheritedheaderHeight : Number
열의 헤더 셀의 높이 (픽셀 단위)입니다.
DataGridBase
 Inheritedheight : Number
부모의 좌표내에 있어서의 컴퍼넌트의 높이 (픽셀 단위)를 지정하는 수치입니다.
UIComponent
 InheritedhitArea : Sprite
스프라이트의 히트 area가 되는 다른 스프라이트를 지정합니다.
Sprite
 InheritedhorizontalScrollPosition : Number
좌단으로부터 컨텐츠에의 오프셋(offset)입니다.
DataGrid
 Inheritedid : String
컴퍼넌트의 ID 입니다.
UIComponent
 InheritedimeMode : String
IME (입력 Methods 에디터)의 모드를 지정합니다.
DataGrid
 InheritedincludeInLayout : Boolean
이 컴퍼넌트를 부모 컨테이너의 레이아웃에 포함할지 어떨지를 지정합니다.
UIComponent
 InheritedinheritingStyles : Object
이 컴퍼넌트의 Inheritance 스타일의 체인의 시작입니다.
UIComponent
 Inheritedinitialized : Boolean
object가 레이아웃의 이하의 3 개의 단계를 모두 완료한 것일지 어떨지를 나타내는 플래그입니다. 처리, 측정, 및 레이아웃 (몇개의 단계가 필수였을 경우).
UIComponent
 InheritedinstanceIndex : int
반복해지는 컴퍼넌트의 인덱스입니다.
UIComponent
 InheritedinstanceIndices : Array
이 UIComponent object를 친문서로부터 참조하기 위해서 필요한 인덱스를 포함한 배열입니다.
UIComponent
 InheritedisDocument : Boolean
이 UIComponent 인스턴스가 문서 object인지, 즉 Flex 어플리케이션, MXML 컴퍼넌트, 또는 ActionScript 컴퍼넌트의 계층의 최상정도에 위치할지 어떨지를 지정합니다.
UIComponent
 InheritedisPopUp : Boolean
컴퍼넌트가 pop-up 된 것을 나타내기 (위해)때문에, PopUpManager 에 의해 true 로 설정됩니다.
UIComponent
 InheriteditemEditorInstance : IListItemRenderer
현재 액티브한 아이템 에디터의 인스턴스에의 참조입니다 (존재하는 경우).
DataGrid
 InheriteditemRenderer : IFactory
컨트롤의 custom 아이템 렌더러입니다.
ListBase
 InheritedlabelFunction : Function
label를 결정하는 각 아이템으로 실행되는 유저 지정의 함수입니다.
ListBase
 InheritedlistData : BaseListData
드롭 인 아이템 렌더러 또는 드롭 인 아이템 에디터로서 사용하면, 이 컴퍼넌트의 listData property가, 리스트 컨트롤로부터의 추가 데이터로 초기화됩니다.
ListBase
 InheritedliveScrolling : Boolean = true
샘의 이동에 맞추어 스크롤 하는지, 샘이 떼어 놓아질 때까지 표시를 갱신하지 않는가를 나타내는 플래그입니다.
ScrollControlBase
 InheritedloaderInfo : LoaderInfo
이 표시 object가 속하는 파일의 로드 정보를 포함한 LoaderInfo object를 돌려줍니다.
DisplayObject
 InheritedlockedColumnCount : int
스크롤 하는 컨트롤내의 최초의 열의 인덱스입니다.
ListBase
 InheritedlockedRowCount : int
스크롤 하는 컨트롤내의 최초의 행의 인덱스입니다.
ListBase
 Inheritedmask : DisplayObject
호출원 display object는, 지정된 mask object에 의해 마스크 됩니다.
DisplayObject
 InheritedmaxHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최대의 높이 (픽셀 단위)를 지정하는 수치입니다.
UIComponent
 InheritedmaxWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최대의 폭 (픽셀 단위)을 지정하는 수치입니다.
UIComponent
 InheritedmeasuredHeight : Number
컴퍼넌트의 디폴트의 높이입니다 (픽셀 단위).
UIComponent
 InheritedmeasuredMinHeight : Number
컴퍼넌트의 디폴트의 최소 높이입니다 (픽셀 단위).
UIComponent
 InheritedmeasuredMinWidth : Number
컴퍼넌트의 디폴트의 최소폭입니다 (픽셀 단위).
UIComponent
 InheritedmeasuredWidth : Number
컴퍼넌트의 디폴트의 폭입니다 (픽셀 단위).
UIComponent
 InheritedmenuSelectionMode : Boolean = false
메뉴 선택 방식을 사용할지 어떨지를 나타내는 플래그입니다.
ListBase
 InheritedminColumnWidth : Number
열의 최소폭입니다 (픽셀 단위).
DataGrid
 InheritedminHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최소의 높이 (픽셀 단위)를 지정하는 수치입니다.
UIComponent
 InheritedminWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최소의 폭 (픽셀 단위)을 지정하는 수치입니다.
UIComponent
 InheritedmouseChildren : Boolean
object의 아이에 대해서 마우스가 유효한가 어떤가를 조사합니다.
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
이 object가 마우스 메세지를 받아들일지 어떨지를 지정합니다.
InteractiveObject
 InheritedmouseFocusEnabled : Boolean
클릭했을 때, 포커스를 받아들일 수 있을지 어떨지를 나타냅니다.
UIComponent
 InheritedmouseX : Number
마우스 위치의 x 좌표를 나타냅니다 (픽셀 단위).
DisplayObject
 InheritedmouseY : Number
마우스 위치의 y 좌표를 나타냅니다 (픽셀 단위).
DisplayObject
 Inheritedname : String
DisplayObject 의 인스턴스명을 나타냅니다.
DisplayObject
 InheritednestLevel : int
object 계층에 있어서의 이 object의 심도를 나타냅니다.
UIComponent
 InheritednonInheritingStyles : Object
이 컴퍼넌트의 비Inheritance 스타일의 체인의 시작입니다.
UIComponent
 InheritednumChildren : int
이 object의 아이의 수를 돌려줍니다.
DisplayObjectContainer
 InheritedopaqueBackground : Object
표시 object가 특정의 배경색으로 불투명한지 어떤지를 지정합니다.
DisplayObject
  originalHeight : Number
[read-only] 유저에 의해 설정된 PrintDataGrid 의 높이입니다.
PrintDataGrid
 Inheritedowner : DisplayObjectContainer
이 UIComponent 의 오너.
UIComponent
 Inheritedparent : DisplayObjectContainer
이 컴퍼넌트의 부모 컨테이너 또는 친컴퍼넌트입니다.
UIComponent
 InheritedparentApplication : Object
이 UIComponent 인스턴스를 포함한 Application object에의 참조입니다.
UIComponent
 InheritedparentDocument : Object
이 UIComponent 에 대한 친문서 object에의 참조입니다.
UIComponent
 InheritedpercentHeight : Number
컴퍼넌트의 높이를 부모의 크기에 대한 비율 (퍼센티지)로 지정하는 수치입니다.
UIComponent
 InheritedpercentWidth : Number
컴퍼넌트의 폭을 부모의 크기에 대한 비율 (퍼센티지)로 지정하는 수치입니다.
UIComponent
 InheritedprocessedDescriptors : Boolean
아이를 곧바로 생성하는지, 지연 생성한 후, 이 몇개의 발생에 응해,true 로 설정됩니다.
UIComponent
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
 Inheritedrepeater : IRepeater
이 UIComponent 를 작성한 Repeater object (친문서내에 있다)에의 참조입니다.
UIComponent
 InheritedrepeaterIndex : int
이 UIComponent 를 작성한 Repeater 의 데이터 프로바이더내에 있는 아이템의 인덱스입니다.
UIComponent
 InheritedrepeaterIndices : Array
이 UIComponent 를 생성한, 친문서내에 있는 Repeater 의 데이터 프로바이더에 포함되는 아이템의 인덱스를 포함한 배열입니다.
UIComponent
 Inheritedrepeaters : Array
이 UIComponent 를 작성한 Repeater object (친문서내에 있다)에의 참조를 포함한 배열입니다.
UIComponent
 InheritedresizableColumns : Boolean = true
열의 크기를 유저가 변경할 수 있을지 어떨지를 나타내는 플래그입니다.
DataGrid
 Inheritedroot : DisplayObject
로드 된 SWF 파일내 display object의 경우,root property는 그 SWF 파일이 나타내는 표시 리스트의 트리 구조 부분의 맨 위에 있는 표시 object가 됩니다.
DisplayObject
 Inheritedrotation : Number
DisplayObject 인스턴스의 원래의 위치로부터의 회전각을 번단위로 가리킵니다.
DisplayObject
 InheritedrowCount : int
표시되는 행의 수입니다.
ListBase
 InheritedrowHeight : Number
행의 높이입니다 (픽셀 단위).
ListBase
 Inheritedscale9Grid : Rectangle
현재 유효한 확대 / 축소 격자입니다.
DisplayObject
 InheritedscaleX : Number
수평 방향의 확대 / 축소의 비율을 지정하는 수치입니다.
UIComponent
 InheritedscaleY : Number
수직 방향의 신축율을 지정하는 수치입니다.
UIComponent
 Inheritedscreen : Rectangle
이 object의 기본적인 묘화면의 크기와 위치를 포함한 object를 돌려줍니다.
UIComponent
 InheritedscrollRect : Rectangle
표시 object의 스크롤 구형의 경계.
DisplayObject
 InheritedshowHeaders : Boolean
컨트롤에 열헤더를 표시할지 어떨지를 나타내는 플래그입니다.
DataGridBase
  sizeToPage : Boolean = true
true 의 경우, PrintDataGrid 는 높이를 재조정해, 전체를 표시할 수 있는 행만을 표시합니다.
PrintDataGrid
 InheritedsortableColumns : Boolean = true
데이터 프로바이더 아이템을 유저가 열해더 셀의 클릭 조작으로 소트 할 수 있을지 어떨지를 나타내는 플래그입니다.
DataGrid
 InheritedsoundTransform : SoundTransform
이 스프라이트내의 사운드를 제어합니다.
Sprite
 Inheritedstage : Stage
표시 object의 스테이지.
DisplayObject
 Inheritedstates : Array
이 컴퍼넌트에 대해서 정의된 뷰스테이트.
UIComponent
 InheritedstyleDeclaration : CSSStyleDeclaration
이 object의 inline의 Inheritance 스타일의 기억역입니다.
UIComponent
 InheritedstyleName : Object
이 컴퍼넌트로 사용하는 클래스 스타일.
UIComponent
 InheritedsystemManager : ISystemManager
이 컴퍼넌트로 사용하는 SystemManager object를 돌려줍니다.
UIComponent
 InheritedtabChildren : Boolean
object의 아이에 대해서 탭이 유효한가 어떤가를 조사합니다.
DisplayObjectContainer
 InheritedtabEnabled : Boolean
이 object가 탭 순서에 포함될지 어떨지를 지정합니다.
InteractiveObject
 InheritedtabIndex : int
SWF 파일내의 object의 탭 순서를 지정합니다.
InteractiveObject
 InheritedtextSnapshot : TextSnapshot
이 DisplayObjectContainer 인스턴스의 TextSnapshot object를 돌려줍니다.
DisplayObjectContainer
 Inheritedtransform : Transform
표시 object의 매트릭스, 칼라 변환, 픽셀 경계에 관계하는 property를 가지는 object입니다.
DisplayObject
 Inheritedtransitions : Array
Transition object의 배열입니다. 각 Transition object에는, 뷰스테이트가 변화했을 때에 재생되는 effect세트가 정의됩니다.
UIComponent
 InheritedtweeningProperties : Array
이 object에 대해서 현재 트인 되고 있는 property의 배열.
UIComponent
 Inheriteduid : String
object의 일의의 식별자입니다.
UIComponent
 InheritedupdateCompletePendingFlag : Boolean
object가 3 단계의 레이아웃 검증을 완료한 것일지 어떨지를 나타내는 플래그입니다 (몇개의 검증이 필수였을 경우).
UIComponent
 InheritedvalidationSubField : String
이 컴퍼넌트에 subfield를 관련짓기 위해서(때문에) 발리 데이터에 의해 사용됩니다.
UIComponent
  validNextPage : Boolean
[read-only] 데이터 프로바이더에는 PrintDataGrid 컨트롤로 현재 표시되고 있는 행에 계속되는 추가 데이터행이 포함되어 있는 것을 나타냅니다.
PrintDataGrid
 Inheritedvalue : Object
선택한 아이템인가, 또는 선택한 아이템의 데이터 필드 또는 라벨 필드입니다.
ListBase
 InheritedvariableRowHeight : Boolean
행 마다 다른 높이를 설정할 수 있을지 어떨지를 나타내는 플래그입니다.
ListBase
 InheritedverticalScrollPosition : Number
상단으로부터 컨텐츠에의 오프셋(offset)입니다.
ScrollControlBase
 InheritedviewMetrics : EdgeMetrics
스크롤 바를 고려하는 EdgeMetrics object (가시의 경우).
ScrollControlBase
 Inheritedvisible : Boolean
이 UIComponent 의 가시성을 제어합니다.
UIComponent
 Inheritedwidth : Number
부모의 좌표내에 있어서의 컴퍼넌트의 폭 (픽셀 단위)을 지정하는 수치입니다.
UIComponent
 InheritedwordWrap : Boolean
은행내의 텍스트를 되풀이할지 어떨지를 나타내는 플래그입니다.
ListBase
 Inheritedx : Number
부모 컨테이너내에 있어서의 컴퍼넌트의 수평 위치 (픽셀 단위)를 지정하는 수치입니다.
UIComponent
 Inheritedy : Number
부모 컨테이너내에 있어서의 컴퍼넌트의 수직 위치 (픽셀 단위)를 지정하는 수치입니다.
UIComponent
Protected property
 property정의
 Inheritedborder : IFlexDisplayObject
경계선 object입니다.
ScrollControlBase
 Inheritedcollection : ICollectionView
데이터 프로바이더를 나타내는 ICollectionView 입니다.
ListBase
 InheritedcolumnMap : Object
아이템 렌더러를 열에 대응 붙이는 MAP입니다.
DataGridBase
 InheriteddefaultColumnCount : int = 4
디폴트로 표시하는 열의 수입니다.
ListBase
 InheriteddefaultRowCount : int = 4
디폴트로 표시하는 행의 수입니다.
ListBase
 InheritedexplicitColumnCount : int = -1
columnCount property를 명시적으로 설정하는 것에 의해 요구된 렬수입니다.
ListBase
 InheritedexplicitColumnWidth : Number
columnWidth 를 명시적으로 설정하는 것에 의해 요구된 렬폭입니다.
ListBase
 InheritedexplicitRowCount : int = -1
rowCount 를 명시적으로 설정하는 것에 의해 요구된 행수입니다.
ListBase
 InheritedexplicitRowHeight : Number
rowHeight 를 명시적으로 설정하는 것에 의해 요구된 행의 높이입니다.
ListBase
 InheritedfreeItemRenderers : Array
미사용의 아이템 렌더러의 스택입니다.
ListBase
 InheritedfreeItemRenderersTable : Dictionary
미사용의 아이템 렌더러의 열 마다의 테이블입니다.
DataGridBase
 InheritedhighlightItemRenderer : IListItemRenderer
현재 마우스 포인터가 놓여져 있는지, caret의 위치에 있는 렌더러입니다.
ListBase
 InheriteditemsNeedMeasurement : Boolean = true
columnWidth property 및 rowHeight property의 계산이 필요한가 어떤가를 나타내는 플래그입니다.
ListBase
 InheriteditemsSizeChanged : Boolean = false
렌더러의 크기가 변경된 가능성이 있는 것을 나타내는 플래그입니다.
ListBase
 Inheritediterator : IViewCursor
데이터 프로바이더로부터 아이템을 취득해, 렌더러에 아이템을 건네주기 위해서(때문에) 사용되는 메인 IViewCursor 입니다.
ListBase
 InheritediteratorValid : Boolean = true
페이지 폴트가 발생한 것, 및 이테레이타의 위치가 유효하지 않은 것 (표시중의 맨 위의 아이템과 다른 위치가 되어 있는 것)을 나타내는 플래그입니다.
ListBase
 InheritedlastSeekPending : ListBaseSeekPending
페이지 폴트를 일으킨 마지막 시크입니다.
ListBase
 InheritedlistContent : ListBaseContentHolder
모든 아이템 렌더러, 선택 및 하이라이트의 인디케이터(indicator), 그 외의 지원(support)되고 있는 그래픽의 부모가 되는 내부 표시 object입니다.
ListBase
 InheritedlistItems : Array
각 데이터 프로바이더 아이템을 렌더링 하는 itemRenderer 인스턴스를 포함하는 배열의 배열입니다.
ListBase
 InheritedmaskShape : Shape
마스크입니다.
ScrollControlBase
 InheritedrendererChanged : Boolean = false
렌더러가 변경된 것을 나타내는 플래그입니다.
ListBase
 InheritedrowInfo : Array
listItems 내의 행에 관해서 행의 높이 및 그 외의 트랙킹 정보를 캐쉬하는 ListRowInfo object의 배열입니다.
ListBase
 InheritedrowMap : Object
아이템 렌더러를 각각의 ListRowInfo object에 대응 붙이는 해시 MAP입니다.
ListBase
 InheritedscrollAreaChanged : Boolean
스크롤 바 보기 / 비표시를 위해, 스크롤 area가 변경된 것을 나타내는 플래그입니다.
ScrollControlBase
 InheritedselectedData : Object
어느 object가 현재 선택되고 있을까를 트랙킹 하는 ListBaseSelectionData object의 해시 테이블입니다.
ListBase
 InheritedselectionIndicators : Object
선택의 인디케이터(indicator)의 해시 테이블입니다.
ListBase
 InheritedunscaledHeight : Number
확대 / 축소 없음의 컴퍼넌트의 높이를 요구하는 편리한 Methods입니다. 컴퍼넌트의 묘화 및 아이의 레이아웃은 모두, 이 높이의 네모진 범위내에서 실시할 필요가 있습니다. 또, 이 값은 updateDisplayList() 에 인수로서 건네받습니다.
UIComponent
 InheritedunscaledWidth : Number
확대 / 축소 없음의 컴퍼넌트의 폭을 요구하는 편리한 Methods입니다. 컴퍼넌트의 묘화 및 아이의 레이아웃은 모두, 이 폭의 네모진 범위내에서 실시할 필요가 있습니다. 또, 이 값은 updateDisplayList() 에 인수로서 건네받습니다.
UIComponent
 InheritedvisibleData : Object
뷰에 현재 포함되어 있는 데이터 프로바이더 아이템 렌더러의 해시 테이블입니다.
ListBase
 InheritedwordWrapChanged : Boolean = false
wordWrap property의 값이, 표시 리스트의 전회의 갱신 이후로 변경되었는지 어떠했는지를 나타내는 플래그입니다.
ListBase
Public Methods
 Methods정의
  PrintDataGrid ()
constructor   .
PrintDataGrid
 InheritedaddChild (child:DisplayObject ):DisplayObject
이 DisplayObjectContainer 인스턴스에 아이 DisplayObject 인스턴스를 추가합니다.
DisplayObjectContainer
 InheritedaddChildAt (child:DisplayObject , index:int ):DisplayObject
이 DisplayObjectContainer 인스턴스에 아이 DisplayObject 인스턴스를 추가합니다.
DisplayObjectContainer
 InheritedaddEventListener (type:String , listener:Function , useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
event listener objects를 EventDispatcher object에 등록해, listener가 이벤트의 통지를 받도록(듯이) 합니다.
EventDispatcher
 InheritedareInaccessibleObjectsUnderPoint (point:Point ):Boolean
특정의 point 포인트를 지정해 호출한 DisplayObjectContainer.getObjectsUnderPoint() Methods로부터 돌려주어진 리스트에, 시큐러티상의 제약을 위해서(때문에) 생략 되는 표시 object가 있을지 어떨지를 나타냅니다.
DisplayObjectContainer
 InheritedcallLater (method:Function , args:Array = null):void
다음에 호출하는 함수를 큐에 포함합니다.
UIComponent
 InheritedclearStyle (styleProp:String ):void
이 컴퍼넌트 인스턴스로부터 스타일 property를 삭제합니다.
UIComponent
 Inheritedcontains (child:DisplayObject ):Boolean
지정된 표시 object가, DisplayObjectContainer 인스턴스의 아이인지, 인스턴스 자체인지를 지정합니다.
DisplayObjectContainer
 InheritedcontentToGlobal (point:Point ):Point
Point object를 컨텐츠 좌표로부터 글로벌 좌표로 변환합니다.
UIComponent
 InheritedcontentToLocal (point:Point ):Point
Point object를 컨텐츠 좌표로부터 로컬 좌표로 변환합니다.
UIComponent
 InheritedcreateReferenceOnParentDocument (parentDocument:IFlexDisplayObject ):void
이 IUIComponent object에의 id 참조를 친문서 object상에 작성합니다.
UIComponent
 InheriteddeleteReferenceOnParentDocument (parentDocument:IFlexDisplayObject ):void
이 IUIComponent object에의 id 참조를 친문서 object로부터 삭제합니다.
UIComponent
 InheriteddetermineTextFormatFromStyles ():UITextFormat
이 UIComponent 의 텍스트 스타일에 대응하는 UITextFormat object를 돌려줍니다.
UIComponent
 InheriteddispatchEvent (event:Event ):Boolean
이벤트를 event 플로우(flow)에 dispatch합니다.
EventDispatcher
 InheriteddrawFocus (focused:Boolean ):void
이 컴퍼넌트를 둘러싸는 포커스 인디케이터(indicator)를 표시 또는 비표시로 합니다.
UIComponent
 InheriteddrawRoundRect (x:Number , y:Number , w:Number , h:Number , r:Object = null, c:Object = null, alpha:Object = null, rot:Object = null, gradient:String = null, ratios:Array = null, hole:Object = null):void
이 스킨의 Graphics object에, 프로그램으로 구형을 묘화 합니다.
UIComponent
 InheritedendEffectsStarted ():void
현재 컴퍼넌트로 재생중의 모든 effect를 종료합니다.
UIComponent
 InheritedexecuteBindings (recurse:Boolean = false):void
이 UIComponent object에의 데이터 바인딩을 실행합니다.
UIComponent
 InheritedfindString (str:String ):Boolean
string에 근거해 리스트내의 아이템을 검색해, 선택을 이동합니다.
ListBase
 InheritedfinishPrint (obj:Object , target:IFlexDisplayObject ):void
인쇄의 완료 후에 불려 갑니다.
UIComponent
 InheritedgetBounds (targetCoordinateSpace:DisplayObject ):Rectangle
targetCoordinateSpace object의 좌표계를 기준으로 해, 표시 object의 area를 정의하는 구형을 돌려줍니다.
DisplayObject
 InheritedgetChildAt (index:int ):DisplayObject
지정의 인덱스 위치에 있는 아이 표시 object 인스턴스를 돌려줍니다.
DisplayObjectContainer
 InheritedgetChildByName (name:String ):DisplayObject
지정된 이름에 일치하는 아이 표시 object를 돌려줍니다.
DisplayObjectContainer
 InheritedgetChildIndex (child:DisplayObject ):int
child DisplayObject 인스턴스의 인덱스 위치를 돌려줍니다.
DisplayObjectContainer
 InheritedgetClassStyleDeclarations ():Array
이 UIComponent 인스턴스의 타입 selector를 찾습니다.
UIComponent
 InheritedgetExplicitOrMeasuredHeight ():Number
명시된 높이를 사용하는지, 그렇지 않으면 측정한 높이를 사용하는지를 결정하는 편리한 Methods입니다.
UIComponent
 InheritedgetExplicitOrMeasuredWidth ():Number
명시적인 폭 또는 측정폭을 사용할지 어떨지를 결정하기 위한 편리한 Methods입니다.
UIComponent
 InheritedgetFocus ():InteractiveObject
현재 포커스를 가지고 있는 object를 취득합니다.
UIComponent
 InheritedgetObjectsUnderPoint (point:Point ):Array
지정된 포인트아래에 있어, 이 DisplayObjectContainer 인스턴스의 아이 또는 손자등인 object의 배열을 돌려줍니다.
DisplayObjectContainer
 InheritedgetRect (targetCoordinateSpace:DisplayObject ):Rectangle
셰이프상의 선을 제외해,targetCoordinateSpace Parameters에 의해 정의된 좌표계에 근거해, 표시 object의 경계를 정의하는 구형을 돌려줍니다.
DisplayObject
 InheritedgetRepeaterItem (whichRepeater:int = -1):Object
지정된 Repeater 가 이 Repeater 를 생성하기 위해서 사용한 dataProvider 내의 아이템을 돌려줍니다. 이 Repeater 가 반복해지지 않은 경우는,null 를 돌려줍니다.
UIComponent
 InheritedgetStyle (styleProp:String ):*
이 컴퍼넌트의 스타일 참조 체인의 몇개의 장소로 설정된 스타일 property를 취득합니다.
UIComponent
 InheritedglobalToContent (point:Point ):Point
Point object를 글로벌 좌표로부터 컨텐츠 좌표로 변환합니다.
UIComponent
 InheritedglobalToLocal (point:Point ):Point
point object를 스테이지 (글로벌) 좌표로부터 표시 object의 (로컬) 좌표로 변환합니다.
DisplayObject
 InheritedhasEventListener (type:String ):Boolean
EventDispatcher object에, 특정의 event 타입에 대해서 등록된 listener가 있을지 어떨지를 확인합니다.
EventDispatcher
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedhitTestObject (obj:DisplayObject ):Boolean
표시 object를 평가해,obj 표시 object와 중복 또는 교차할지 어떨지를 조사합니다.
DisplayObject
 InheritedhitTestPoint (x:Number , y:Number , shapeFlag:Boolean = false):Boolean
표시 object를 평가해,xy Parameters로 지정된 포인트와 중복 또는 교차할지 어떨지를 조사합니다.
DisplayObject
 InheritedhorizontalGradientMatrix (x:Number , y:Number , width:Number , height:Number ):Matrix
수평 방향의 그라데이션을 묘화 할 경우에 rot Parameters로서 drawRoundRect() Methods에 건네줄 수 있는 박스의 Matrix 를 돌려줍니다.
UIComponent
 InheritedindexToItemRenderer (index:int ):IListItemRenderer
데이터 프로바이더내의 아이템의 인덱스에 대응하는 아이템 렌더러를 취득합니다 (존재하는 경우).
ListBase
 InheritedindicesToIndex (rowIndex:int , colIndex:int ):int
colIndex, rowIndex 위치에 있는 아이템의 데이터 프로바이더의 오프셋(offset)를 계산합니다.
ListBase
 Inheritedinitialize ():void
이 컴퍼넌트의 내부 구조를 초기화합니다.
UIComponent
 InheritedinitializeRepeaterArrays (parent:IRepeaterClient ):void
이 컴퍼넌트가 반복해지는 인스턴스를 추적하는 각종 property를 초기화합니다.
UIComponent
 InheritedinvalidateDisplayList ():void
다음에 화면이 갱신되고 있는 동안에 updateDisplayList() Methods가 불려 가도록(듯이), 컴퍼넌트를 마크 합니다.
UIComponent
 InheritedinvalidateList ():void
다음번의 갱신으로 모든 행을 갱신합니다.
ListBase
 InheritedinvalidateProperties ():void
다음에 화면이 갱신되고 있는 동안에 commitProperties() Methods가 불려 가도록(듯이), 컴퍼넌트를 마크 합니다.
UIComponent
 InheritedinvalidateSize ():void
다음에 화면이 갱신되고 있는 동안에 measure() Methods가 불려 가도록(듯이), 컴퍼넌트를 마크 합니다.
UIComponent
 InheritedisItemVisible (item:Object ):Boolean
아이템이 렌더러에 의해 표시되고 있는지 어떤지를 판별합니다.
ListBase
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 InheriteditemRendererContains (renderer:IListItemRenderer , object:DisplayObject ):Boolean
렌더러가 표시 object를 포함하고 있는 (소유하고 있다) 화도인지를 판별합니다.
ListBase
 InheriteditemRendererToIndex (itemRenderer:IListItemRenderer ):int
이 아이템 렌더러에 의해 렌더링 되는 아이템의 데이터 프로바이더내의 아이템의 인덱스를 돌려줍니다.
ListBase
 InheriteditemToDataTip (data:Object ):String
dataTipField property와 dataTipFunction property에 근거해, 지정된 데이터 object에 대해서 렌더러가 표시하는 dataTip string를 돌려줍니다.
ListBase
 InheriteditemToIcon (data:Object ):Class
데이터 아이템에 클래스의 아이콘이 있으면, 그 클래스를 돌려줍니다. iconField property와 iconFunction property에 근거합니다.
ListBase
 InheriteditemToItemRenderer (item:Object ):IListItemRenderer
데이터 프로바이더내의 지정 아이템에 대응하는 아이템 렌더러를 돌려줍니다 (존재하는 경우).
ListBase
 InheriteditemToLabel (data:Object ):String
labelField property와 labelFunction property에 근거해, 지정된 데이터 object에 대해서 렌더러가 표시하는 string를 돌려줍니다.
ListBase
 InheritedlocalToContent (point:Point ):Point
Point object를 로컬 좌표로부터 컨텐츠 좌표로 변환합니다.
UIComponent
 InheritedlocalToGlobal (point:Point ):Point
point object를 표시 object의 (로컬) 좌표로부터 스테이지 (글로벌) 좌표로 변환합니다.
DisplayObject
 InheritedmeasureHeightOfItems (index:int = -1, count:int = 0):Number
현재의 아이템 렌더러를 사용해, 데이터 프로바이더로부터 취득한 아이템세트를 측정해, 그러한 아이템의 높이의 합계를 돌려줍니다.
ListBase
 InheritedmeasureHTMLText (htmlText:String ):TextLineMetrics
이 UIComponent 의 스타일로 결정되는 UITextFormat 를 사용해 단일행의 UITextField 에 표시하는 것으로서<font><b> 와 같은 HTML 태그가 포함되는 지정의 HTML 텍스트를 측정합니다.
UIComponent
 InheritedmeasureText (text:String ):TextLineMetrics
이 UIComponent 의 스타일로 결정되는 UITextFormat 를 사용해 단일행의 UITextField 에 표시하는 것으로서 지정의 텍스트를 측정합니다.
UIComponent
 InheritedmeasureWidthOfItems (index:int = -1, count:int = 0):Number
현재의 아이템 렌더러를 사용해, 데이터 프로바이더로부터 취득한 아이템세트를 측정해, 발견된 최대폭을 돌려줍니다.
ListBase
 Inheritedmove (x:Number , y:Number ):void
부모의 내부의 지정된 위치에 컴퍼넌트를 이동합니다.
UIComponent
  nextPage ():void
다음의 데이터행세트를 표시합니다. 즉, PrintDataGrid verticalScrollPosition property를 verticalScrollPosition + (스크롤 가능한 행수)로 설정합니다.
PrintDataGrid
 InheritednotifyStyleChangeInChildren (styleProp:String , recursive:Boolean ):void
스타일의 변경을 아이에게 통지합니다.
UIComponent
 Inheritedowns (child:DisplayObject ):Boolean
owner property의 체인이 child 로부터 이 UIComponent 를 지정하고 있는 경우에,true 를 돌려줍니다.
UIComponent
 InheritedparentChanged (p:DisplayObjectContainer ):void
UIComponent object를 부모에 대해서 추가 또는 삭제했을 때에 Flex 에 의해 불려 갑니다.
UIComponent
 InheritedprepareToPrint (target:IFlexDisplayObject ):Object
인쇄용의 IFlexDisplayObject 를 준비합니다.
UIComponent
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedregenerateStyleCache (recursive:Boolean ):void
이 컴퍼넌트의 CSS 스타일 캐쉬를 작성 또는 재작성합니다. recursive Parameters가 true 의 경우는, 이 컴퍼넌트의 모든 자손의 CSS 스타일 캐쉬도 작성 또는 재작성합니다.
UIComponent
 InheritedregisterEffects (effects:Array ):void
각 effect 이벤트에 대해, EffectManager 를 event listener의 1 개로서 등록합니다.
UIComponent
 InheritedremoveChild (child:DisplayObject ):DisplayObject
DisplayObjectContainer 인스턴스의 아이 리스트로부터 지정의 child DisplayObject 인스턴스를 삭제합니다.
DisplayObjectContainer
 InheritedremoveChildAt (index:int ):DisplayObject
DisplayObjectContainer 의 아이 리스트의 지정된 index 위치로부터 아이 DisplayObject 를 삭제합니다.
DisplayObjectContainer
 InheritedremoveEventListener (type:String , listener:Function , useCapture:Boolean = false):void
EventDispatcher object로부터 listener를 삭제합니다.
EventDispatcher
 InheritedresumeBackgroundProcessing ():void
[static] suspendBackgroundProcessing() 가 불려 간 후,callLater() 에 의해 큐에 넣어진 Methods의 백그라운드 처리를 재개합니다.
UIComponent
 InheritedscrollToIndex (index:int ):Boolean
지정의 인덱스 위치에 있는 데이터 프로바이더 아이템을 가시 상태로 합니다.
ListBase
 InheritedsetActualSize (w:Number , h:Number ):void
object의 크기를 설정합니다.
UIComponent
 InheritedsetChildIndex (child:DisplayObject , index:int ):void
표시 object 컨테이너의 기존의 아이의 위치를 변경합니다.
DisplayObjectContainer
 InheritedsetCurrentState (stateName:String , playTransition:Boolean = true):void
현재 상태를 설정합니다.
UIComponent
 InheritedsetFocus ():void
현재 취급하고 있는 컴퍼넌트에 포커스를 설정합니다.
UIComponent
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
 InheritedsetStyle (styleProp:String , newValue:* ):void
이 컴퍼넌트 인스턴스의 스타일 property를 설정합니다.
UIComponent
 InheritedsetVisible (value:Boolean , noEvent:Boolean = false):void
visible property가 변경되었을 때에 불려 갑니다.
UIComponent
 InheritedstopDrag ():void
startDrag() Methods를 종료합니다.
Sprite
 InheritedstyleChanged (styleProp:String ):void
스타일 property의 변경을 검출합니다.
UIComponent
 InheritedstylesInitialized ():void
컴퍼넌트의 스타일을 처음으로 초기화할 때, Flex 는 stylesInitialized() Methods를 호출합니다.
UIComponent
 InheritedsuspendBackgroundProcessing ():void
[static] resumeBackgroundProcessing() 가 불려 갈 때까지,callLater() 에 의해 큐에 넣어진 Methods의 백그라운드 처리를 블록 합니다.
UIComponent
 InheritedswapChildren (child1:DisplayObject , child2:DisplayObject ):void
지정된 2 살의 아이 object의 z 순서 (겹침순서)를 바꿔 넣습니다.
DisplayObjectContainer
 InheritedswapChildrenAt (index1:int , index2:int ):void
아이 리스트내의 지정된 인덱스 위치에 해당하는 2 살의 아이 object의 z 순서 (겹침순서)를 바꿔 넣습니다.
DisplayObjectContainer
 InheritedtoString ():String
어플리케이션의 DisplayObject 의 계층 내부에서의 이 object의 위치를 나타내는 string를 돌려줍니다.
FlexSprite
 InheritedvalidateDisplayList ():void
아이의 위치와 크기를 검증해, 그 외의 비주얼 object를 묘화 합니다.
UIComponent
 InheritedvalidateNow ():void
필요에 따라서, 이 object의 property와 레이아웃을 검증 및 갱신해, 그것을 재묘화 합니다.
UIComponent
 InheritedvalidateProperties ():void
commitProperties() Methods를 호출해 컴퍼넌트의 property를 검증하기 위해서 레이아웃 논리에 의해 사용됩니다.
UIComponent
 InheritedvalidateSize (recursive:Boolean = false):void
LayoutManager.invalidateSize()Methods가 이 ILayoutManagerClient 를 지정해 불려 가 측정의 실행시에 validateSize()Methods가 불려 갔을 경우에, 컴퍼넌트의 측정 크기를 검증합니다.
UIComponent
 InheritedvalidationResultHandler (event:ValidationResultEvent ):void
이 컴퍼넌트에 할당할 수 있었던 발리 데이터로부터의 validinvalid 의 양쪽 모두의 이벤트를 처리합니다.
UIComponent
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
 InheritedverticalGradientMatrix (x:Number , y:Number , width:Number , height:Number ):Matrix
수직 방향의 그라데이션을 묘화 할 경우에 rot Parameters로서 drawRoundRect() Methods에 건네줄 수 있는 박스의 Matrix 를 돌려줍니다.
UIComponent
 InheritedwillTrigger (type:String ):Boolean
지정된 event 타입에 대해, 이 EventDispatcher object 또는 그 조상에게 event listener가 등록되어 있는지 어떤지를 확인합니다.
EventDispatcher
Protected Methods
 Methods정의
 InheritedaddDragData (ds:Object ):void
선택한 아이템을 드러그 & 드롭 조작의 일부로서 DragSource object에 추가합니다.
ListBase
 InheritedaddToFreeItemRenderers (item:IListItemRenderer ):void
비표시로 해, 참조를 클린 업 해, 렌더러를 리사이클 렌더러 리스트에 추가합니다.
ListBase
 InheritedadjustFocusRect (obj:DisplayObject = null):void
포커스 구형을 조정합니다.
UIComponent
 InheritedapplySelectionEffect (indicator:Sprite , uid:String , itemRenderer:IListItemRenderer ):void
선택 인디케이터(indicator)를 적용하기 위한 effect를 설정합니다.
ListBase
 InheritedattachOverlay ():void
이것은, Flex 체제가 Dissolve effect를 지원(support)하기 위해서 사용하는 내부 Methods입니다.
UIComponent
 InheritedcalculateDropIndicatorY (rowCount:Number , rowNum:int ):Number
드러그 & 드롭 조작을 실행할 경우에, 드롭 인디케이터(indicator)의 y 위치를 계산합니다.
ListBase
 InheritedcalculateRowHeight (data:Object , hh:Number , skipVisible:Boolean = false):Number
1 행에 포함되는 열의 행의 높이를 계산합니다.
DataGridBase
 InheritedchildrenCreated ():void
아이 object의 작성 후에 행해지는 최종 처리를 실행합니다.
UIComponent
 InheritedclearIndicators ():void
선택, 하이라이트, 및 caret의 인디케이터(indicator)를 삭제합니다.
ListBase
 InheritedclearSelected (transition:Boolean = false):void
선택한 아이템세트를 클리어 해, 그러한 아이템이 선택되고 있는 것을 나타내는 모든 그래픽을 삭제합니다.
ListBase
 InheritedclearSeparators ():void
열의 크기 변경시에 유저가 통상 사용하는 열헤더 separator를 삭제합니다.
DataGrid
 InheritedcollectionChangeHandler (event:Event ):void
데이터의 변경시에 데이터 프로바이더로부터 dispatch되는 CollectionEvents 를 처리합니다.
ListBase
 InheritedcommitProperties ():void
columnCount,columnWidth,rowHeight,rowCount 등의 property가 명시적으로 설정되어 있는지 어떤지에 근거해, 열의 폭, 행의 높이, 행수, 및 렬수를 계산합니다.
ListBase
 InheritedconfigureScrollBars ():void
행의 수, 열의 수, 표시 가능한 행의 수, 및 표시 가능한 열의 수에 근거해, ScrollBars 를 설정합니다.
ListBase
 InheritedcopySelectedItems (useDataField:Boolean = true):Array
선택한 아이템의 복사를 선택순서에 작성합니다.
ListBase
 InheritedcreateBorder ():void
이 컴퍼넌트의 경계선을 작성합니다.
ScrollControlBase
 InheritedcreateChildren ():void
이 ListBase 의 아이가 되는 object를 작성합니다. 이 경우는, 모든 아이템 렌더러를 보관 유지하는 listContent object가 됩니다.
ListBase
 InheriteddrawColumnBackground (s:Sprite , columnIndex:int , color:uint , column:DataGridColumn ):void
나타난 칼라를 사용해 열의 배경을 묘화 합니다.
DataGrid
 InheriteddrawHeaderBackground (headerBG:UIComponent ):void
지정된 UIComponent 내에 헤더의 배경을 묘화 합니다.
DataGrid
 InheriteddrawHorizontalLine (s:Sprite , rowIndex:int , color:uint , y:Number ):void
행간에 선을 묘화 합니다.
DataGrid
 InheriteddrawItem (item:IListItemRenderer , selected:Boolean = false, highlighted:Boolean = false, caret:Boolean = false, transition:Boolean = false):void
하이라이트, 선택, 또는 caret의 인디케이터(indicator)와 함께, 렌더러를 묘화 합니다.
ListBase
 InheriteddrawLinesAndColumnBackgrounds ():void
열의 사이의 선과 열의 배경을 묘화 합니다.
DataGrid
 InheriteddrawRowBackground (s:Sprite , rowIndex:int , y:Number , height:Number , color:uint , dataIndex:int ):void
위치, 높이, 색의 지정에 따라 행의 배경을 묘화 합니다.
DataGrid
 InheriteddrawRowBackgrounds ():void
행의 색, 경계선, 및 배경이 교대로 다르도록(듯이) 묘화 합니다.
ListBase
 InheriteddrawSeparators ():void
열의 크기 변경시에 유저가 통상 사용하는 열헤더 separator를 작성해 표시합니다.
DataGrid
 InheriteddrawVerticalLine (s:Sprite , colIndex:int , color:uint , x:Number ):void
렬간에 선을 묘화 합니다.
DataGrid
 InheritedfindKey (eventCode:int ):Boolean
eventCode Parameters의 캐릭터로 개시하는 다음의 아이템을 데이터 프로바이더내로부터 검색합니다.
ListBase
 InheritedfinishKeySelection ():void
선택한 아이템을 caretIndex property 및 anchorIndex property에 근거해 설정합니다.
ListBase
 InheritedfocusInHandler (event:FocusEvent ):void
UIComponent object가 포커스를 취득했을 때에 불려 가는 event 핸들러입니다.
UIComponent
 InheritedfocusOutHandler (event:FocusEvent ):void
UIComponent object가 포커스를 잃었을 때에 불려 가는 event 핸들러입니다.
UIComponent
 InheritedindexToColumn (index:int ):int
지정의 인덱스 위치에 있는 데이터 프로바이더 아이템의 열입니다.
ListBase
 InheritedindexToRow (index:int ):int
지정의 인덱스 위치에 있는 데이터 프로바이더 아이템의 행입니다.
ListBase
 InheritedinitializationComplete ():void
이 컴퍼넌트의 초기화를 완료시킵니다.
UIComponent
 InheritedinitializeAccessibility ():void
이 컴퍼넌트의 accessibility코드를 초기화합니다.
UIComponent
 InheritedisOurFocus (target:DisplayObject ):Boolean
통상, UITextField object가 포함되어 있는 컴퍼넌트 가운데, UITextField object가 포커스를 취득한 컴퍼넌트에 의해 재정의(override) 됩니다.
UIComponent
 InheriteditemRendererToIndices (item:IListItemRenderer ):Point
아이템 렌더러의 columnIndex 와 rowIndex 를 포함한 포인트를 돌려줍니다.
ListBase
 InheriteditemToUID (data:Object ):String
데이터 프로바이더 아이템의 UID 를 결정합니다.
ListBase
 InheritedkeyDownHandler (event:KeyboardEvent ):void
keyDown 이벤트에 대해서 불려 가는 event 핸들러입니다.
UIComponent
 InheritedkeyUpHandler (event:KeyboardEvent ):void
keyUp 이벤트에 대해서 불려 간 event 핸들러입니다.
UIComponent
 InheritedlayoutChrome (unscaledWidth:Number , unscaledHeight:Number ):void
크기 변경에 응답해, 이 컨트롤의 경계선의 위치 및 크기를 설정합니다.
ScrollControlBase
 InheritedmakeRowsAndColumns (left:Number , top:Number , right:Number , bottom:Number , firstColumn:int , firstRow:int , byCount:Boolean = false, rowsNeeded:uint = 0):Point
좌, 상, 우, 하에 의해 나타난 area가 메워지도록(듯이) 충분한 행 및 열을 작성합니다.
ListBase
 Inheritedmeasure ():void
컴퍼넌트의 폭과 높이의 측정치를rowCount,columnCount,rowHeight,columnWidth의 각 property에 근거해 계산합니다.
ListBase
 InheritedscrollHandler (event:Event ):void
scroll 이벤트의 디폴트의 event 핸들러입니다.
ScrollControlBase
 InheritedscrollHorizontally (pos:int , deltaPos:int , scrollUp:Boolean ):void
스크롤 위치의 변화에 응답해 렌더러를 조정합니다.
ListBase
 InheritedscrollPositionToIndex (horizontalScrollPosition:int , verticalScrollPosition:int ):int
지정한 스크롤 위치에서 최초로 표시되는 행과 열의 아이템에 대응하는 데이터 프로바이더 인덱스를 돌려줍니다.
ListBase
 InheritedscrollVertically (pos:int , deltaPos:int , scrollUp:Boolean ):void
스크롤 위치의 변화에 응답해 렌더러를 조정합니다.
ListBase
 InheritedseekPendingFailureHandler (data:Object , info:ListBaseSeekPending ):void
페이지 폴트가 원인이 되어 시크가 실패했을 경우에 사용되는 디폴트 실패 핸들러입니다.
ListBase
 InheritedseekPendingResultHandler (data:Object , info:ListBaseSeekPending ):void
페이지 폴트가 원인이 되어 시크가 실패했을 경우에 사용되는 디폴트 결과 핸들러입니다.
ListBase
 InheritedsetRowCount (v:int ):void
rowCount property를 설정합니다. 이 경우, 무효화는 행해지지 않고, 행수를 영속적으로 고정하는 explicitRowCount property도 설정되지 않습니다.
ListBase
 InheritedsetRowHeight (v:Number ):void
Sets rowHeight property를 설정합니다. 이 경우, 무효화는 행해지지 않고, 행의 높이를 영속적으로 고정하는 explicitRowHeight property도 설정되지 않습니다.
ListBase
 InheritedupdateDisplayList (unscaledWidth:Number , unscaledHeight:Number ):void
표시 가능한 아이템의 수가 변경되었을 경우에, 아이템 렌더러를 추가 또는 삭제합니다.
ListBase
 InheritedupdateList ():void
모든 행을 금방 갱신합니다.
ListBase
이벤트
 이벤트일람정의
 Inheritedactivate Flash Player 가 operating system의 포커스를 취득해, 액티브하게 되었을 때에 dispatch됩니다. DisplayObject
 Inheritedadd addChild() Methods 또는 addChildAt() Methods를 사용해 컴퍼넌트를 컨텐츠의 아이로서 컨테이너에 추가했을 때에 dispatch됩니다. UIComponent
 Inheritedadded 표시 object가 표시 리스트에 추가되었을 때에 dispatch됩니다. DisplayObject
 Inheritedchange 유저의 조작에 의해 selectedIndex property 또는 selectedItem property가 변경될 때 dispatch됩니다. ListBase
 InheritedcolumnStretch 유저가 열의 폭을 변경했을 때에 dispatch되어 그 열에 표시되는 데이터량이 변화한 것을 나타냅니다. DataGrid
 InheritedcreationComplete 컴퍼넌트의 구축, property 처리, 측정, 레이아웃, 및 묘화가 완료했을 때에 dispatch됩니다. UIComponent
 InheritedcurrentStateChange 뷰스테이트의 변경 후에 dispatch됩니다. UIComponent
 InheritedcurrentStateChanging currentState property가 변경된 후에 dispatch됩니다. 뷰스테이트가 변경되기 전에는 dispatch되지 않습니다. UIComponent
 InheriteddataChange data property가 변경되었을 때에 dispatch됩니다. ListBase
 Inheriteddeactivate Flash Player 가 operating system의 포커스를 잃어, 비액티브하게 되었을 때에 dispatch됩니다. DisplayObject
 InheritedenterFrame 재생 헤드가 새로운 프레임에 들어갈 때 dispatch됩니다. DisplayObject
 InheritedenterState 컴퍼넌트가 르트뷰스테이트에 돌아온 후에 dispatch됩니다. UIComponent
 InheritedexitState 컴퍼넌트가 르트뷰스테이트를 종료하기 전에 dispatch됩니다. UIComponent
 InheritedfocusIn 표시 object가 포커스를 취득한 후에dispatch됩니다. InteractiveObject
 InheritedfocusOut 표시 object가 포커스를 잃은 후에dispatch됩니다. InteractiveObject
 InheritedheaderShift 유저가 열을 새로운 위치에 드러그 한 후, 열헤더 위에서 mouse button를 떼어 놓아, 새로운 인덱스에 열이 이동했을 때에 dispatch됩니다. DataGrid
 Inheritedhide object 상태가 가시로부터 불가시에 변화했을 때에 dispatch됩니다. UIComponent
 Inheritedinitialize 컴퍼넌트의 구축과 초기화 property의 설정이 완료했을 때에 dispatch됩니다. UIComponent
 Inheritedinvalid 발리 데이터에 의해 컴퍼넌트가 감시되고 있어 검증이 실패했을 경우에 dispatch됩니다. UIComponent
 InheritedkeyFocusChange 유저가 키보드 조작에 의해 포커스를 변경하려고 하면 dispatch됩니다. InteractiveObject
 Inheritedmove object가 이동했을 때에 dispatch됩니다. UIComponent
 Inheritedpreinitialize 컴퍼넌트의 초기화 순차 순서의 초에 dispatch됩니다. UIComponent
 Inheritedremove removeChild() 또는 removeChildAt() Methods를 사용해 컴퍼넌트를 컨텐츠의 아이로서 컨테이너로부터 삭제했을 때에 dispatch됩니다. UIComponent
 Inheritedremoved 표시 object가 표시 리스트로부터 삭제 되려고 하고 있을 때 dispatch됩니다. DisplayObject
 Inheritedrender 표시 리스트가 갱신 및 렌더링 되려고 하고 있을 때 dispatch됩니다. DisplayObject
 Inheritedresize 컴퍼넌트의 크기가 변경되었을 때에 dispatch됩니다. UIComponent
 Inheritedscroll 컨텐츠가 스크롤 되었을 때에 dispatch됩니다. ScrollControlBase
 Inheritedshow object 상태가 불가시로부터 가시에 변화했을 때에 dispatch됩니다. UIComponent
 InheritedtabChildrenChange object의 tabChildren 플래그의 값이 변경되었을 때에 dispatch됩니다. InteractiveObject
 InheritedtabEnabledChange object의 tabEnabled 플래그가 변경되었을 때에 dispatch됩니다. InteractiveObject
 InheritedtabIndexChange object의 tabIndex property의 값이 변경되었을 때에 dispatch됩니다. InteractiveObject
 InheritedupdateComplete object의 commitProperties(),measure(), 및 updateDisplayList() Methods가 필요에 따라서 불려 갔을 때에 dispatch됩니다. UIComponent
 Inheritedvalid 발리 데이터에 의해 컴퍼넌트가 감시되고 있어 검증이 성공했을 경우에 dispatch됩니다. UIComponent
 InheritedvalueCommit 프로그램 또는 유저 조작의 어느 쪽인가에 따라, 값이 변경되었을 때에 dispatch됩니다. UIComponent
스타일
 스타일설명정의
 InheritedalternatingItemColors 형태: Array   형식: Color   CSS 의 Inheritance: yes
리스트내의 아이템의 배경색으로서 사용되는 칼라입니다.
ListBase
 InheritedbackgroundAlpha 형태: Number   CSS 의 Inheritance: no
backgroundColor property로 정의되고 있는 색의 알파 레벨, 또는 backgroundImage 스타일로 정의되고 있는 이미지 또는 SWF 파일의 알파 레벨입니다.
ScrollControlBase
 InheritedbackgroundColor 형태: uint   형식: Color   CSS 의 Inheritance: no
컴퍼넌트의 배경색입니다.
ScrollControlBase
 InheritedbackgroundDisabledColor 형태: uint   형식: Color   CSS 의 Inheritance: yes
DataGrid 를 무효로 했을 경우의 배경색입니다.
DataGrid
 InheritedbackgroundImage 형태: Object   형식: File   CSS 의 Inheritance: no
컴퍼넌트의 배경 이미지입니다.
ScrollControlBase
 InheritedbackgroundSize 형태: String   CSS 의 Inheritance: no
backgroundImage 로 지정되고 있는 이미지를, 원의 크기와는 다른 크기에 확대 및 축소합니다.
ScrollControlBase
 InheritedborderColor 형태: uint   형식: Color   CSS 의 Inheritance: no
경계선의 색입니다.
ScrollControlBase
 InheritedborderSides 형태: String   CSS 의 Inheritance: no
경계 박스의 경계 가운데, 어떤 것이 표시되는지를 나타냅니다.
ScrollControlBase
 InheritedborderSkin 형태: Class   CSS 의 Inheritance: no
컴퍼넌트의 경계의 스킨입니다.
ScrollControlBase
 InheritedborderStyle 형태: String   CSS 의 Inheritance: no
경계 박스 보기 스타일입니다.
ScrollControlBase
 InheritedborderThickness 형태: Number   형식: Length   CSS 의 Inheritance: no
경계 박스의 경계선의 폭입니다.
ScrollControlBase
 Inheritedbottom 형태: Number   형식: Length   CSS 의 Inheritance: no
컴퍼넌트의 하단으로부터 부모 컨테이너의 하단까지의 수직 거리 (픽셀 단위)를 나타냅니다.
UIComponent
 Inheritedcolor 형태: uint   형식: Color   CSS 의 Inheritance: yes
컴퍼넌트의 label를 포함한 컴퍼넌트내의 텍스트의 색입니다.
ScrollControlBase
 InheritedcornerRadius 형태: Number   형식: Length   CSS 의 Inheritance: no
컴퍼넌트의 모퉁이를 뒤따르고 있는 둥그스름의 반경입니다.
ScrollControlBase
 InheriteddisabledColor 형태: uint   형식: Color   CSS 의 Inheritance: yes
컴퍼넌트가 무효인 경우의 텍스트의 색입니다.
ScrollControlBase
 InheriteddropShadowColor 형태: uint   형식: Color   CSS 의 Inheritance: yes
드롭섀도우의 색입니다.
ScrollControlBase
 InheriteddropShadowEnabled 형태: Boolean   CSS 의 Inheritance: no
컴퍼넌트의 드롭섀도우 보기 또는 비표시를 지정하는 불형 property입니다.
ScrollControlBase
 InheritederrorColor 형태: uint   형식: Color   CSS 의 Inheritance: yes
검증이 실패했을 경우의 컴퍼넌트의 하이라이트의 색입니다.
UIComponent
 InheritedfocusAlpha 형태: Number   CSS 의 Inheritance: no
포커스 스킨의 알파 투명도 값을 지정합니다.
ListBase
 InheritedfocusBlendMode 형태: String   CSS 의 Inheritance: no
포커스 구형으로 사용되는 브렌드 모드입니다.
UIComponent
 InheritedfocusRoundedCorners 형태: String   CSS 의 Inheritance: no
포커스 구형의 어느 모퉁이를 둥글게 하는지를 지정합니다.
ListBase
 InheritedfocusSkin 형태: Class   CSS 의 Inheritance: no
포커스 구형의 묘화에 사용하는 스킨입니다.
UIComponent
 InheritedfocusThickness 형태: Number   형식: Length   CSS 의 Inheritance: no
포커스 구형의 아우트라인의 폭 (픽셀 단위)을 나타냅니다.
UIComponent
 InheritedfontAntiAliasType 형태: String   CSS 의 Inheritance: yes
내부 TextField 의 antiAliasType property를 설정합니다.
ScrollControlBase
 InheritedfontFamily 형태: String   CSS 의 Inheritance: yes
사용하는 폰트의 이름입니다.
ScrollControlBase
 InheritedfontGridFitType 형태: String   CSS 의 Inheritance: yes
Flex 컨트롤내의 텍스트를 나타내는 내부 TextField 의 gridFitType property를 설정합니다.
ScrollControlBase
 InheritedfontSharpness 형태: Number   CSS 의 Inheritance: yes
Flex 컨트롤내의 텍스트를 나타내는 내부 TextField 의 sharpness property를 설정합니다.
ScrollControlBase
 InheritedfontSize 형태: Number   형식: Length   CSS 의 Inheritance: yes
텍스트의 높이 (픽셀 단위)입니다.
ScrollControlBase
 InheritedfontStyle 형태: String   CSS 의 Inheritance: yes
텍스트를 이탤릭체로 할지 어떨지를 지정합니다.
ScrollControlBase
 InheritedfontThickness 형태: Number   CSS 의 Inheritance: yes
Flex 컨트롤내의 텍스트를 나타내는 내부 TextField 의 thickness property를 설정합니다.
ScrollControlBase
 InheritedfontWeight 형태: String   CSS 의 Inheritance: yes
텍스트를 볼드체로 할지 어떨지를 지정합니다.
ScrollControlBase
 InheritedheaderColors 형태: Array   형식: Color   CSS 의 Inheritance: yes
헤더의 배경 그라데이션의 묘화에 사용되는 2 색의 배열입니다.
DataGrid
 InheritedheaderSeparatorSkin 형태: Class   CSS 의 Inheritance: no
DataGrid 헤더와 grid 보디간의 단락 기호의 스킨으로서 사용하는 클래스입니다.
DataGrid
 InheritedheaderStyleName 형태: String   CSS 의 Inheritance: no
열헤더의 다른 외관 요소를 제어하는 CSS 스타일 선언의 이름입니다.
DataGrid
 InheritedhorizontalCenter 형태: Number   형식: Length   CSS 의 Inheritance: no
컴퍼넌트의 부모 컨테이너 속 진심으로 컴퍼넌트의 중심까지의 수평거리 (픽셀 단위)를 나타냅니다.
UIComponent
 InheritedhorizontalGridLineColor 형태: uint   형식: Color   CSS 의 Inheritance: yes
옆의 grid lines의 색.
DataGrid
 InheritedhorizontalGridLines 형태: Boolean   CSS 의 Inheritance: no
행의 사이에 옆의 grid lines을 표시할지 어떨지를 나타내는 플래그입니다.
DataGrid
 Inheritedleading 형태: Number   형식: Length   CSS 의 Inheritance: no
추가의 행간을 나타냅니다.
ScrollControlBase
 Inheritedleft 형태: Number   형식: Length   CSS 의 Inheritance: no
컴퍼넌트의 부모 컨테이너의 좌단으로부터 컴퍼넌트의 좌단까지의 수평거리 (픽셀 단위)를 나타냅니다.
UIComponent
 InheritedpaddingBottom 형태: Number   형식: Length   CSS 의 Inheritance: no
행의 하단과 은행내의 렌더러의 하단의 사이의 픽셀수입니다.
ListBase
 InheritedpaddingLeft 형태: Number   형식: Length   CSS 의 Inheritance: no
컨테이너의 왼쪽의 경계와 컨텐츠 area의 좌단과의 사이의 픽셀수입니다.
ListBase
 InheritedpaddingRight 형태: Number   형식: Length   CSS 의 Inheritance: no
컨테이너의 오른쪽의 경계와 컨텐츠 area의 우단과의 사이의 픽셀수입니다.
ListBase
 InheritedpaddingTop 형태: Number   형식: Length   CSS 의 Inheritance: no
행의 상단과 은행내의 렌더러의 상단의 사이의 픽셀수입니다.
ListBase
 InheritedrepeatDelay 형태: Number   형식: Time   CSS 의 Inheritance: no
최초의 buttonDown 이벤트로부터,repeatInterval 로 지정된 값으로 buttonDown 이벤트의 반복을 개시할 때까지의 대기 시간 (밀리 세컨드 단위)입니다.
ScrollControlBase
 InheritedrepeatInterval 형태: Number   형식: Time   CSS 의 Inheritance: no
유저가 버튼을 계속 눌렀을 경우에,buttonDown 이벤트를 반복하는 간격 (밀리 세컨드)입니다.
ScrollControlBase
 Inheritedright 형태: Number   형식: Length   CSS 의 Inheritance: no
컴퍼넌트의 우단으로부터 부모 컨테이너의 우단까지의 수평거리 (픽셀 단위)를 나타냅니다.
UIComponent
 InheritedshadowDirection 형태: String   CSS 의 Inheritance: no
드롭섀도우의 방향입니다.
ScrollControlBase
 InheritedshadowDistance 형태: Number   형식: Length   CSS 의 Inheritance: no
드롭섀도우의 폭입니다.
ScrollControlBase
 InheritedsortArrowSkin 형태: Class   CSS 의 Inheritance: no
열의 소트 방향을 나타내는 화살표의 스킨으로서 사용하는 클래스입니다.
DataGrid
 InheritedstretchCursor 형태: Class   CSS 의 Inheritance: no
열을 크기 변경할 수 있는 것을 나타내는 커서의 스킨으로서 사용하는 클래스입니다.
DataGrid
 InheritedtextAlign 형태: String   CSS 의 Inheritance: yes
컨테이너내의 텍스트의 정렬.
ScrollControlBase
 InheritedtextDecoration 형태: String   CSS 의 Inheritance: no
텍스트에 밑줄을 표시할지 어떨지를 지정합니다.
ScrollControlBase
 InheritedtextIndent 형태: Number   형식: Length   CSS 의 Inheritance: yes
텍스트의 1 행 째의 컨테이너 좌단으로부터의 오프셋(offset) (픽셀 단위)입니다.
ScrollControlBase
 InheritedthemeColor 형태: uint   형식: Color   CSS 의 Inheritance: yes
컴퍼넌트의 테마 칼라입니다.
UIComponent
 Inheritedtop 형태: Number   형식: Length   CSS 의 Inheritance: no
컴퍼넌트의 부모 컨테이너의 상단으로부터 컴퍼넌트의 상단까지의 수직 거리 (픽셀 단위)를 나타냅니다.
UIComponent
 InheritedverticalAlign 형태: String   CSS 의 Inheritance: no
은행내의 렌더러의 수직 방향의 배치입니다.
ListBase
 InheritedverticalCenter 형태: Number   형식: Length   CSS 의 Inheritance: no
컴퍼넌트의 부모 컨테이너 속 진심으로 컴퍼넌트의 중심까지의 수직 거리 (픽셀 단위)를 나타냅니다.
UIComponent
 InheritedverticalGridLineColor 형태: uint   형식: Color   CSS 의 Inheritance: yes
세로의 grid lines의 색.
DataGrid
 InheritedverticalGridLines 형태: Boolean   CSS 의 Inheritance: no
열의 사이에 세로의 grid lines을 표시할지 어떨지를 나타내는 플래그입니다.
DataGrid
Public 정수
 정수정의
 InheritedDEFAULT_MAX_HEIGHT : Number = 10000
[static] maxHeight property의 디폴트치입니다.
UIComponent
 InheritedDEFAULT_MAX_WIDTH : Number = 10000
[static] maxWidth property의 디폴트치입니다.
UIComponent
 InheritedDEFAULT_MEASURED_HEIGHT : Number = 22
[static] measuredHeight property의 디폴트치입니다.
UIComponent
 InheritedDEFAULT_MEASURED_MIN_HEIGHT : Number = 22
[static] measuredMinHeight property의 디폴트치입니다.
UIComponent
 InheritedDEFAULT_MEASURED_MIN_WIDTH : Number = 40
[static] measuredMinWidth property의 디폴트치입니다.
UIComponent
 InheritedDEFAULT_MEASURED_WIDTH : Number = 160
[static] measuredWidth property의 디폴트치입니다.
UIComponent
property의 상세
currentPageHeightproperty
currentPageHeight:Number   [read-only]

sizeToPage property가 true 로, PrintDataGrid 가 전체를 표시할 수 있는 행만을 표시해, 부분적인 행은 표시하지 않는 경우의 PrintDataGrid 의 높이입니다. sizeToPage property가 true 의 경우, 이 property의 값은 height property와 동일해집니다.

Implements
    public function get currentPageHeight():Number
originalHeightproperty 
originalHeight:Number   [read-only]

유저에 의해 설정된 PrintDataGrid 의 높이입니다. sizeToPage property가 false 의 경우, 이 property의 값은 height property와 동일해집니다.

Implements
    public function get originalHeight():Number
sizeToPageproperty 
public var sizeToPage:Boolean = true

true 의 경우, PrintDataGrid 는 높이를 재조정해, 전체를 표시할 수 있는 행만을 표시합니다.

validNextPageproperty 
validNextPage:Boolean   [read-only]

데이터 프로바이더에는 PrintDataGrid 컨트롤로 현재 표시되고 있는 행에 계속되는 추가 데이터행이 포함되어 있는 것을 나타냅니다.

Implements
    public function get validNextPage():Boolean
constructor    의 상세
PrintDataGrid()constructor   
public 함수 PrintDataGrid()

constructor   .

스크롤 바 또는 이하의 유저 조작이 없는 DataGrid 를 작성합니다. 열의 소트, 크기 변경, 드러그 스크롤, 선택, 키보드 조작. 디폴트의 높이는, 컨테이너의 높이의 100% 또는 모든 dataProvider 의 행을 표시하기 위해서 필요한 높이의 언젠가 작은 편입니다.

Methods의 상세
nextPage()Methods
public function nextPage():void

다음의 데이터행세트를 표시합니다. 즉, PrintDataGrid verticalScrollPosition property를 verticalScrollPosition + (스크롤 가능한 행수)로 설정합니다.

Examples
FormPrintHeader
<? xml version="1.0"? >
<! -- Custom control for the header area of the printed page.  -->

<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="60%"
    horizontalAlign="right" >

    <mx:Label text="This is a placeholder for first page contents"/>
</mx:VBox>
FormPrintFooter
<? xml version="1.0"? >
<! -- Custom control for the footer area of the printed page.  -->

<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="60%"
    horizontalAlign="right" >
    <! -- Declare and initialize the product total variable.  -->

    <mx:Script>
        <! [CDATA[
            [Bindable]
            public var pTotal:Number = 0;
        ]]>
    </mx:Script>
    <mx:Label text="Product Total: {pTotal}"/>
</mx:VBox>
FormPrintView
<? xml version="1.0"? >
<! -- Custom control to print the DataGrid control on multiple pages.  -->

<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" backgroundColor="#FFFFFF"
    paddingTop="50" paddingBottom="50" paddingLeft="50">

    <mx:Script>
        <! [CDATA[
            import mx.core. *
            // Declare and initialize the variables used in the component.
            // The application sets the actual prodTotal value.
            [Bindable]
            public var pageNumber:Number = 1;
            [Bindable]
            public var prodTotal:Number = 0;

            // Control the page contents by selectively hiding the header and
            // footer based on the page type.
            public function showPage(pageType:String) :void {
                if(pageType == "first" || pageType == "middle") {
                    // Hide the footer.
                    footer.includeInLayout=false;
                    footer.visible = false;
                }
                if(pageType == "middle" || pageType == "last") {
                    // The header won't be used again; hide it.
                    header.includeInLayout=false;
                    header.visible = false;
                }
                if(pageType == "last") {
                    // Show the footer.
                    footer.includeInLayout=true;
                    footer.visible = true;
                }
                //Update the DataGrid layout to reflect the results.
                validateNow();
            }        
        ]]>
    </mx:Script>

    <! -- The template for the printed page, with the contents for all pages.  -->
    <mx:VBox width="80%" horizontalAlign="left">
        <mx:Label text="Page {pageNumber}"/>
    </mx:VBox>

    <FormPrintHeader id="header" />
    <! -- The data grid.  The sizeToPage property is true by default, so the last
        page has only as many grid rows as are needed for the data.  -->
    <mx:PrintDataGrid id="myDataGrid" width="60%" height="100%">
    <! -- Specify the columns to ensure that their order is correct.  -->
        <mx:columns>
            <mx:DataGridColumn dataField="Index" />
            <mx:DataGridColumn dataField="Qty" />
        </mx:columns>
    </mx:PrintDataGrid>

    <! -- Create a FormPrintFooter control and set its prodTotal variable.  -->
    <FormPrintFooter id="footer" pTotal="{prodTotal}" />

</mx:VBox>
PrintDataGridExample
<? xml version="1.0"? >
<! -- Main application to print a DataGrid control on multiple pages.  -->

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="initData();">

    <mx:Script>
        <! [CDATA[

        import mx.printing. *;
        import mx.collections.ArrayCollection;
        import FormPrintView;

        // Declare variables and initialize simple variables.
        [Bindable]
        public var dgProvider:ArrayCollection;
        public var footerHeight:Number = 20;
        public var prodIndex:Number;
        public var prodTotal:Number = 0;
        
        // Data initialization.
        public function initData() :void {
            // Create the data provider for the DataGrid control.
            dgProvider = new ArrayCollection; 
        }
        
        // Fill the dgProvider ArrayCollection with the specified items.
        public function setdgProvider(items:int) :void {    

            prodIndex=1;
            dgProvider.removeAll();
            for (var z:int=0; z<items; z++)    
            {
                var prod1:Object = {};
                prod1.Qty = prodIndex * 7;
                prod1.Index = prodIndex++;
                prodTotal += prod1.Qty; 
                dgProvider.addItem(prod1);
            }
        }

        // The function to print the output.
        public function doPrint() :void {

            var printJob:FlexPrintJob = new FlexPrintJob();
            if (printJob.start()) {
                // Create a FormPrintView control as a child of the current view.
                var thePrintView:FormPrintView = new FormPrintView();
               Application.application.addChild(thePrintView);
                
                //Set the print view properties.
                thePrintView.width=printJob.pageWidth;
                thePrintView.height=printJob.pageHeight;
                thePrintView.prodTotal = prodTotal;
                // Set the data provider of the FormPrintView component's data grid
                // to be the data provider of the displayed data grid.
                thePrintView.myDataGrid.dataProvider = myDataGrid.dataProvider;
                // Create a single-page image.
                thePrintView.showPage("single");
                // If the print image's data grid can hold all the provider's rows, 
                // add the page to the print job.  
                if(! thePrintView.myDataGrid.validNextPage)
                {
                    printJob.addObject(thePrintView);
                }
                // Otherwise, the job requires multiple pages.
                else
                {
                    // Create the first page and add it to the print job.
                    thePrintView.showPage("first");
                    printJob.addObject(thePrintView);
                    thePrintView.pageNumber++;
                    // Loop through the following code until all pages are queued.
                    while(true)
                    {
                        // Move the next page of data to the top of the print grid.
                        thePrintView.myDataGrid.nextPage();
                        thePrintView.showPage("last");    
                        // If the page holds the remaining data, or if the last page 
                        // was completely filled by the last grid data, queue it for printing.
                        // Test if there is data for another PrintDataGrid page.
                        if(! thePrintView.myDataGrid.validNextPage) 
                        {
                            // This is the last page; queue it and exit the print loop.
                            printJob.addObject(thePrintView);
                            break;
                        }
                        else
                        // This is not the last page.  Queue a middle page.  
                        {
                            thePrintView.showPage("middle");
                            printJob.addObject(thePrintView);
                            thePrintView.pageNumber++;
                        }
                    }
                }
                // All pages are queued; remove the FormPrintView control to free memory.
                Application.application.removeChild(thePrintView);
            }
            // Send the job to the printer.
            printJob.send();
        }
        ]]>
    </mx:Script>

    <mx:Panel title="CheckBox Control Example" height="75%" width="75%" 
        paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">

        <mx:DataGrid id="myDataGrid" dataProvider="{dgProvider}">
            <mx:columns>
                <mx:DataGridColumn dataField="Index"/>
                <mx:DataGridColumn dataField="Qty"/>
            </mx:columns>
        </mx:DataGrid>

        <mx:Text width="100%" color="blue"
            text="Specify the number of lines and click Fill Grid first.  Then you can click Print. "/>

        <mx:TextInput id="dataItems" text="35"/>

        <mx:HBox>
            <mx:Button id="setDP" label="Fill Grid" click="setdgProvider(int(dataItems.text));"/>
            <mx:Button id="printDG" label="Print" click="doPrint();"/>
        </mx:HBox>
    </mx:Panel>
</mx:Application>






 

코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트

현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/printing/PrintDataGrid.html