|
|
|
@ -139,12 +139,31 @@ public interface LayoutAdapter {
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 拖拽开始 |
|
|
|
|
* |
|
|
|
|
* @param xCreator |
|
|
|
|
* @param selectionModel |
|
|
|
|
*/ |
|
|
|
|
void dragStart(XCreator xCreator, SelectionModel selectionModel); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 拖拽结束 |
|
|
|
|
* |
|
|
|
|
* @param xCreator |
|
|
|
|
* @param selectionModel |
|
|
|
|
* @param x |
|
|
|
|
* @param y |
|
|
|
|
*/ |
|
|
|
|
default void dragOver(XCreator xCreator, SelectionModel selectionModel, int x, int y) { |
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 组件正在被拖拽时的处理逻辑 |
|
|
|
|
* |
|
|
|
|
* @param model |
|
|
|
|
*/ |
|
|
|
|
void dragging(DraggingModel model); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|