|
|
@ -14,11 +14,12 @@ import java.awt.event.KeyEvent; |
|
|
|
import java.lang.reflect.Constructor; |
|
|
|
import java.lang.reflect.Constructor; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.Collections; |
|
|
|
import java.util.Collections; |
|
|
|
import java.util.LinkedHashSet; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.util.Set; |
|
|
|
import java.util.concurrent.ConcurrentHashMap; |
|
|
|
import java.util.concurrent.ConcurrentHashMap; |
|
|
|
import java.util.concurrent.ConcurrentMap; |
|
|
|
import java.util.concurrent.ConcurrentMap; |
|
|
|
|
|
|
|
import java.util.concurrent.CopyOnWriteArraySet; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 插入单元格元素和插入悬浮元素的一些集合方法 |
|
|
|
* 插入单元格元素和插入悬浮元素的一些集合方法 |
|
|
@ -27,8 +28,8 @@ import java.util.concurrent.ConcurrentMap; |
|
|
|
* @version 2017年11月17日14点39分 |
|
|
|
* @version 2017年11月17日14点39分 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class ActionFactory { |
|
|
|
public class ActionFactory { |
|
|
|
private static LinkedHashSet<Class<?>> actionClasses = new LinkedHashSet<>(); |
|
|
|
private static Set<Class<?>> actionClasses = new CopyOnWriteArraySet<>(); |
|
|
|
private static LinkedHashSet<Class<?>> floatActionClasses = new LinkedHashSet<>(); |
|
|
|
private static Set<Class<?>> floatActionClasses = new CopyOnWriteArraySet<>(); |
|
|
|
private static Class chartCollectionClass = null; |
|
|
|
private static Class chartCollectionClass = null; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 无需每次实例化的悬浮元素编辑器 |
|
|
|
* 无需每次实例化的悬浮元素编辑器 |
|
|
|