| Package | mx.printing |
| Class | public class PrintDataGrid |
| Inheritance | PrintDataGrid DataGrid DataGridBase ListBase ScrollControlBase UIComponent FlexSprite Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
MXML 문장구조법의 비표시
<mx:PrintDataGrid> 태그는, Super 클래스의 태그 속성을 Inheritance합니다. 다만, 유저의 조작에 관련지을 수 있었던 property, 스타일, 이벤트, 및 effect (또는 Methods)는 사용하지 않습니다. <mx:PrintDataGrid> 태그는, 다음의 태그 속성을 추가합니다.
<mx:PrintDataGrid property sizeToPage="true|false" > ... </mx:PrintDataGrid>
See also
| property | 정의 | ||
|---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
이 표시 object의 현재의 accessibility options입니다.
| DisplayObject | |
![]() | alpha : Number
지정된 object의 알파 투명도 값을 나타냅니다.
| DisplayObject | |
![]() | baselinePosition : Number
컴퍼넌트의 텍스트의 1 행 째의 baseline y 좌표를 지정합니다.
| UIComponent | |
![]() | blendMode : String
사용하는 브렌드 모드를 지정하는 BlendMode 클래스의 값입니다.
| DisplayObject | |
![]() | borderMetrics : EdgeMetrics
4 개의 property를 가지는 EdgeMetrics object를 돌려줍니다. 이 property란,
left,top,right, 및 bottom 입니다. | ScrollControlBase | |
![]() | buttonMode : Boolean
이 스프라이트의 버튼 모드를 지정합니다.
| Sprite | |
![]() | cacheAsBitmap : Boolean
true 로 설정되어 있는 경우, 표시 object의 내부 비트 맵 표현이 Flash Player 에 캐쉬됩니다. | DisplayObject | |
![]() | cacheHeuristic : Boolean
object의 비트 맵 캐쉬를 제안하기 위해서(때문에) Flex 에 의해 사용됩니다.
| UIComponent | |
![]() | cachePolicy : String
이 object의 비트 맵 캐쉬 policy를 지정합니다.
| UIComponent | |
![]() | className : String
이 인스턴스의 클래스명입니다. 예를 들어,
"Button" 등이 있습니다. | UIComponent | |
![]() | columns : Array
표시 가능한 각각의 열에 대응한 DataGridColumn object의 배열입니다.
| DataGrid | |
![]() | columnWidth : Number
컨트롤의 열의 폭입니다.
| ListBase | |
![]() | constructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor 함수에의 참조입니다.
| Object | |
![]() | contentMouseX : Number
컨텐츠 좌표계에 있어서의 마우스의 x 위치를 돌려줍니다.
| UIComponent | |
![]() | contentMouseY : Number
컨텐츠 좌표계에 있어서의 마우스의 y 위치를 돌려줍니다.
| UIComponent | |
![]() | contextMenu : ContextMenu
이 object에 관련지을 수 있었던 context menu를 지정합니다.
| InteractiveObject | |
| currentPageHeight : Number
[read-only]
sizeToPage property가 true 로, PrintDataGrid 가 전체를 표시할 수 있는 행만을 표시해, 부분적인 행은 표시하지 않는 경우의 PrintDataGrid 의 높이입니다. | PrintDataGrid | ||
![]() | currentState : String
컴퍼넌트의 현재의 뷰스테이트입니다.
| UIComponent | |
![]() | data : Object
이 컴퍼넌트를 아이템 렌더러 또는 아이템 에디터로서 사용할 경우에, 이 컴퍼넌트에 의해 데이터 프로바이더상에 렌더링 되는 아이템입니다.
| ListBase | |
![]() | dataProvider : Object
표시하는 데이터세트입니다.
| ListBase | |
![]() | descriptor : UIComponentDescriptor
이 UIComponent 인스턴스의 작성을 위해서(때문에)
createComponentFromDescriptor() Methods로 사용한 UIComponentDescriptor 에의 참조입니다 (존재하는 경우). | UIComponent | |
![]() | document : Object
이 UIComponent 에 관련지을 수 있었던 문서 object에의 참조입니다.
| UIComponent | |
![]() | enabled : Boolean
컴퍼넌트가 유저의 조작을 받아들일 수가 있을지 어떨지를 지정합니다.
| UIComponent | |
![]() | errorString : String
발리 데이터에 의해 컴퍼넌트를 감시하고 있을 때, 검증이 실패했을 경우에, 그 컴퍼넌트의 에러 힌트에 표시되는 텍스트입니다.
| UIComponent | |
![]() | explicitHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 명시적인 높이 (픽셀 단위)를 지정하는 수치입니다.
| UIComponent | |
![]() | explicitMaxHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최대의 높이 (픽셀 단위)를 지정하는 수치입니다.
| UIComponent | |
![]() | explicitMaxWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최대의 폭 (픽셀 단위)을 지정하는 수치입니다.
| UIComponent | |
![]() | explicitMinHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최소의 높이 (픽셀 단위)를 지정하는 수치입니다.
| UIComponent | |
![]() | explicitMinWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최소의 폭 (픽셀 단위)을 지정하는 수치입니다.
| UIComponent | |
![]() | explicitWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 명시적인 폭 (픽셀 단위)을 지정하는 수치입니다.
| UIComponent | |
![]() | filters : Array
표시 object에 현재 관련지을 수 있고 있는 각 필터 object가 포함되고 있는 인덱스 첨부의 배열입니다.
| DisplayObject | |
![]() | focusEnabled : Boolean
컴퍼넌트가, 클릭되었을 때에 포커스를 받아들일 수 있을지 어떨지를 나타냅니다.
| UIComponent | |
![]() | focusManager : IFocusManager
이 컴퍼넌트와 그 피어-에 대한 포커스를 제어하는 FocusManager 를 취득합니다.
| UIComponent | |
![]() | focusPane : Sprite
이 object에 관련지을 수 있었던 포카스페인입니다.
| UIComponent | |
![]() | focusRect : Object
이 object가 포커스 구형을 표시할지 어떨지를 지정합니다.
| InteractiveObject | |
![]() | graphics : Graphics
벡터의 묘화 커멘드가 발생하는, 이 스프라이트에 속하는 Graphics object를 지정합니다.
| Sprite | |
![]() | headerHeight : Number
열의 헤더 셀의 높이 (픽셀 단위)입니다.
| DataGridBase | |
![]() | height : Number
부모의 좌표내에 있어서의 컴퍼넌트의 높이 (픽셀 단위)를 지정하는 수치입니다.
| UIComponent | |
![]() | hitArea : Sprite
스프라이트의 히트 area가 되는 다른 스프라이트를 지정합니다.
| Sprite | |
![]() | horizontalScrollPosition : Number
좌단으로부터 컨텐츠에의 오프셋(offset)입니다.
| DataGrid | |
![]() | id : String
컴퍼넌트의 ID 입니다.
| UIComponent | |
![]() | imeMode : String
IME (입력 Methods 에디터)의 모드를 지정합니다.
| DataGrid | |
![]() | includeInLayout : Boolean
이 컴퍼넌트를 부모 컨테이너의 레이아웃에 포함할지 어떨지를 지정합니다.
| UIComponent | |
![]() | inheritingStyles : Object
이 컴퍼넌트의 Inheritance 스타일의 체인의 시작입니다.
| UIComponent | |
![]() | initialized : Boolean
object가 레이아웃의 이하의 3 개의 단계를 모두 완료한 것일지 어떨지를 나타내는 플래그입니다. 처리, 측정, 및 레이아웃 (몇개의 단계가 필수였을 경우).
| UIComponent | |
![]() | instanceIndex : int
반복해지는 컴퍼넌트의 인덱스입니다.
| UIComponent | |
![]() | instanceIndices : Array
이 UIComponent object를 친문서로부터 참조하기 위해서 필요한 인덱스를 포함한 배열입니다.
| UIComponent | |
![]() | isDocument : Boolean
이 UIComponent 인스턴스가 문서 object인지, 즉 Flex 어플리케이션, MXML 컴퍼넌트, 또는 ActionScript 컴퍼넌트의 계층의 최상정도에 위치할지 어떨지를 지정합니다.
| UIComponent | |
![]() | isPopUp : Boolean
컴퍼넌트가 pop-up 된 것을 나타내기 (위해)때문에, PopUpManager 에 의해
true 로 설정됩니다. | UIComponent | |
![]() | itemEditorInstance : IListItemRenderer
현재 액티브한 아이템 에디터의 인스턴스에의 참조입니다 (존재하는 경우).
| DataGrid | |
![]() | itemRenderer : IFactory
컨트롤의 custom 아이템 렌더러입니다.
| ListBase | |
![]() | labelFunction : Function
label를 결정하는 각 아이템으로 실행되는 유저 지정의 함수입니다.
| ListBase | |
![]() | listData : BaseListData
드롭 인 아이템 렌더러 또는 드롭 인 아이템 에디터로서 사용하면, 이 컴퍼넌트의
listData property가, 리스트 컨트롤로부터의 추가 데이터로 초기화됩니다. | ListBase | |
![]() | liveScrolling : Boolean = true
샘의 이동에 맞추어 스크롤 하는지, 샘이 떼어 놓아질 때까지 표시를 갱신하지 않는가를 나타내는 플래그입니다.
| ScrollControlBase | |
![]() | loaderInfo : LoaderInfo
이 표시 object가 속하는 파일의 로드 정보를 포함한 LoaderInfo object를 돌려줍니다.
| DisplayObject | |
![]() | lockedColumnCount : int
스크롤 하는 컨트롤내의 최초의 열의 인덱스입니다.
| ListBase | |
![]() | lockedRowCount : int
스크롤 하는 컨트롤내의 최초의 행의 인덱스입니다.
| ListBase | |
![]() | mask : DisplayObject
호출원 display object는, 지정된
mask object에 의해 마스크 됩니다. | DisplayObject | |
![]() | maxHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최대의 높이 (픽셀 단위)를 지정하는 수치입니다.
| UIComponent | |
![]() | maxWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최대의 폭 (픽셀 단위)을 지정하는 수치입니다.
| UIComponent | |
![]() | measuredHeight : Number
컴퍼넌트의 디폴트의 높이입니다 (픽셀 단위).
| UIComponent | |
![]() | measuredMinHeight : Number
컴퍼넌트의 디폴트의 최소 높이입니다 (픽셀 단위).
| UIComponent | |
![]() | measuredMinWidth : Number
컴퍼넌트의 디폴트의 최소폭입니다 (픽셀 단위).
| UIComponent | |
![]() | measuredWidth : Number
컴퍼넌트의 디폴트의 폭입니다 (픽셀 단위).
| UIComponent | |
![]() | menuSelectionMode : Boolean = false
메뉴 선택 방식을 사용할지 어떨지를 나타내는 플래그입니다.
| ListBase | |
![]() | minColumnWidth : Number
열의 최소폭입니다 (픽셀 단위).
| DataGrid | |
![]() | minHeight : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최소의 높이 (픽셀 단위)를 지정하는 수치입니다.
| UIComponent | |
![]() | minWidth : Number
컴퍼넌트의 좌표내에 있어서의 컴퍼넌트의 최소의 폭 (픽셀 단위)을 지정하는 수치입니다.
| UIComponent | |
![]() | mouseChildren : Boolean
object의 아이에 대해서 마우스가 유효한가 어떤가를 조사합니다.
| DisplayObjectContainer | |
![]() | mouseEnabled : Boolean
이 object가 마우스 메세지를 받아들일지 어떨지를 지정합니다.
| InteractiveObject | |
![]() | mouseFocusEnabled : Boolean
클릭했을 때, 포커스를 받아들일 수 있을지 어떨지를 나타냅니다.
| UIComponent | |
![]() | mouseX : Number
마우스 위치의 x 좌표를 나타냅니다 (픽셀 단위).
| DisplayObject | |
![]() | mouseY : Number
마우스 위치의 y 좌표를 나타냅니다 (픽셀 단위).
| DisplayObject | |
![]() | name : String
DisplayObject 의 인스턴스명을 나타냅니다.
| DisplayObject | |
![]() | nestLevel : int
object 계층에 있어서의 이 object의 심도를 나타냅니다.
| UIComponent | |
![]() | nonInheritingStyles : Object
이 컴퍼넌트의 비Inheritance 스타일의 체인의 시작입니다.
| UIComponent | |
![]() | numChildren : int
이 object의 아이의 수를 돌려줍니다.
| DisplayObjectContainer | |
![]() | opaqueBackground : Object
표시 object가 특정의 배경색으로 불투명한지 어떤지를 지정합니다.
| DisplayObject | |
| originalHeight : Number
[read-only]
유저에 의해 설정된 PrintDataGrid 의 높이입니다.
| PrintDataGrid | ||
![]() | owner : DisplayObjectContainer
이 UIComponent 의 오너.
| UIComponent | |
![]() | parent : DisplayObjectContainer
이 컴퍼넌트의 부모 컨테이너 또는 친컴퍼넌트입니다.
| UIComponent | |
![]() | parentApplication : Object
이 UIComponent 인스턴스를 포함한 Application object에의 참조입니다.
| UIComponent | |
![]() | parentDocument : Object
이 UIComponent 에 대한 친문서 object에의 참조입니다.
| UIComponent | |
![]() | percentHeight : Number
컴퍼넌트의 높이를 부모의 크기에 대한 비율 (퍼센티지)로 지정하는 수치입니다.
| UIComponent | |
![]() | percentWidth : Number
컴퍼넌트의 폭을 부모의 크기에 대한 비율 (퍼센티지)로 지정하는 수치입니다.
| UIComponent | |
![]() | processedDescriptors : Boolean
아이를 곧바로 생성하는지, 지연 생성한 후, 이 몇개의 발생에 응해,
true 로 설정됩니다. | UIComponent | |
![]() | prototype : Object
[static]
클래스 또는 함수 object의 prototype object에의 참조입니다.
| Object | |
![]() | repeater : IRepeater
이 UIComponent 를 작성한 Repeater object (친문서내에 있다)에의 참조입니다.
| UIComponent | |
![]() | repeaterIndex : int
이 UIComponent 를 작성한 Repeater 의 데이터 프로바이더내에 있는 아이템의 인덱스입니다.
| UIComponent | |
![]() | repeaterIndices : Array
이 UIComponent 를 생성한, 친문서내에 있는 Repeater 의 데이터 프로바이더에 포함되는 아이템의 인덱스를 포함한 배열입니다.
| UIComponent | |
![]() | repeaters : Array
이 UIComponent 를 작성한 Repeater object (친문서내에 있다)에의 참조를 포함한 배열입니다.
| UIComponent | |
![]() | resizableColumns : Boolean = true
열의 크기를 유저가 변경할 수 있을지 어떨지를 나타내는 플래그입니다.
| DataGrid | |
![]() | root : DisplayObject
로드 된 SWF 파일내 display object의 경우,
root property는 그 SWF 파일이 나타내는 표시 리스트의 트리 구조 부분의 맨 위에 있는 표시 object가 됩니다. | DisplayObject | |
![]() | rotation : Number
DisplayObject 인스턴스의 원래의 위치로부터의 회전각을 번단위로 가리킵니다.
| DisplayObject | |
![]() | rowCount : int
표시되는 행의 수입니다.
| ListBase | |
![]() | rowHeight : Number
행의 높이입니다 (픽셀 단위).
| ListBase | |
![]() | scale9Grid : Rectangle
현재 유효한 확대 / 축소 격자입니다.
| DisplayObject | |
![]() | scaleX : Number
수평 방향의 확대 / 축소의 비율을 지정하는 수치입니다.
| UIComponent | |
![]() | scaleY : Number
수직 방향의 신축율을 지정하는 수치입니다.
| UIComponent | |
![]() | screen : Rectangle
이 object의 기본적인 묘화면의 크기와 위치를 포함한 object를 돌려줍니다.
| UIComponent | |
![]() | scrollRect : Rectangle
표시 object의 스크롤 구형의 경계.
| DisplayObject | |
![]() | showHeaders : Boolean
컨트롤에 열헤더를 표시할지 어떨지를 나타내는 플래그입니다.
| DataGridBase | |
sizeToPage : Boolean = truetrue 의 경우, PrintDataGrid 는 높이를 재조정해, 전체를 표시할 수 있는 행만을 표시합니다. | PrintDataGrid | ||
![]() | sortableColumns : Boolean = true
데이터 프로바이더 아이템을 유저가 열해더 셀의 클릭 조작으로 소트 할 수 있을지 어떨지를 나타내는 플래그입니다.
| DataGrid | |
![]() | soundTransform : SoundTransform
이 스프라이트내의 사운드를 제어합니다.
| Sprite | |
![]() | stage : Stage
표시 object의 스테이지.
| DisplayObject | |
![]() | states : Array
이 컴퍼넌트에 대해서 정의된 뷰스테이트.
| UIComponent | |
![]() | styleDeclaration : CSSStyleDeclaration
이 object의 inline의 Inheritance 스타일의 기억역입니다.
| UIComponent | |
![]() | styleName : Object
이 컴퍼넌트로 사용하는 클래스 스타일.
| UIComponent | |
![]() | systemManager : ISystemManager
이 컴퍼넌트로 사용하는 SystemManager object를 돌려줍니다.
| UIComponent | |
![]() | tabChildren : Boolean
object의 아이에 대해서 탭이 유효한가 어떤가를 조사합니다.
| DisplayObjectContainer | |
![]() | tabEnabled : Boolean
이 object가 탭 순서에 포함될지 어떨지를 지정합니다.
| InteractiveObject | |
![]() | tabIndex : int
SWF 파일내의 object의 탭 순서를 지정합니다.
| InteractiveObject | |
![]() | textSnapshot : TextSnapshot
이 DisplayObjectContainer 인스턴스의 TextSnapshot object를 돌려줍니다.
| DisplayObjectContainer | |
![]() | transform : Transform
표시 object의 매트릭스, 칼라 변환, 픽셀 경계에 관계하는 property를 가지는 object입니다.
| DisplayObject | |
![]() | transitions : Array
Transition object의 배열입니다. 각 Transition object에는, 뷰스테이트가 변화했을 때에 재생되는 effect세트가 정의됩니다.
| UIComponent | |
![]() | tweeningProperties : Array
이 object에 대해서 현재 트인 되고 있는 property의 배열.
| UIComponent | |
![]() | uid : String
object의 일의의 식별자입니다.
| UIComponent | |
![]() | updateCompletePendingFlag : Boolean
object가 3 단계의 레이아웃 검증을 완료한 것일지 어떨지를 나타내는 플래그입니다 (몇개의 검증이 필수였을 경우).
| UIComponent | |
![]() | validationSubField : String
이 컴퍼넌트에 subfield를 관련짓기 위해서(때문에) 발리 데이터에 의해 사용됩니다.
| UIComponent | |
| validNextPage : Boolean
[read-only]
데이터 프로바이더에는 PrintDataGrid 컨트롤로 현재 표시되고 있는 행에 계속되는 추가 데이터행이 포함되어 있는 것을 나타냅니다.
| PrintDataGrid | ||
![]() | value : Object
선택한 아이템인가, 또는 선택한 아이템의 데이터 필드 또는 라벨 필드입니다.
| ListBase | |
![]() | variableRowHeight : Boolean
행 마다 다른 높이를 설정할 수 있을지 어떨지를 나타내는 플래그입니다.
| ListBase | |
![]() | verticalScrollPosition : Number
상단으로부터 컨텐츠에의 오프셋(offset)입니다.
| ScrollControlBase | |
![]() | viewMetrics : EdgeMetrics
스크롤 바를 고려하는 EdgeMetrics object (가시의 경우).
| ScrollControlBase | |
![]() | visible : Boolean
이 UIComponent 의 가시성을 제어합니다.
| UIComponent | |
![]() | width : Number
부모의 좌표내에 있어서의 컴퍼넌트의 폭 (픽셀 단위)을 지정하는 수치입니다.
| UIComponent | |
![]() | wordWrap : Boolean
은행내의 텍스트를 되풀이할지 어떨지를 나타내는 플래그입니다.
| ListBase | |
![]() | x : Number
부모 컨테이너내에 있어서의 컴퍼넌트의 수평 위치 (픽셀 단위)를 지정하는 수치입니다.
| UIComponent | |
![]() | y : Number
부모 컨테이너내에 있어서의 컴퍼넌트의 수직 위치 (픽셀 단위)를 지정하는 수치입니다.
| UIComponent | |
| Methods | 정의 | ||
|---|---|---|---|
| PrintDataGrid ()
constructor .
| PrintDataGrid | ||
![]() | addChild (child:DisplayObject ):DisplayObject
이 DisplayObjectContainer 인스턴스에 아이 DisplayObject 인스턴스를 추가합니다.
| DisplayObjectContainer | |
![]() | addChildAt (child:DisplayObject , index:int ):DisplayObject
이 DisplayObjectContainer 인스턴스에 아이 DisplayObject 인스턴스를 추가합니다.
| DisplayObjectContainer | |
![]() | addEventListener (type:String , listener:Function , useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
event listener objects를 EventDispatcher object에 등록해, listener가 이벤트의 통지를 받도록(듯이) 합니다.
| EventDispatcher | |
![]() | areInaccessibleObjectsUnderPoint (point:Point ):Boolean
특정의
point 포인트를 지정해 호출한 DisplayObjectContainer.getObjectsUnderPoint() Methods로부터 돌려주어진 리스트에, 시큐러티상의 제약을 위해서(때문에) 생략 되는 표시 object가 있을지 어떨지를 나타냅니다. | DisplayObjectContainer | |
![]() | callLater (method:Function , args:Array = null):void
다음에 호출하는 함수를 큐에 포함합니다.
| UIComponent | |
![]() | clearStyle (styleProp:String ):void
이 컴퍼넌트 인스턴스로부터 스타일 property를 삭제합니다.
| UIComponent | |
![]() | contains (child:DisplayObject ):Boolean
지정된 표시 object가, DisplayObjectContainer 인스턴스의 아이인지, 인스턴스 자체인지를 지정합니다.
| DisplayObjectContainer | |
![]() | contentToGlobal (point:Point ):Point
Point object를 컨텐츠 좌표로부터 글로벌 좌표로 변환합니다. | UIComponent | |
![]() | contentToLocal (point:Point ):Point
Point object를 컨텐츠 좌표로부터 로컬 좌표로 변환합니다. | UIComponent | |
![]() | createReferenceOnParentDocument (parentDocument:IFlexDisplayObject ):void
이 IUIComponent object에의
id 참조를 친문서 object상에 작성합니다. | UIComponent | |
![]() | deleteReferenceOnParentDocument (parentDocument:IFlexDisplayObject ):void
이 IUIComponent object에의
id 참조를 친문서 object로부터 삭제합니다. | UIComponent | |
![]() | determineTextFormatFromStyles ():UITextFormat
이 UIComponent 의 텍스트 스타일에 대응하는 UITextFormat object를 돌려줍니다.
| UIComponent | |
![]() | dispatchEvent (event:Event ):Boolean
이벤트를 event 플로우(flow)에 dispatch합니다.
| EventDispatcher | |
![]() | drawFocus (focused:Boolean ):void
이 컴퍼넌트를 둘러싸는 포커스 인디케이터(indicator)를 표시 또는 비표시로 합니다.
| UIComponent | |
![]() | drawRoundRect (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 | |
![]() | endEffectsStarted ():void
현재 컴퍼넌트로 재생중의 모든 effect를 종료합니다.
| UIComponent | |
![]() | executeBindings (recurse:Boolean = false):void
이 UIComponent object에의 데이터 바인딩을 실행합니다.
| UIComponent | |
![]() | findString (str:String ):Boolean
string에 근거해 리스트내의 아이템을 검색해, 선택을 이동합니다.
| ListBase | |
![]() | finishPrint (obj:Object , target:IFlexDisplayObject ):void
인쇄의 완료 후에 불려 갑니다.
| UIComponent | |
![]() | getBounds (targetCoordinateSpace:DisplayObject ):Rectangle
targetCoordinateSpace object의 좌표계를 기준으로 해, 표시 object의 area를 정의하는 구형을 돌려줍니다. | DisplayObject | |
![]() | getChildAt (index:int ):DisplayObject
지정의 인덱스 위치에 있는 아이 표시 object 인스턴스를 돌려줍니다.
| DisplayObjectContainer | |
![]() | getChildByName (name:String ):DisplayObject
지정된 이름에 일치하는 아이 표시 object를 돌려줍니다.
| DisplayObjectContainer | |
![]() | getChildIndex (child:DisplayObject ):int
child DisplayObject 인스턴스의 인덱스 위치를 돌려줍니다. | DisplayObjectContainer | |
![]() | getClassStyleDeclarations ():Array
이 UIComponent 인스턴스의 타입 selector를 찾습니다.
| UIComponent | |
![]() | getExplicitOrMeasuredHeight ():Number
명시된 높이를 사용하는지, 그렇지 않으면 측정한 높이를 사용하는지를 결정하는 편리한 Methods입니다.
| UIComponent | |
![]() | getExplicitOrMeasuredWidth ():Number
명시적인 폭 또는 측정폭을 사용할지 어떨지를 결정하기 위한 편리한 Methods입니다.
| UIComponent | |
![]() | getFocus ():InteractiveObject
현재 포커스를 가지고 있는 object를 취득합니다.
| UIComponent | |
![]() | getObjectsUnderPoint (point:Point ):Array
지정된 포인트아래에 있어, 이 DisplayObjectContainer 인스턴스의 아이 또는 손자등인 object의 배열을 돌려줍니다.
| DisplayObjectContainer | |
![]() | getRect (targetCoordinateSpace:DisplayObject ):Rectangle
셰이프상의 선을 제외해,
targetCoordinateSpace Parameters에 의해 정의된 좌표계에 근거해, 표시 object의 경계를 정의하는 구형을 돌려줍니다. | DisplayObject | |
![]() | getRepeaterItem (whichRepeater:int = -1):Object
지정된 Repeater 가 이 Repeater 를 생성하기 위해서 사용한
dataProvider 내의 아이템을 돌려줍니다. 이 Repeater 가 반복해지지 않은 경우는,null 를 돌려줍니다. | UIComponent | |
![]() | getStyle (styleProp:String ):*
이 컴퍼넌트의 스타일 참조 체인의 몇개의 장소로 설정된 스타일 property를 취득합니다.
| UIComponent | |
![]() | globalToContent (point:Point ):Point
Point object를 글로벌 좌표로부터 컨텐츠 좌표로 변환합니다. | UIComponent | |
![]() | globalToLocal (point:Point ):Point
point object를 스테이지 (글로벌) 좌표로부터 표시 object의 (로컬) 좌표로 변환합니다. | DisplayObject | |
![]() | hasEventListener (type:String ):Boolean
EventDispatcher object에, 특정의 event 타입에 대해서 등록된 listener가 있을지 어떨지를 확인합니다.
| EventDispatcher | |
![]() | hasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
| Object | |
![]() | hitTestObject (obj:DisplayObject ):Boolean
표시 object를 평가해,
obj 표시 object와 중복 또는 교차할지 어떨지를 조사합니다. | DisplayObject | |
![]() | hitTestPoint (x:Number , y:Number , shapeFlag:Boolean = false):Boolean
표시 object를 평가해,
x 및 y Parameters로 지정된 포인트와 중복 또는 교차할지 어떨지를 조사합니다. | DisplayObject | |
![]() | horizontalGradientMatrix (x:Number , y:Number , width:Number , height:Number ):Matrix
수평 방향의 그라데이션을 묘화 할 경우에
rot Parameters로서 drawRoundRect() Methods에 건네줄 수 있는 박스의 Matrix 를 돌려줍니다. | UIComponent | |
![]() | indexToItemRenderer (index:int ):IListItemRenderer
데이터 프로바이더내의 아이템의 인덱스에 대응하는 아이템 렌더러를 취득합니다 (존재하는 경우).
| ListBase | |
![]() | indicesToIndex (rowIndex:int , colIndex:int ):int
colIndex, rowIndex 위치에 있는 아이템의 데이터 프로바이더의 오프셋(offset)를 계산합니다.
| ListBase | |
![]() | initialize ():void
이 컴퍼넌트의 내부 구조를 초기화합니다.
| UIComponent | |
![]() | initializeRepeaterArrays (parent:IRepeaterClient ):void
이 컴퍼넌트가 반복해지는 인스턴스를 추적하는 각종 property를 초기화합니다.
| UIComponent | |
![]() | invalidateDisplayList ():void
다음에 화면이 갱신되고 있는 동안에
updateDisplayList() Methods가 불려 가도록(듯이), 컴퍼넌트를 마크 합니다. | UIComponent | |
![]() | invalidateList ():void
다음번의 갱신으로 모든 행을 갱신합니다.
| ListBase | |
![]() | invalidateProperties ():void
다음에 화면이 갱신되고 있는 동안에
commitProperties() Methods가 불려 가도록(듯이), 컴퍼넌트를 마크 합니다. | UIComponent | |
![]() | invalidateSize ():void
다음에 화면이 갱신되고 있는 동안에
measure() Methods가 불려 가도록(듯이), 컴퍼넌트를 마크 합니다. | UIComponent | |
![]() | isItemVisible (item:Object ):Boolean
아이템이 렌더러에 의해 표시되고 있는지 어떤지를 판별합니다.
| ListBase | |
![]() | isPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
| Object | |
![]() | itemRendererContains (renderer:IListItemRenderer , object:DisplayObject ):Boolean
렌더러가 표시 object를 포함하고 있는 (소유하고 있다) 화도인지를 판별합니다.
| ListBase | |
![]() | itemRendererToIndex (itemRenderer:IListItemRenderer ):int
이 아이템 렌더러에 의해 렌더링 되는 아이템의 데이터 프로바이더내의 아이템의 인덱스를 돌려줍니다.
| ListBase | |
![]() | itemToDataTip (data:Object ):String
dataTipField property와 dataTipFunction property에 근거해, 지정된 데이터 object에 대해서 렌더러가 표시하는 dataTip string를 돌려줍니다.
| ListBase | |
![]() | itemToIcon (data:Object ):Class
데이터 아이템에 클래스의 아이콘이 있으면, 그 클래스를 돌려줍니다. iconField property와 iconFunction property에 근거합니다.
| ListBase | |
![]() | itemToItemRenderer (item:Object ):IListItemRenderer
데이터 프로바이더내의 지정 아이템에 대응하는 아이템 렌더러를 돌려줍니다 (존재하는 경우).
| ListBase | |
![]() | itemToLabel (data:Object ):String
labelField property와 labelFunction property에 근거해, 지정된 데이터 object에 대해서 렌더러가 표시하는 string를 돌려줍니다.
| ListBase | |
![]() | localToContent (point:Point ):Point
Point object를 로컬 좌표로부터 컨텐츠 좌표로 변환합니다. | UIComponent | |
![]() | localToGlobal (point:Point ):Point
point object를 표시 object의 (로컬) 좌표로부터 스테이지 (글로벌) 좌표로 변환합니다. | DisplayObject | |
![]() | measureHeightOfItems (index:int = -1, count:int = 0):Number
현재의 아이템 렌더러를 사용해, 데이터 프로바이더로부터 취득한 아이템세트를 측정해, 그러한 아이템의 높이의 합계를 돌려줍니다.
| ListBase | |
![]() | measureHTMLText (htmlText:String ):TextLineMetrics
이 UIComponent 의 스타일로 결정되는 UITextFormat 를 사용해 단일행의 UITextField 에 표시하는 것으로서
<font> 나 <b> 와 같은 HTML 태그가 포함되는 지정의 HTML 텍스트를 측정합니다. | UIComponent | |
![]() | measureText (text:String ):TextLineMetrics
이 UIComponent 의 스타일로 결정되는 UITextFormat 를 사용해 단일행의 UITextField 에 표시하는 것으로서 지정의 텍스트를 측정합니다.
| UIComponent | |
![]() | measureWidthOfItems (index:int = -1, count:int = 0):Number
현재의 아이템 렌더러를 사용해, 데이터 프로바이더로부터 취득한 아이템세트를 측정해, 발견된 최대폭을 돌려줍니다.
| ListBase | |
![]() | move (x:Number , y:Number ):void
부모의 내부의 지정된 위치에 컴퍼넌트를 이동합니다.
| UIComponent | |
| nextPage ():void
다음의 데이터행세트를 표시합니다. 즉, PrintDataGrid
verticalScrollPosition property를 verticalScrollPosition + (스크롤 가능한 행수)로 설정합니다. | PrintDataGrid | ||
![]() | notifyStyleChangeInChildren (styleProp:String , recursive:Boolean ):void
스타일의 변경을 아이에게 통지합니다.
| UIComponent | |
![]() | owns (child:DisplayObject ):Boolean
owner property의 체인이 child 로부터 이 UIComponent 를 지정하고 있는 경우에,true 를 돌려줍니다. | UIComponent | |
![]() | parentChanged (p:DisplayObjectContainer ):void
UIComponent object를 부모에 대해서 추가 또는 삭제했을 때에 Flex 에 의해 불려 갑니다.
| UIComponent | |
![]() | prepareToPrint (target:IFlexDisplayObject ):Object
인쇄용의 IFlexDisplayObject 를 준비합니다.
| UIComponent | |
![]() | propertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
| Object | |
![]() | regenerateStyleCache (recursive:Boolean ):void
이 컴퍼넌트의 CSS 스타일 캐쉬를 작성 또는 재작성합니다.
recursive Parameters가 true 의 경우는, 이 컴퍼넌트의 모든 자손의 CSS 스타일 캐쉬도 작성 또는 재작성합니다. | UIComponent | |
![]() | registerEffects (effects:Array ):void
각 effect 이벤트에 대해, EffectManager 를 event listener의 1 개로서 등록합니다.
| UIComponent | |
![]() | removeChild (child:DisplayObject ):DisplayObject
DisplayObjectContainer 인스턴스의 아이 리스트로부터 지정의
child DisplayObject 인스턴스를 삭제합니다. | DisplayObjectContainer | |
![]() | removeChildAt (index:int ):DisplayObject
DisplayObjectContainer 의 아이 리스트의 지정된
index 위치로부터 아이 DisplayObject 를 삭제합니다. | DisplayObjectContainer | |
![]() | removeEventListener (type:String , listener:Function , useCapture:Boolean = false):void
EventDispatcher object로부터 listener를 삭제합니다.
| EventDispatcher | |
![]() | resumeBackgroundProcessing ():void
[static]
suspendBackgroundProcessing() 가 불려 간 후,callLater() 에 의해 큐에 넣어진 Methods의 백그라운드 처리를 재개합니다. | UIComponent | |
![]() | scrollToIndex (index:int ):Boolean
지정의 인덱스 위치에 있는 데이터 프로바이더 아이템을 가시 상태로 합니다.
| ListBase | |
![]() | setActualSize (w:Number , h:Number ):void
object의 크기를 설정합니다.
| UIComponent | |
![]() | setChildIndex (child:DisplayObject , index:int ):void
표시 object 컨테이너의 기존의 아이의 위치를 변경합니다.
| DisplayObjectContainer | |
![]() | setCurrentState (stateName:String , playTransition:Boolean = true):void
현재 상태를 설정합니다.
| UIComponent | |
![]() | setFocus ():void
현재 취급하고 있는 컴퍼넌트에 포커스를 설정합니다.
| UIComponent | |
![]() | setPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
| Object | |
![]() | setStyle (styleProp:String , newValue:* ):void
이 컴퍼넌트 인스턴스의 스타일 property를 설정합니다.
| UIComponent | |
![]() | setVisible (value:Boolean , noEvent:Boolean = false):void
visible property가 변경되었을 때에 불려 갑니다. | UIComponent | |
![]() | stopDrag ():void
startDrag() Methods를 종료합니다. | Sprite | |
![]() | styleChanged (styleProp:String ):void
스타일 property의 변경을 검출합니다.
| UIComponent | |
![]() | stylesInitialized ():void
컴퍼넌트의 스타일을 처음으로 초기화할 때, Flex 는
stylesInitialized() Methods를 호출합니다. | UIComponent | |
![]() | suspendBackgroundProcessing ():void
[static]
resumeBackgroundProcessing() 가 불려 갈 때까지,callLater() 에 의해 큐에 넣어진 Methods의 백그라운드 처리를 블록 합니다. | UIComponent | |
![]() | swapChildren (child1:DisplayObject , child2:DisplayObject ):void
지정된 2 살의 아이 object의 z 순서 (겹침순서)를 바꿔 넣습니다.
| DisplayObjectContainer | |
![]() | swapChildrenAt (index1:int , index2:int ):void
아이 리스트내의 지정된 인덱스 위치에 해당하는 2 살의 아이 object의 z 순서 (겹침순서)를 바꿔 넣습니다.
| DisplayObjectContainer | |
![]() | toString ():String
어플리케이션의 DisplayObject 의 계층 내부에서의 이 object의 위치를 나타내는 string를 돌려줍니다.
| FlexSprite | |
![]() | validateDisplayList ():void
아이의 위치와 크기를 검증해, 그 외의 비주얼 object를 묘화 합니다.
| UIComponent | |
![]() | validateNow ():void
필요에 따라서, 이 object의 property와 레이아웃을 검증 및 갱신해, 그것을 재묘화 합니다.
| UIComponent | |
![]() | validateProperties ():void
commitProperties() Methods를 호출해 컴퍼넌트의 property를 검증하기 위해서 레이아웃 논리에 의해 사용됩니다. | UIComponent | |
![]() | validateSize (recursive:Boolean = false):void
LayoutManager.invalidateSize()Methods가 이 ILayoutManagerClient 를 지정해 불려 가 측정의 실행시에 validateSize()Methods가 불려 갔을 경우에, 컴퍼넌트의 측정 크기를 검증합니다. | UIComponent | |
![]() | validationResultHandler (event:ValidationResultEvent ):void
이 컴퍼넌트에 할당할 수 있었던 발리 데이터로부터의
valid 와 invalid 의 양쪽 모두의 이벤트를 처리합니다. | UIComponent | |
![]() | valueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
| Object | |
![]() | verticalGradientMatrix (x:Number , y:Number , width:Number , height:Number ):Matrix
수직 방향의 그라데이션을 묘화 할 경우에
rot Parameters로서 drawRoundRect() Methods에 건네줄 수 있는 박스의 Matrix 를 돌려줍니다. | UIComponent | |
![]() | willTrigger (type:String ):Boolean
지정된 event 타입에 대해, 이 EventDispatcher object 또는 그 조상에게 event listener가 등록되어 있는지 어떤지를 확인합니다.
| EventDispatcher | |
| currentPageHeight | property |
currentPageHeight:Number [read-only]
sizeToPage property가 true 로, PrintDataGrid 가 전체를 표시할 수 있는 행만을 표시해, 부분적인 행은 표시하지 않는 경우의 PrintDataGrid 의 높이입니다. sizeToPage property가 true 의 경우, 이 property의 값은 height property와 동일해집니다.
public function get currentPageHeight():Number
| originalHeight | property |
originalHeight:Number [read-only]
유저에 의해 설정된 PrintDataGrid 의 높이입니다. sizeToPage property가 false 의 경우, 이 property의 값은 height property와 동일해집니다.
public function get originalHeight():Number
| sizeToPage | property |
public var sizeToPage:Boolean = true
true 의 경우, PrintDataGrid 는 높이를 재조정해, 전체를 표시할 수 있는 행만을 표시합니다.
| validNextPage | property |
validNextPage:Boolean [read-only]데이터 프로바이더에는 PrintDataGrid 컨트롤로 현재 표시되고 있는 행에 계속되는 추가 데이터행이 포함되어 있는 것을 나타냅니다.
Implements public function get validNextPage():Boolean
| PrintDataGrid | () | constructor |
public 함수 PrintDataGrid()constructor .
스크롤 바 또는 이하의 유저 조작이 없는 DataGrid 를 작성합니다. 열의 소트, 크기 변경, 드러그 스크롤, 선택, 키보드 조작. 디폴트의 높이는, 컨테이너의 높이의 100% 또는 모든 dataProvider 의 행을 표시하기 위해서 필요한 높이의 언젠가 작은 편입니다.
| nextPage | () | Methods |
public function nextPage():void
다음의 데이터행세트를 표시합니다. 즉, PrintDataGrid verticalScrollPosition property를 verticalScrollPosition + (스크롤 가능한 행수)로 설정합니다.
<? 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>
<? 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>
<? 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>
<? 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