Browse Source

REPORT-64149

feature/x
方磊 3 years ago
parent
commit
36c7608ebb
  1. 19
      designer-form/src/main/java/com/fr/design/designer/beans/LayoutAdapter.java

19
designer-form/src/main/java/com/fr/design/designer/beans/LayoutAdapter.java

@ -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);
/**

Loading…
Cancel
Save