이는 시스템에 드래그 이벤트를 리스너로 계속 보내도록 지시합니다.
This tells the system to continue to send drag events to the listener.드래그 이벤트는 버튼을 최종적으로 놓을 때 발생한다.
Drag events happen when you finally let go of the button.시스템은 드래그 이벤트를 DragEvent 객체 형태로 전송합니다.
The system sends out a drag event in the form of a DragEvent object.다음 코드 스니펫은 리스너의 드래그 이벤트에 대한 응답을 보여주는 간단한 예입니다.
The following code snippet is a simple example of reacting to drag events in a listener.Combinations with other parts of speech
그러면 드래그 이벤트 전송 작업을 시작하도록 시스템에 지시됩니다.
This tells the system to start sending drag events.그러면 시스템이 View 객체의 리스너에 작업 유형이 ACTION_DROP 인 드래그 이벤트를 보냅니다.
The system sends the View object's listener a drag event with action type ACTION_DROP.모든 드래그 이벤트는 드래그 이벤트 메서드나 리스너에 의해 처음 수신됩니다.
All drag events are initially received by your drag event method or listener.이 프레임워크에는 드래그 이벤트 클래스, 드래그 리스너, 도우미 메서드 및 클래스가 포함되어 있습니다.
The framework includes a drag event class, drag listeners, and helper methods and classes.드래그 이벤트 리스너와 콜백 메서드 모두에 대한 설명은 드래그 이벤트 리스너 및 콜백 메서드 섹션에 자세히 나와 있습니다.
Both of these are described in more detail in the section The drag event listener and callback method.사용자가 이외의 모든 상황에서 드래그 섀도우를 놓는 경우에는 ACTION_DROP 드래그 이벤트가 전송되지 않습니다.
If the user releases the drag shadow in any other situation, no ACTION_DROP drag event is sent.리스너가 이 작업에 대한 드래그 이벤트를 계속해서 수신하기를 원하는 경우 부울 값 true 를 시스템에 반환해야 합니다.
If the listener wants to continue receiving drag events for this operation, it must return boolean true to the system.드롭을 수락할 수 없으면 false 를 반환합니다.이 경우 시스템은 ACTION_DRAG_ENDED 를 전송할 때까지 드래그 이벤트 전송을 중지합니다.
If it can't accept a drop,it should return false, and the system will stop sending drag events until it sends out ACTION_DRAG_ENDED.드래그 작업 중에 리스너는 주로 드래그 이벤트를 사용하여 뷰의 모양을 변경해야 하는지 여부를 결정합니다.
During the drag, listeners primarily use drag events to decide if they should change the appearance of their View.View 객체의 드래그 이벤트 리스너는 시스템이 드래그 작업을 종료할 때 이 이벤트 작업 유형을 수신합니다.
A View object's drag event listener receives this event action type when the system is ending the drag operation.가능한 드롭 이벤트를 포함하여 드래그 이벤트 수신을 계속하려면 드래그 이벤트 리스너가 true 를 반환해야 합니다.
To continue to receive drag events, including a possible drop event, a drag event listener must return true.이 드래그 이벤트에는 작업을 시작한 startDrag() 에 대한 호출에서 시스템에 전달된 데이터를 포함합니다.
The drag event contains the data that was passed to the system in the call to startDrag() that started the operation.이 이벤트는 리스너가 ACTION_DROP 이벤트를 수신한 경우에도 드래그 이벤트를 수신하도록 등록된 모든 리스너에게 전송됩니다.
The event is sent to every listener that is registered to receive drag events, even if the listener received the ACTION_DROP event..드래그 작업 도중, 시스템은 드래그 이벤트를 현재 레이아웃에 포함된 View 객체의 드래그 이벤트 리스너로 발송합니다.
During the drag operation, the system dispatches drag events to the drag event listeners of the View objects in the current layout.View 객체의 드래그 이벤트 리스너는 사용자가 View 객체 위에 드래그 섀도우를 놓을 때 이 이벤트 작업 유형을 수신합니다.
A View object's drag event listener receives this event action type when the user releases the drag shadow over the View object.참고: 간단하게 하기 위해, 다음 섹션에서는 드래그 이벤트를 수신하는 루틴을 '드래그 이벤트 리스너'라고 지칭합니다. 하지만 실제 환경에서는 콜백 메서드일 수도 있습니다.
Note: For the sake of simplicity, the following sections refer to the routine that receives drag events as the"drag event listener", even though it may actually be a callback method.View 객체의 드래그 이벤트 리스너는 드래그 섀도우가 뷰의 경계 상자에 막 진입했을 때 이 이벤트 작업 유형을 수신합니다.
A View object's drag event listener receives this event action type when the drag shadow has just entered the bounding box of the View.드래그 작업 중에 리스너가 수신하는 드래그 이벤트 유형은 드래그 섀도우의 위치와 리스너의 뷰가 표시되는지 여부에 따라 달라집니다.
The types of drag events a listener receives during the drag depend on the location of the drag shadow and the visibility of the listener's View.View 객체의 드래그 이벤트 리스너는 애플리케이션이 startDrag() 를 호출하고 드래그 섀도우를 가져온 직후에 이 이벤트 작업 유형을 수신합니다.
A View object's drag event listener receives this event action type just after the application calls startDrag() and gets a drag shadow.드래그 섀도우가 뷰 객체의 경계 상자를 교차하면 시스템이 하나 이상의 드래그 이벤트를 View 객체의 드래그 이벤트 리스너로 보냅니다(이벤트를 수신하도록 등록된 경우에 해당).
As the drag shadow intersects the bounding box of a View object, the system sends one or more drag events to the View object's drag event listener(if it is registered to receive events)..이 단계는 리스너가 드래그 이벤트를 수신하도록 등록된 뷰의 경계 상자 내에서 사용자가 드래그 섀도우를 드롭한 경우에만 발생합니다.
Note that this step only occurs if the user drops the drag shadow within the bounding box of a View whose listener is registered to receive drag events.드래그 이벤트 리스너가 false 를 반환하면 시스템이 작업 유형이 ACTION_DRAG_ENDED 인 드래그 이벤트를 보낼 때까지 현재 작업에 대한 드래그 이벤트를 수신하지 않습니다.
If the drag event listener returns false, then it will not receive drag events for the current operation until the system sends a drag event with action type ACTION_DRAG_ENDED.사용자가 View 객체 위로 데이터를 드롭하고 해당 View 객체의 리스너 또는 콜백 메서드가 이미 시스템에 드롭을 수락하기를 원한다고 알렸으면 시스템이 드래그 이벤트의 리스너 또는 콜백 메서드로 데이터를 보냅니다.
If the user drops the data over a View object, and that View object's listener or callback method has previously told the system that it wants to accept the drop, then the system sends the data to the listener or callback method in a drag event.View 객체의 드래그 이벤트 리스너는 드래그 섀도우가 여전히 뷰의 경계 상자 내에 있는 동안 ACTION_DRAG_ENTERED 이벤트를 수신한 후에 이 이벤트 작업 유형을 수신합니다. ACTION_DRAG_EXITED.
A View object's drag event listener receives this event action type after it receives a ACTION_DRAG_ENTERED event while the drag shadow is still within the bounding box of the View. ACTION_DRAG_EXITED.사용자가 손가락을 이용하여 현재 레이아웃 위로 이 표시('드래그 섀도우')를 이동하면 시스템이 레이아웃에 포함된 View 객체와 연결된 드래그 리스너 객체 및 드래그 이벤트 콜백 메서드로 드래그 이벤트를 보냅니다.
As the user's finger moves this representation(a"drag shadow") over the current layout, the system sends drag events to the drag event listener objects and drag event callback methods associated with the View objects in the layout.