public class DesignerContext
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
FORMAT_STATE_MORE |
static int |
FORMAT_STATE_NULL |
static int |
FORMAT_STATE_ONCE |
构造器和说明 |
---|
DesignerContext() |
限定符和类型 | 方法和说明 |
---|---|
static void |
enableRefreshOnTargetModified()
在修改 Target 时,刷新右侧属性面板
|
static java.awt.datatransfer.Clipboard |
getClipboard(javax.swing.JComponent comp)
Gets the Clipboard.
|
static DesignerBean |
getDesignerBean(java.lang.String name) |
static DesignerFrame |
getDesignerFrame()
Return the main design frame from context
|
static int |
getFormatState() |
static TargetComponent |
getReferencedElementCasePane() |
static int |
getReferencedIndex() |
static Style[][] |
getReferencedStyle() |
static BasicDialog |
getReportWritePane()
得到当前实例
|
static boolean |
isRefreshOnTargetModifiedEnabled()
在修改 Target 时,是否刷新右侧属性面板。
|
static void |
setDesignerBean(java.lang.String name,
DesignerBean bean) |
static void |
setDesignerFrame(DesignerFrame designerFrame)
Set the main design frame to context.
|
static void |
setFormatState(int setformatState) |
static void |
setReferencedElementCasePane(TargetComponent t) |
static void |
setReferencedIndex(int index) |
static void |
setReferencedStyle(Style[][] styles) |
static void |
setReportWritePane(BasicDialog dlg)
记录当前报表填报属性面板(具体的实例)
|
public static final int FORMAT_STATE_NULL
public static final int FORMAT_STATE_ONCE
public static final int FORMAT_STATE_MORE
public static DesignerFrame getDesignerFrame()
public static void setDesignerFrame(DesignerFrame designerFrame)
public static DesignerBean getDesignerBean(java.lang.String name)
public static void setDesignerBean(java.lang.String name, DesignerBean bean)
public static java.awt.datatransfer.Clipboard getClipboard(javax.swing.JComponent comp)
public static void setFormatState(int setformatState)
public static int getFormatState()
public static void setReferencedStyle(Style[][] styles)
public static Style[][] getReferencedStyle()
public static void setReferencedElementCasePane(TargetComponent t)
public static TargetComponent getReferencedElementCasePane()
public static void setReferencedIndex(int index)
public static int getReferencedIndex()
public static BasicDialog getReportWritePane()
public static void setReportWritePane(BasicDialog dlg)
public static void enableRefreshOnTargetModified()
public static boolean isRefreshOnTargetModifiedEnabled()