|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectjp.go.aist.dmrc.platform.base.PFComponentBus
コンポーネントバス。
プラットフォーム内のコンポーネントと
コンポーネント間の接続関係を管理する。
| メソッドの概要 | |
void |
addComment(PFApplicationComment comment)
引数で与えられたアプリケーションコメントをプラットフォームに追加する。 |
void |
addComment(PFApplicationComment comment,
int index)
引数で与えられたアプリケーションコメントをプラットフォームに追加する。 |
void |
addComponent(PFComponent component)
引数で与えられたコンポーネントをプラットフォームに追加する。 |
void |
addComponent(PFComponent component,
int index)
引数で与えられたコンポーネントをプラットフォームに追加する。 |
void |
addPFApplicationStartListener(PFApplicationStartListener lis)
引数で与えられたイベントリスナを登録し、 アプリケーション開始イベント発生時に処理を行う対象とする。 |
void |
addPFApplicationTerminateListener(PFApplicationTerminateListener lis)
引数で与えられたイベントリスナを登録し、 アプリケーション終了イベント発生時に処理を行う対象とする。 |
int |
checkTheApplicationWasLocked()
パスワードでロックされているかを確かめる. |
void |
clear()
アプリケーション情報をクリアする。 |
void |
clear(java.util.Stack stack)
アプリケーション情報をクリアする。 |
void |
clearAllHistory()
全ての履歴情報を削除する. |
void |
clearHistory(int index)
指定したインデックスの履歴情報を削除する. |
void |
clearHistory(java.lang.String key)
指定したキーの履歴情報と、それに連なる履歴情報を削除する. |
boolean |
equals(java.lang.Object o)
オブジェクトが同じかどうかチェックする。 |
int |
getAllComponentCount()
コメントを含むコンポーネント数を取得する。 |
java.util.Iterator |
getAllComponentList()
コメントを含むコンポーネントリストを取得する。 |
java.lang.String |
getApplicationName()
アプリケーション名称を取得する。 |
PFMultiLocaleString |
getApplicationNames()
全ロケール分のアプリケーション名称を取得する。 |
PFComponent |
getComponentAt(int index)
指定された位置のコンポーネントを取得する。 |
int |
getComponentID()
コンポーネントIDを取得する。 |
PFComponentInfo[] |
getComponentInfos()
プラットフォーム上のすべてのコンポーネント情報を取得する。 |
java.lang.String |
getComponentKey()
コンポーネントキーを取得する。 |
java.lang.String |
getComponentName()
コンポーネント名称を取得する。 |
java.lang.String |
getComponentPublicName()
コンポーネント公開名を取得する. |
java.lang.String |
getComponentString()
コンポーネントの文字列表現を取得する。 |
int |
getContainComponentCount()
コンポーネント数を取得する。 |
java.util.Iterator |
getContainComponentList()
コンポーネント配列を取得する。 |
boolean |
getExecuteMode()
実行モードを取得する。 |
PFObjectList |
getHistoryList()
履歴情報リストを取得する. |
static PFComponentBus |
getInstance()
コンポーネントバスインスタンスを取得する。 |
java.util.Iterator |
getPFApplicationStartListenerList()
アプリケーション開始イベントリスナ配列を取得する。 |
java.util.Iterator |
getPFApplicationTerminateListenerList()
アプリケーション終了イベントリスナ配列を取得する。 |
boolean |
isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する. |
boolean |
isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する. |
boolean |
isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する. |
void |
localeUpdated()
ロケール更新への対応を行う。 |
boolean |
moveComment(PFApplicationComment comment,
int i)
コメントを移動する。 |
boolean |
moveComponent(PFComponent component,
int i)
コンポーネントを移動する。 |
boolean |
moveComponentToTop(int count)
最後尾のコンポーネントを先頭に移動する。 |
void |
readXML(PFXMLLoader in)
XMLを入力する. |
void |
registerHistory(jp.go.aist.dmrc.platform.base.PFHistoryInformation info)
履歴情報を登録する. |
void |
removeComment(PFApplicationComment comment)
引数で与えられたアプリケーションコメントをプラットフォームから削除する。 |
void |
removeComponent(PFComponent component)
引数で与えられたコンポーネントをプラットフォームから削除する。 |
void |
removeComponent(java.util.Stack baseStack,
PFComponent component)
引数で与えられたコンポーネントをプラットフォームから削除する。 |
void |
removePFApplicationStartListener(PFApplicationStartListener lis)
引数で与えられたイベントリスナを削除し、 アプリケーション開始イベント発生時に処理を行う対象から外す。 |
void |
removePFApplicationTerminateListener(PFApplicationTerminateListener lis)
引数で与えられたイベントリスナを削除し、 アプリケーション終了イベント発生時に処理を行う対象から外す。 |
void |
renumberComponentID()
コンポーネントIDを振り直す。 |
void |
save(java.io.File saveFile)
アプリケーションをファイルに保存する。 |
PFComponent |
searchComponent(int id)
IDからコンポーネントを検索する。 |
jp.go.aist.dmrc.platform.base.PFHistoryInformationSearchResult |
searchHistoryInfo(java.lang.String key)
指定したキーの履歴情報を検索する. |
void |
setAllowPullTransfer(boolean flag)
他PFからのPull型コンポーネント転送要求に対する可否属性を設定する. |
void |
setAllowPushTransfer(boolean flag)
他PFへのPush型コンポーネント転送要求に対する可否属性を設定する. |
void |
setAllowRemoteInvocation(boolean flag)
他PFからのコンポーネント連携要求に対する可否属性を設定する. |
void |
setApplicationName(java.lang.String name)
コンポーネント名称を設定する。 |
void |
setApplicationNames(PFMultiLocaleString names)
全ロケール分のコンポーネントキーを設定する。 |
void |
setComponentID(int id)
コンポーネントIDを設定する。 |
void |
setComponentKey(java.lang.String key)
コンポーネントキーを設定する。 |
void |
setComponentPublicName(java.lang.String publicName)
コンポーネント公開名を設定する. |
void |
setExecuteMode(boolean mode)
実行モードを設定する。 |
static void |
setInstance(PFComponentBus bus)
コンポーネントバスインスタンスを設定する。 |
void |
sortComponent()
コンポーネントをID順に並べなおす。 |
void |
startApplication()
アプリケーションの開始を通知する。 |
static PFComponentBus |
temporallyInstance()
コンポーネントバスインスタンスを生成する。 |
void |
terminateApplication()
アプリケーションを終了する。 |
boolean |
verifyPassword(java.lang.String readPass,
java.lang.String inputPass)
パスワードを照合する. |
void |
writeXML(PFXMLGenerator out)
XMLを出力する. |
| クラス java.lang.Object から継承したメソッド |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
public java.lang.String getComponentName()
PFComponent 内の getComponentNamepublic java.lang.String getComponentKey()
PFComponent 内の getComponentKeypublic void setComponentKey(java.lang.String key)
PFComponent 内の setComponentKeykey - コンポーネントキー文字列public int getComponentID()
PFComponent 内の getComponentIDpublic void setComponentID(int id)
PFComponent 内の setComponentIDid - 設定するコンポーネントIDpublic java.lang.String getComponentString()
PFComponent 内の getComponentStringpublic java.lang.String getComponentPublicName()
PFComponent 内の getComponentPublicName
public void setComponentPublicName(java.lang.String publicName)
throws PFComponentException
PFComponent 内の setComponentPublicNamepublicName - 設定するコンポーネント公開名
PFComponentException - 規約に反する名前が設定されようとした場合public boolean isAllowRemoteInvocation()
PFComponent 内の isAllowRemoteInvocationpublic void setAllowRemoteInvocation(boolean flag)
PFComponent 内の setAllowRemoteInvocationflag - コンポーネント連携要求に対する可否public boolean isAllowPullTransfer()
PFComponent 内の isAllowPullTransferpublic void setAllowPullTransfer(boolean flag)
PFComponent 内の setAllowPullTransferflag - Pull型コンポーネント転送要求に対する可否public boolean isAllowPushTransfer()
PFComponent 内の isAllowPushTransferpublic void setAllowPushTransfer(boolean flag)
PFComponent 内の setAllowPushTransferflag - Push型コンポーネント転送要求に対する可否public void localeUpdated()
PFComponent 内の localeUpdatedpublic static PFComponentBus getInstance()
public static PFComponentBus temporallyInstance()
public static void setInstance(PFComponentBus bus)
bus - コンポーネントバスpublic java.util.Iterator getPFApplicationStartListenerList()
PFApplicationStartEventSource 内の getPFApplicationStartListenerListpublic void addPFApplicationStartListener(PFApplicationStartListener lis)
PFApplicationStartEventSource 内の addPFApplicationStartListenerlis - 追加対象イベントリスナpublic void removePFApplicationStartListener(PFApplicationStartListener lis)
PFApplicationStartEventSource 内の removePFApplicationStartListenerlis - 削除対象イベントリスナpublic java.util.Iterator getPFApplicationTerminateListenerList()
PFApplicationTerminateEventSource 内の getPFApplicationTerminateListenerListpublic void addPFApplicationTerminateListener(PFApplicationTerminateListener lis)
PFApplicationTerminateEventSource 内の addPFApplicationTerminateListenerlis - 追加対象イベントリスナpublic void removePFApplicationTerminateListener(PFApplicationTerminateListener lis)
PFApplicationTerminateEventSource 内の removePFApplicationTerminateListenerlis - 削除対象イベントリスナpublic void addComponent(PFComponent component)
PFConstructBase 内の addComponentcomponent - 追加対象コンポーネント
public void addComponent(PFComponent component,
int index)
PFConstructBase 内の addComponentcomponent - 追加対象コンポーネントindex - 追加位置
public void removeComponent(PFComponent component)
throws PFRuntimeException
PFConstructBase 内の removeComponentcomponent - 削除対象コンポーネント
PFRuntimeException - コンポーネント削除不可
public void removeComponent(java.util.Stack baseStack,
PFComponent component)
throws PFRuntimeException
PFConstructBase 内の removeComponentbaseStack - アプリケーション階層component - 削除対象コンポーネント
PFRuntimeException - コンポーネント削除不可
public boolean moveComponent(PFComponent component,
int i)
PFConstructBase 内の moveComponentcomponent - 移動対象コンポーネントi - 移動先
public boolean moveComponentToTop(int count)
PFConstructBase 内の moveComponentToTopcount - 移動数
public void addComment(PFApplicationComment comment)
PFConstructBase 内の addCommentcomment - 追加対象コメント
public void addComment(PFApplicationComment comment,
int index)
PFConstructBase 内の addCommentcomment - 追加対象コメントindex - 追加位置public void removeComment(PFApplicationComment comment)
PFConstructBase 内の removeCommentcomment - 削除対象コメント
public boolean moveComment(PFApplicationComment comment,
int i)
PFConstructBase 内の moveCommentcomment - 移動対象コメントi - 移動先
public void sortComponent()
PFConstructBase 内の sortComponentpublic void renumberComponentID()
PFConstructBase 内の renumberComponentIDpublic java.util.Iterator getContainComponentList()
PFConstructBase 内の getContainComponentListpublic int getContainComponentCount()
PFConstructBase 内の getContainComponentCountpublic PFComponent getComponentAt(int index)
PFConstructBase 内の getComponentAtindex - 取得位置
public java.util.Iterator getAllComponentList()
PFConstructBase 内の getAllComponentListpublic int getAllComponentCount()
PFConstructBase 内の getAllComponentCountpublic java.lang.String getApplicationName()
public void setApplicationName(java.lang.String name)
name - アプリケーション名称public PFMultiLocaleString getApplicationNames()
public void setApplicationNames(PFMultiLocaleString names)
names - 全ロケール分のアプリケーション名称public PFComponentInfo[] getComponentInfos()
public void save(java.io.File saveFile)
throws java.io.FileNotFoundException,
java.io.IOException
PFConstructBase 内の savesaveFile - 保存先ファイル
java.io.FileNotFoundException - ファイルが見つからない
java.io.IOException - ファイル出力に失敗public void clear()
PFConstructBase 内の clearpublic void clear(java.util.Stack stack)
PFConstructBase 内の clearstack - コンポーネント階層public void setExecuteMode(boolean mode)
mode - 実行中はtrue、開発中(ビルダー上)はfalsepublic boolean getExecuteMode()
public void startApplication()
throws PFMethodException,
PFRuntimeException,
PFDataCooperationException
PFMethodException
PFRuntimeException
PFDataCooperationException
public void terminateApplication()
throws PFMethodException,
PFRuntimeException,
PFDataCooperationException
PFMethodException
PFRuntimeException
PFDataCooperationExceptionpublic PFComponent searchComponent(int id)
PFConstructBase 内の searchComponentid - 検索するコンポーネントのID
public boolean equals(java.lang.Object o)
o - チェック対象オブジェクト
public boolean verifyPassword(java.lang.String readPass,
java.lang.String inputPass)
PFConstructBase 内の verifyPasswordreadPass - 読み込んだパスワードinputPass - 入力されたパスワード
public int checkTheApplicationWasLocked()
PFConstructBase 内の checkTheApplicationWasLockedpublic PFObjectList getHistoryList()
public void registerHistory(jp.go.aist.dmrc.platform.base.PFHistoryInformation info)
info - 履歴情報public void clearAllHistory()
public void clearHistory(int index)
index - 削除対象のインデックスpublic void clearHistory(java.lang.String key)
key - 削除対象のコンポーネント公開名public jp.go.aist.dmrc.platform.base.PFHistoryInformationSearchResult searchHistoryInfo(java.lang.String key)
key - 検索対象のコンポーネント公開名
public void writeXML(PFXMLGenerator out)
throws java.io.IOException
PFXMLSerializable の記述:
PFXMLSerializable 内の writeXMLout - XML出力ユーティリティ
java.io.IOExceptionpublic void readXML(PFXMLLoader in)
PFXMLSerializable の記述:
PFXMLSerializable 内の readXMLin - XML入力ユーティリティ
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||