public class FormUtilities
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static void |
addNewWindowListener(com.supermap.desktop.core.event.NewWindowListener listener)
添加新窗口创建事件
|
static IFormTabular |
fireNewTabularWindowEvent(com.supermap.data.Recordset recordset)
发送创建属性表子窗体的事件
|
static IForm |
fireNewWindowEvent(com.supermap.desktop.core.enums.WindowType windowType)
发送创建子窗体的事件
|
static IForm |
fireNewWindowEvent(com.supermap.desktop.core.enums.WindowType windowType, java.lang.String name)
发送创建指定名称子窗体的事件
|
static IForm |
fireNewWindowEvent(com.supermap.desktop.core.enums.WindowType windowType, java.lang.String name, boolean isOpen)
发送创建子窗体的事件
|
static IForm |
getForm(java.lang.String title, com.supermap.desktop.core.enums.WindowType WindowType)
根据窗口类型和标题查找窗口
|
static com.supermap.desktop.core.enums.WindowType |
getWindowType(IForm form)
获取窗口的窗口类型
|
static void |
removeNewWindowListener(com.supermap.desktop.core.event.NewWindowListener listener)
移除新窗口创建事件
|
public static void addNewWindowListener(com.supermap.desktop.core.event.NewWindowListener listener)
public static void removeNewWindowListener(com.supermap.desktop.core.event.NewWindowListener listener)
public static IForm fireNewWindowEvent(com.supermap.desktop.core.enums.WindowType windowType)
windowType
- 子窗口类型public static IForm fireNewWindowEvent(com.supermap.desktop.core.enums.WindowType windowType, java.lang.String name)
windowType
- 子窗口类型name
- 指定的窗口名称,如果是地图、场景或者布局子窗体,则默认重命名public static IForm fireNewWindowEvent(com.supermap.desktop.core.enums.WindowType windowType, java.lang.String name, boolean isOpen)
windowType
- 子窗口类型name
- 指定的窗口名称isOpen
- 如果存在指定名称的地图,场景,布局... 是否直接打开public static IFormTabular fireNewTabularWindowEvent(com.supermap.data.Recordset recordset)
recordset
- 子窗口类型public static com.supermap.desktop.core.enums.WindowType getWindowType(IForm form)
public static IForm getForm(java.lang.String title, com.supermap.desktop.core.enums.WindowType WindowType)