public class PFComponentBus extends java.lang.Object implements PFConstructBase, PFApplicationStartEventSource, PFApplicationTerminateEventSource, PFXMLSerializable
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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)
指定したキーの履歴情報と、それに連なる履歴情報を削除する.
|
void |
clearIndent(PFComponent component)
コンポーネントのインデント設定を解除する。
|
boolean |
contains(PFComponent comp)
指定されたコンポーネントを配下に含むかどうかをチェックする。
|
void |
decrementIndent(PFComponent component)
コンポーネントのインデントレベルを1つ減らす。
|
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()
履歴情報リストを取得する.
|
int |
getIndent(PFComponent component)
コンポーネントのインデントレベルを取得する。
|
java.util.Map |
getIndentMap()
コンポーネントのインデントレベルを表すマップを取得する。
|
static PFComponentBus |
getInstance()
コンポーネントバスインスタンスを取得する。
|
PFConstructBase |
getParentComponent(PFComponent comp)
指定されたコンポーネントの親構築ベースを取得する。
|
java.util.Stack |
getParentComponentStack(PFComponent comp)
指定されたコンポーネントの親構築ベースのスタックを取得する。
|
java.util.Iterator |
getPFApplicationStartListenerList()
アプリケーション開始イベントリスナ配列を取得する。
|
java.util.Iterator |
getPFApplicationTerminateListenerList()
アプリケーション終了イベントリスナ配列を取得する。
|
void |
incrementIndent(PFComponent component)
コンポーネントのインデントレベルを1つ増やす。
|
void |
informEventCompleted(PFComponentConnector connector)
階層内でのイベント完了を通知する。
|
void |
informEventFired(PFComponentConnector connector)
階層内でのイベント発生を通知する。
|
boolean |
isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する.
|
boolean |
isChild(PFComponent comp)
指定されたコンポーネントを直下に含むかどうかをチェックする。
|
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(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からコンポーネントを検索する。
|
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)
実行モードを設定する。
|
void |
setIndentMap(java.util.Map map)
コンポーネントのインデントレベルを表すマップを設定する。
|
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出力
|
public java.lang.String getComponentName()
getComponentName インタフェース内 PFComponentpublic java.lang.String getComponentKey()
getComponentKey インタフェース内 PFComponentpublic void setComponentKey(java.lang.String key)
setComponentKey インタフェース内 PFComponentkey - コンポーネントキー文字列public int getComponentID()
getComponentID インタフェース内 PFComponentpublic void setComponentID(int id)
setComponentID インタフェース内 PFComponentid - 設定するコンポーネントIDpublic java.lang.String getComponentString()
getComponentString インタフェース内 PFComponentpublic java.lang.String getComponentPublicName()
getComponentPublicName インタフェース内 PFComponentpublic void setComponentPublicName(java.lang.String publicName)
throws PFComponentException
setComponentPublicName インタフェース内 PFComponentpublicName - 設定するコンポーネント公開名PFComponentException - 規約に反する名前が設定されようとした場合public boolean isAllowRemoteInvocation()
isAllowRemoteInvocation インタフェース内 PFComponentpublic void setAllowRemoteInvocation(boolean flag)
setAllowRemoteInvocation インタフェース内 PFComponentflag - コンポーネント連携要求に対する可否public boolean isAllowPullTransfer()
isAllowPullTransfer インタフェース内 PFComponentpublic void setAllowPullTransfer(boolean flag)
setAllowPullTransfer インタフェース内 PFComponentflag - Pull型コンポーネント転送要求に対する可否public boolean isAllowPushTransfer()
isAllowPushTransfer インタフェース内 PFComponentpublic void setAllowPushTransfer(boolean flag)
setAllowPushTransfer インタフェース内 PFComponentflag - Push型コンポーネント転送要求に対する可否public void localeUpdated()
localeUpdated インタフェース内 PFComponentpublic static PFComponentBus getInstance()
public static PFComponentBus temporallyInstance()
public static void setInstance(PFComponentBus bus)
bus - コンポーネントバスpublic java.util.Iterator getPFApplicationStartListenerList()
getPFApplicationStartListenerList インタフェース内 PFApplicationStartEventSourcepublic void addPFApplicationStartListener(PFApplicationStartListener lis)
addPFApplicationStartListener インタフェース内 PFApplicationStartEventSourcelis - 追加対象イベントリスナpublic void removePFApplicationStartListener(PFApplicationStartListener lis)
removePFApplicationStartListener インタフェース内 PFApplicationStartEventSourcelis - 削除対象イベントリスナpublic java.util.Iterator getPFApplicationTerminateListenerList()
getPFApplicationTerminateListenerList インタフェース内 PFApplicationTerminateEventSourcepublic void addPFApplicationTerminateListener(PFApplicationTerminateListener lis)
addPFApplicationTerminateListener インタフェース内 PFApplicationTerminateEventSourcelis - 追加対象イベントリスナpublic void removePFApplicationTerminateListener(PFApplicationTerminateListener lis)
removePFApplicationTerminateListener インタフェース内 PFApplicationTerminateEventSourcelis - 削除対象イベントリスナpublic void addComponent(PFComponent component)
addComponent インタフェース内 PFConstructBasecomponent - 追加対象コンポーネントpublic void addComponent(PFComponent component, int index)
addComponent インタフェース内 PFConstructBasecomponent - 追加対象コンポーネントindex - 追加位置public void removeComponent(PFComponent component) throws PFRuntimeException
removeComponent インタフェース内 PFConstructBasecomponent - 削除対象コンポーネントPFRuntimeException - コンポーネント削除不可public void removeComponent(java.util.Stack baseStack,
PFComponent component)
throws PFRuntimeException
removeComponent インタフェース内 PFConstructBasebaseStack - アプリケーション階層component - 削除対象コンポーネントPFRuntimeException - コンポーネント削除不可public boolean moveComponent(PFComponent component, int i)
moveComponent インタフェース内 PFConstructBasecomponent - 移動対象コンポーネントi - 移動先public boolean moveComponentToTop(int count)
moveComponentToTop インタフェース内 PFConstructBasecount - 移動数public void addComment(PFApplicationComment comment)
addComment インタフェース内 PFConstructBasecomment - 追加対象コメントpublic void addComment(PFApplicationComment comment, int index)
addComment インタフェース内 PFConstructBasecomment - 追加対象コメントindex - 追加位置public void removeComment(PFApplicationComment comment)
removeComment インタフェース内 PFConstructBasecomment - 削除対象コメントpublic boolean moveComment(PFApplicationComment comment, int i)
moveComment インタフェース内 PFConstructBasecomment - 移動対象コメントi - 移動先public void sortComponent()
sortComponent インタフェース内 PFConstructBasepublic void renumberComponentID()
renumberComponentID インタフェース内 PFConstructBasepublic java.util.Iterator getContainComponentList()
getContainComponentList インタフェース内 PFConstructBasepublic int getContainComponentCount()
getContainComponentCount インタフェース内 PFConstructBasepublic PFComponent getComponentAt(int index)
getComponentAt インタフェース内 PFConstructBaseindex - 取得位置public java.util.Iterator getAllComponentList()
getAllComponentList インタフェース内 PFConstructBasepublic int getAllComponentCount()
getAllComponentCount インタフェース内 PFConstructBasepublic 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
save インタフェース内 PFConstructBasesaveFile - 保存先ファイルjava.io.FileNotFoundException - ファイルが見つからないjava.io.IOException - ファイル出力に失敗public void clear()
clear インタフェース内 PFConstructBasepublic void clear(java.util.Stack stack)
clear インタフェース内 PFConstructBasestack - コンポーネント階層public void setExecuteMode(boolean mode)
mode - 実行中はtrue、開発中(ビルダー上)はfalsepublic boolean getExecuteMode()
public void startApplication()
throws PFMethodException,
PFRuntimeException,
PFDataCooperationException
public void terminateApplication()
throws PFMethodException,
PFRuntimeException,
PFDataCooperationException
public PFComponent searchComponent(int id)
searchComponent インタフェース内 PFConstructBaseid - 検索するコンポーネントのIDpublic boolean equals(java.lang.Object o)
equals クラス内 java.lang.Objecto - チェック対象オブジェクトpublic boolean verifyPassword(java.lang.String readPass,
java.lang.String inputPass)
verifyPassword インタフェース内 PFConstructBasereadPass - 読み込んだパスワードinputPass - 入力されたパスワードpublic int checkTheApplicationWasLocked()
checkTheApplicationWasLocked インタフェース内 PFConstructBasepublic PFObjectList getHistoryList()
public void registerHistory(PFHistoryInformation info)
info - 履歴情報public void clearAllHistory()
public void clearHistory(int index)
index - 削除対象のインデックスpublic void clearHistory(java.lang.String key)
key - 削除対象のコンポーネント公開名public PFHistoryInformationSearchResult searchHistoryInfo(java.lang.String key)
key - 検索対象のコンポーネント公開名public boolean isChild(PFComponent comp)
isChild インタフェース内 PFConstructBasecomp - コンポーネントpublic boolean contains(PFComponent comp)
comp - コンポーネントpublic PFConstructBase getParentComponent(PFComponent comp)
comp - コンポーネントpublic java.util.Stack getParentComponentStack(PFComponent comp)
comp - コンポーネントpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
writeXML インタフェース内 PFXMLSerializableout - XML出力ユーティリティjava.io.IOExceptionpublic void readXML(PFXMLLoader in)
readXML インタフェース内 PFXMLSerializablein - XML入力ユーティリティpublic void informEventFired(PFComponentConnector connector)
informEventFired インタフェース内 PFConstructBaseconnector - 発生イベントのコンポーネントコネクタpublic void informEventCompleted(PFComponentConnector connector)
informEventCompleted インタフェース内 PFConstructBaseconnector - 発生イベントのコンポーネントコネクタpublic java.util.Map getIndentMap()
getIndentMap インタフェース内 PFConstructBasepublic void setIndentMap(java.util.Map map)
setIndentMap インタフェース内 PFConstructBaseインデントマップ - public int getIndent(PFComponent component)
getIndent インタフェース内 PFConstructBasecomponent - コンポーネントpublic void incrementIndent(PFComponent component)
incrementIndent インタフェース内 PFConstructBasecomponent - コンポーネントpublic void decrementIndent(PFComponent component)
decrementIndent インタフェース内 PFConstructBasecomponent - コンポーネントpublic void clearIndent(PFComponent component)
clearIndent インタフェース内 PFConstructBasecomponent - コンポーネント