|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
DragSourceContext 를 사용하고 있는 패키지 | |
---|---|
java.awt.dnd | 드래그&드롭 조작은, 많은 그래피컬 사용자 인터페이스 시스템으로 볼 수 있는 직접적인 조작 제스처(gesture)로, GUI 의 표현 요소에 논리적으로 관련한 2 개의 엔티티간에 정보를 변환하는 기구를 제공합니다. |
java.awt.dnd 에서의 DragSourceContext 의 사용 |
---|
DragSourceContext 를 돌려주는 java.awt.dnd 의 메소드 | |
---|---|
protected DragSourceContext |
DragSource. createDragSourceContext (java.awt.dnd.peer.DragSourceContextPeer dscp,
DragGestureEvent dgl,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable t,
DragSourceListener dsl)
이 드래그를 처리하는 DragSourceContext 를 작성합니다. |
DragSourceContext |
DragSourceEvent. getDragSourceContext ()
이 메소드는, 이벤트를 발생시킨 DragSourceContext 를 돌려줍니다. |
DragSourceContext 형의 파라미터를 가지는 java.awt.dnd 의 생성자 | |
---|---|
DragSourceDragEvent (DragSourceContext dsc,
int dropAction,
int action,
int modifiers)
DragSourceDragEvent 을 구축합니다. |
|
DragSourceDragEvent (DragSourceContext dsc,
int dropAction,
int action,
int modifiers,
int x,
int y)
DragSourceDragEvent 를 구축해, 지정된 DragSourceContext , 사용자 드롭 액션, 타겟 드롭 액션, 수식자, 및 좌표를 지정합니다. |
|
DragSourceDropEvent (DragSourceContext dsc)
드롭이 되지 않는 드래그의 DragSourceDropEvent 를 구축합니다. |
|
DragSourceDropEvent (DragSourceContext dsc,
int action,
boolean success)
DragSourceDropEvent 를 드롭용으로 구축해, 드롭 액션을 위한 DragSourceContext , 및 드롭이 성공했는지의 여부를 나타내는 boolean 치를 지정합니다. |
|
DragSourceDropEvent (DragSourceContext dsc,
int action,
boolean success,
int x,
int y)
DragSourceDropEvent 를 드롭용으로 구축해,DragSourceContext , 드롭 액션, 드롭이 성공했는지의 여부를 나타내는 boolean 치, 및 좌표를 지정합니다. |
|
DragSourceEvent (DragSourceContext dsc)
지정된 DragSourceContext 에 제공된 DragSourceEvent 를 구축합니다. |
|
DragSourceEvent (DragSourceContext dsc,
int x,
int y)
지정된 DragSourceContext 와 커서 위치의 좌표에 제공된 DragSourceEvent 를 구축합니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.