public class ViewBoundsManagerUtilities
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static void |
addViewBounds(IForm iForm, com.supermap.data.Rectangle2D rectangle2D)
添加窗体的新视图范围
|
static com.supermap.data.Rectangle2D |
getPreView(IForm iForm, com.supermap.data.Rectangle2D currentRectangle2D)
获取窗体的前一视图
|
static boolean |
isCanNextView(IForm iForm, com.supermap.data.Rectangle2D currentRectangle2D)
判断窗体是有有下一视图
|
static boolean |
isCanPreView(IForm iForm, com.supermap.data.Rectangle2D currentRectangle2D)
窗口是否有前一视图
|
static boolean |
isMove()
当前是否正在移动视图
|
static void |
remove(IForm iForm)
移除form的所有视图记录
|
static com.supermap.data.Rectangle2D |
runNextView(IForm iForm, com.supermap.data.Rectangle2D currentRectangle2D)
获取窗体下一视图范围
|
static void |
startMove()
开始移动视图
|
static void |
stopMove()
停止移动视图
|
public static void startMove()
public static boolean isMove()
public static void stopMove()
public static boolean isCanPreView(IForm iForm, com.supermap.data.Rectangle2D currentRectangle2D)
iForm
- 窗口currentRectangle2D
- 当前视图范围public static com.supermap.data.Rectangle2D getPreView(IForm iForm, com.supermap.data.Rectangle2D currentRectangle2D)
iForm
- 窗体currentRectangle2D
- 当前视图范围public static boolean isCanNextView(IForm iForm, com.supermap.data.Rectangle2D currentRectangle2D)
iForm
- 当前窗体currentRectangle2D
- 当前视图范围public static com.supermap.data.Rectangle2D runNextView(IForm iForm, com.supermap.data.Rectangle2D currentRectangle2D)
iForm
- 窗体currentRectangle2D
- 当前视图范围public static void addViewBounds(IForm iForm, com.supermap.data.Rectangle2D rectangle2D)
iForm
- 窗体rectangle2D
- 新视图范围public static void remove(IForm iForm)