JavaTM Platform
Standard Ed. 6

클래스
java.awt.dnd.DropTargetContext 의 사용

DropTargetContext 를 사용하고 있는 패키지
java.awt.dnd 드래그&드롭 조작은, 많은 그래피컬 사용자 인터페이스 시스템으로 볼 수 있는 직접적인 조작 제스처(gesture)로, GUI 의 표현 요소에 논리적으로 관련한 2 개의 엔티티간에 정보를 변환하는 기구를 제공합니다.  
 

java.awt.dnd 에서의 DropTargetContext 의 사용
 

DropTargetContext 로서 선언되고 있는 java.awt.dnd 의 필드
protected  DropTargetContext DropTargetEvent. context
          이 DropTargetEvent 에 관련한 DropTargetContext 입니다.
 

DropTargetContext 를 돌려주는 java.awt.dnd 의 메소드
protected  DropTargetContext DropTarget. createDropTargetContext ()
          이 DropTarget 에 관련한 DropTargetContext 를 작성합니다.
 DropTargetContext DropTarget. getDropTargetContext ()
          이 DropTarget 에 관련한 DropTargetContext 를 가져옵니다.
 DropTargetContext DropTargetEvent. getDropTargetContext ()
          이 메소드는, 이 DropTargetEvent 에 관련한 DropTargetContext 를 돌려줍니다.
 

DropTargetContext 형의 파라미터를 가지는 java.awt.dnd 의 생성자
DropTargetDragEvent (DropTargetContext  dtc, Point  cursorLocn, int dropAction, int srcActions)
          이 조작의 DropTargetContext,Component 의 좌표에 있는 「드래그」Cursor 의 핫 스포트의 위치, 사용자 드롭 액션, 및 소스 드롭 액션을 지정해,DropTargetDragEvent 를 구축합니다.
DropTargetDropEvent (DropTargetContext  dtc, Point  cursorLocn, int dropAction, int srcActions)
          이 조작의 DropTargetContext,Component 의 좌표에 있는 드래그 Cursor 의 핫 스포트의 위치, 현재 선택되고 있는 사용자 드롭 액션, 및 전송원으로 지원되고 있는 현재의 일련의 액션을 지정해,DropTargetDropEvent 를 구축합니다.
DropTargetDropEvent (DropTargetContext  dtc, Point  cursorLocn, int dropAction, int srcActions, boolean isLocal)
          이 조작의 DropTargetContext,Component 의 좌표에 있는 드래그 Cursor 핫 스포트의 위치, 현재 사용자가 선택한 드롭 액션, 전송원으로 지원되고 있는 현재의 일련의 액션, 그리고 전송원이 타겟과 같은 JVM 에 있을지 어떨지를 나타내는 boolean 로 지정해,DropTargetEvent 을 구축합니다.
DropTargetEvent (DropTargetContext  dtc)
          지정된 DropTargetContextDropTargetEvent 를 구축합니다.
 


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.