protected class BasicSplitPaneDivider.VerticalDragController extends BasicSplitPaneDivider.DragController
dragDividerTo
然后当完成消息
finishDraggingTo
。当一个实例被创建的应该是信息与
isValid
确保拖动(拖动会不会如果两视图不能被调整大小允许)。
Modifier | Constructor and Description |
---|---|
protected |
VerticalDragController(MouseEvent e) |
Modifier and Type | Method and Description |
---|---|
protected int |
getNeededLocation(int x, int y)
返回Y参数,因为这是用于垂直拆分。
|
protected int |
positionForMouseEvent(MouseEvent e)
返回新的位置将分频器基于传入的事件。
|
completeDrag, completeDrag, continueDrag, continueDrag, isValid
protected VerticalDragController(MouseEvent e)
protected int getNeededLocation(int x, int y)
getNeededLocation
方法重写,继承类
BasicSplitPaneDivider.DragController
protected int positionForMouseEvent(MouseEvent e)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.