public class PFComponentConnector
extends java.lang.Object
implements java.io.Serializable
コンストラクタと説明 |
---|
PFComponentConnector()
コンポーネント間コネクタを作成する。
|
PFComponentConnector(PFConstructBase base)
コンポーネント間コネクタを作成する。
|
修飾子とタイプ | メソッドと説明 |
---|---|
PFMethodInvoker |
addInvokeMethod()
メソッド起動先を追加する。
|
PFMethodInvoker |
addInvokeMethod(int index)
メソッド起動先を生成し、指定位置に挿入する。
|
PFMethodInvoker |
addInvokeMethod(PFComponent comp,
java.lang.String methodName)
引数で与えられたコンポーネントのメソッドを
接続先として追加する。
|
void |
addInvokeMethod(PFMethodInvoker invoker)
メソッド起動先を追加する。
|
void |
addInvokeMethod(PFMethodInvoker invoker,
int index)
メソッド起動先を追加する。
|
PFMethodInvokerForDebug |
addInvokeMethodForDebug(int index)
デバッグ用メソッド起動先を生成し、指定位置に挿入する。
|
boolean |
containsMethod(PFMethodInvoker invoker)
起動メソッドが存在するかチェックする。
|
PFConstructBase |
getConstructBase()
構築ベースを取得する。
|
java.lang.String |
getEventComment()
イベントコメントを取得する。
|
PFMethodInvoker |
getInvokerAt(int index)
指定された位置のメソッド起動を取得する。
|
int |
getInvokerCount()
呼び出し先メソッド数を取得する。
|
PFMethodInvoker |
getMethod(int index)
起動メソッドを取得する。
|
int |
getMethodIndex(PFMethodInvoker invoker)
起動メソッドの位置を取得する。
|
java.util.Iterator |
getMethodList()
起動メソッド配列を取得する。
|
java.lang.Object |
getMethodResult(PFMethodInvoker targetInvoker,
java.lang.Object[] resultArray)
メソッド処理結果を取得する。
|
int |
indexOfMethodInvoker(PFMethodInvoker invoker)
呼び出し先メソッドの位置を取得する。
|
java.lang.Object |
invoke(PFEvent event)
イベント処理を実行する。
|
static boolean |
isMethodInvocationSuspended()
イベント伝播によるメソッド起動が停止中かどうかを取得する
|
boolean |
moveInvokeMethod(PFMethodInvoker invoker,
int i)
メソッド起動を移動する。
|
java.lang.Object |
multiInvoke(PFEvent event)
イベントに対して、登録されているすべてのメソッドを起動する。
|
void |
notifyMethodRemoved(PFMethodInvoker invoker)
起動メソッドの削除の通知する。
|
void |
removeInvokeMethod(int index)
メソッド起動を削除する。
|
void |
removeInvokeMethod(PFMethodInvoker invoker)
引数で与えられたメソッド起動を削除する。
|
static void |
resumeMethodInvocation()
イベント伝播によるメソッド起動を再開する。
|
void |
setConstructBase(PFConstructBase base)
構築ベースを設定する。
|
void |
setEventComment(java.lang.String eventComment)
イベントコメントを設定する。
|
static void |
suspendMethodInvocation()
イベント伝播によるメソッド起動を停止する。
|
public PFComponentConnector()
public PFComponentConnector(PFConstructBase base)
base
- 構築ベースpublic void setConstructBase(PFConstructBase base)
base
- 構築ベースpublic PFConstructBase getConstructBase()
public java.util.Iterator getMethodList()
public PFMethodInvoker getMethod(int index)
index
- 取得位置public int getMethodIndex(PFMethodInvoker invoker)
invoker
- 起動メソッドpublic boolean containsMethod(PFMethodInvoker invoker)
invoker
- 起動メソッドpublic PFMethodInvoker addInvokeMethod(PFComponent comp, java.lang.String methodName)
comp
- 接続先コンポーネントmethodName
- 呼び出しメソッド名public PFMethodInvoker addInvokeMethod()
public PFMethodInvoker addInvokeMethod(int index)
index
- 挿入位置public PFMethodInvokerForDebug addInvokeMethodForDebug(int index)
index
- 挿入位置public void addInvokeMethod(PFMethodInvoker invoker)
invoker
- メソッド起動オブジェクトpublic void addInvokeMethod(PFMethodInvoker invoker, int index)
invoker
- メソッド起動オブジェクトindex
- 挿入する場所public void removeInvokeMethod(PFMethodInvoker invoker)
invoker
- 削除対象メソッド起動オブジェクトpublic void removeInvokeMethod(int index)
index
- 削除対象メソッド起動位置public void notifyMethodRemoved(PFMethodInvoker invoker)
invoker
- 削除された起動メソッドpublic boolean moveInvokeMethod(PFMethodInvoker invoker, int i)
invoker
- 移動対象メソッド起動i
- 移動先public java.lang.Object invoke(PFEvent event) throws PFMethodException, PFRuntimeException
event
- 発生したイベントPFMethodException
- メソッド起動の失敗PFRuntimeException
- 予期しない内部処理エラーPFMethodInvoker
public java.lang.Object multiInvoke(PFEvent event) throws PFMethodException, PFRuntimeException
event
- 発生したイベントPFMethodException
- メソッド起動の失敗PFRuntimeException
- 予期しない内部処理エラーPFMethodInvoker
public PFMethodInvoker getInvokerAt(int index)
index
- 取得位置public int getInvokerCount()
public int indexOfMethodInvoker(PFMethodInvoker invoker)
public java.lang.Object getMethodResult(PFMethodInvoker targetInvoker, java.lang.Object[] resultArray) throws PFRuntimeException
targetInvoker
- 対象メソッドresultArray
- 処理結果配列PFRuntimeException
- 処理結果が見つからないpublic java.lang.String getEventComment()
public void setEventComment(java.lang.String eventComment)
eventComment
- イベントコメントpublic static void suspendMethodInvocation()
public static void resumeMethodInvocation()
public static boolean isMethodInvocationSuspended()