|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
java.lang.Object | +--javax.swing.plaf.basic.BasicSplitPaneDivider.DragController
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 |
생성자의 상세 |
protected BasicSplitPaneDivider.DragController(MouseEvent e)
메소드의 상세 |
protected boolean isValid()
protected int positionForMouseEvent(MouseEvent e)
protected int getNeededLocation(int x, int y)
protected void continueDrag(int newX, int newY)
protected void continueDrag(MouseEvent e)
protected void completeDrag(int x, int y)
protected void completeDrag(MouseEvent e)
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
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.