JavaTM Platform
Standard Ed. 6

javax.swing.plaf.basic
클래스 BasicSplitPaneDivider.DragController

java.lang.Object 
  상위를 확장 javax.swing.plaf.basic.BasicSplitPaneDivider.DragController
직계의 기존의 서브 클래스:
BasicSplitPaneDivider.VerticalDragController
포함되어 있는 클래스:
BasicSplitPaneDivider


protected class BasicSplitPaneDivider.DragController
extends Object

HORIZONTAL_SPLIT 방향의 분할 구획을 위해서(때문에), 드래그 세션중의 이벤트를 처리합니다. 연속해 dragDividerTo 메세지를 보내, 종료시에 finishDraggingTo 메세지를 보냅니다. 인스턴스가 작성될 때,isValid 에 의한 메세지를 받아, 드래그를 실행할 수 있는 것을 확인할 필요가 있습니다. 2 개의 화면의 크기를 변경할 수 없는 경우, 드래그는 할 수 없습니다.

경고: 이 클래스의 직렬화 된 객체는, 향후의 Swing 릴리스와 호환은 아니게 될 예정입니다. 현재의 직렬화의 지원는, 단기간의 운용이나, 같은 버젼의 Swing 를 실행하는 어플리케이션간의 RMI 에 적절하고 있습니다. JDK Version 1.4 이후, 모든 JavaBeans 의 장기간의 운용 지원는,java.beans 패키지에 추가되고 있습니다. 자세한 것은,XMLEncoder 를 참조해 주세요.


생성자 의 개요
protected BasicSplitPaneDivider.DragController (MouseEvent  e)
           
 
메소드의 개요
protected  void completeDrag (int x, int y)
           
protected  void completeDrag (MouseEvent  e)
          finishDraggingTo 에, 마우스 이벤트의 새로운 위치에 대한 메세지를 보냅니다.
protected  void continueDrag (int newX, int newY)
           
protected  void continueDrag (MouseEvent  e)
          dragDividerTo 에, 마우스 이벤트의 새로운 위치에 대한 메세지를 보냅니다.
protected  int getNeededLocation (int x, int y)
          수평 분할에 사용되는 x 인수를 돌려줍니다.
protected  boolean isValid ()
          드래그 세션이 유효한 경우, true 를 돌려줍니다.
protected  int positionForMouseEvent (MouseEvent  e)
          건네받는 MouseEvent 에 근거해, 디바이더를 두기 위한 새로운 위치를 돌려줍니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

BasicSplitPaneDivider.DragController

protected BasicSplitPaneDivider.DragController(MouseEvent  e)
메소드의 상세

isValid

protected boolean isValid()
드래그 세션이 유효한 경우, true 를 돌려줍니다.


positionForMouseEvent

protected int positionForMouseEvent(MouseEvent  e)
건네받는 MouseEvent 에 근거해, 디바이더를 두기 위한 새로운 위치를 돌려줍니다.


getNeededLocation

protected int getNeededLocation(int x,
                                int y)
수평 분할에 사용되는 x 인수를 돌려줍니다.


continueDrag

protected void continueDrag(int newX,
                            int newY)

continueDrag

protected void continueDrag(MouseEvent  e)
dragDividerTo 에, 마우스 이벤트의 새로운 위치에 대한 메세지를 보냅니다.


completeDrag

protected void completeDrag(int x,
                            int y)

completeDrag

protected void completeDrag(MouseEvent  e)
finishDraggingTo 에, 마우스 이벤트의 새로운 위치에 대한 메세지를 보냅니다.


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 도 참조해 주세요.