|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.plaf.basic.BasicSplitPaneDivider.DragController
protected class BasicSplitPaneDivider.DragController
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 |
생성자 의 상세 |
---|
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 Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.