public class DesignModeContext
extends java.lang.Object
构造器和说明 |
---|
DesignModeContext() |
限定符和类型 | 方法和说明 |
---|---|
static void |
doCopy(TargetComponent principal) |
static boolean |
doCut(TargetComponent principal) |
static boolean |
doPaste(TargetComponent principal) |
static DesignerMode |
getMode() |
static boolean |
isAuthorityEditing()
是否为权限编辑
|
static boolean |
isBanCopyAndCut() |
static boolean |
isVcsMode()
是否是版本控制模式
|
static void |
switchTo(DesignerMode mode) |
public static void switchTo(DesignerMode mode)
public static DesignerMode getMode()
public static boolean isVcsMode()
public static boolean isBanCopyAndCut()
public static boolean isAuthorityEditing()
public static void doCopy(TargetComponent principal)
public static boolean doPaste(TargetComponent principal)
public static boolean doCut(TargetComponent principal)