JavaTM 2
Platform
Std.  Ed.  v1. 4.0

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 에 적절하고 있습니다. 버젼 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 2
Platform
Std.  Ed.  v1. 4.0

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

Java, Java 2 D, 및 JDBC 는 미국 및 그 외의 나라에 있어서의 미국 Sun Microsystems, Inc. 의 상표 혹은 등록상표입니다.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.