ThisMemoryScope 類別

public class ThisMemoryScope
extends MemoryScope

MemoryScope 代表具名記憶體範圍抽象類。

建構函式摘要

建構函式 Description
ThisMemoryScope()

對話框記憶體範圍會將 「this」 對應至dc。作用中對話框。狀態。

方法摘要

修飾詞與類型 方法與描述
final java.lang.Object getMemory(DialogContext dialogContext)

取得此範圍的備份記憶體。

final void setMemory(DialogContext dialogContext, Object memory)

變更記憶體範圍的備份物件。

方法繼承來源 MemoryScope

方法繼承來源 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

建構函式詳細資料

ThisMemoryScope

public ThisMemoryScope()

DialogMemoryScope 會將 “this” 對應至 dc.ActiveDialog.State。

方法詳細資料

getMemory

public final Object getMemory(DialogContext dialogContext)

取得此範圍的備份記憶體。

覆寫:

ThisMemoryScope.getMemory(DialogContext dialogContext)

參數:

dialogContext

setMemory

public final void setMemory(DialogContext dialogContext, Object memory)

變更記憶體範圍的備份物件。

覆寫:

ThisMemoryScope.setMemory(DialogContext dialogContext, Object memory)

參數:

dialogContext
memory

適用於