|
|
@ -7,6 +7,7 @@ import com.fr.stable.fun.Level; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Created by richie on 16/4/25. |
|
|
|
* Created by richie on 16/4/25. |
|
|
|
|
|
|
|
* 单元格元素和悬浮元素扩展,通过实现这个接口,可以在单元格中添加更多类型的元素. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public interface ElementUIProvider extends Level { |
|
|
|
public interface ElementUIProvider extends Level { |
|
|
|
|
|
|
|
|
|
|
@ -14,13 +15,33 @@ public interface ElementUIProvider extends Level { |
|
|
|
|
|
|
|
|
|
|
|
int CURRENT_LEVEL = 1; |
|
|
|
int CURRENT_LEVEL = 1; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 单元格元素编辑器 |
|
|
|
|
|
|
|
* @return 编辑器 |
|
|
|
|
|
|
|
*/ |
|
|
|
Class<?> targetCellEditorClass(); |
|
|
|
Class<?> targetCellEditorClass(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 单元格内容 |
|
|
|
|
|
|
|
* @return 单元格内容 |
|
|
|
|
|
|
|
*/ |
|
|
|
Class<?> targetObjectClass(); |
|
|
|
Class<?> targetObjectClass(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 右侧的快速编辑器 |
|
|
|
|
|
|
|
* @return 编辑器 |
|
|
|
|
|
|
|
*/ |
|
|
|
QuickEditor<?> quickEditor(); |
|
|
|
QuickEditor<?> quickEditor(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 插件单元格元素 |
|
|
|
|
|
|
|
* @return 插入操作类 |
|
|
|
|
|
|
|
*/ |
|
|
|
Class<? extends UpdateAction> actionForInsertCellElement(); |
|
|
|
Class<? extends UpdateAction> actionForInsertCellElement(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 插入悬浮元素 |
|
|
|
|
|
|
|
* @return 插入操作类 |
|
|
|
|
|
|
|
*/ |
|
|
|
Class<? extends UpdateAction> actionForInsertFloatElement(); |
|
|
|
Class<? extends UpdateAction> actionForInsertFloatElement(); |
|
|
|
} |
|
|
|
} |
|
|
|