DragGestureEvent

DragGestureEvent (드래그 제스처 이벤트)

특정 DragGestureRecognizer가 추적 중인 컴포넌트에서 플랫폼 의존적인 드래그 시작 제스처가 발생했음을 감지했을 때 DragGestureListenerdragGestureRecognized() 메서드로 전달되는 이벤트입니다.

출처: Java API Reference

본문

public class DragGestureEvent extends EventObject

어떤 DragGestureEvent 인스턴스의 action 필드는 다음 값 중 하나여야 합니다: DnDConstants.ACTION_COPY, DnDConstants.ACTION_MOVE, DnDConstants.ACTION_LINK. 위와 다른 값을 지정하면 동작이 정의되지 않습니다.

더 알아보기 (Learn more)

Java 공식 API