public abstract class PFShapeDocumentWriter extends PFWriter implements PFActionEventSource
トリガ | イベント番号 |
---|---|
writeメソッド呼び出しの成功 | 0 |
コンストラクタと説明 |
---|
PFShapeDocumentWriter() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addPFActionListener(PFActionListener lis)
引数で与えられたイベントリスナを登録し、
アクションイベント発生時に処理を行う対象とする。
|
protected void |
firePFActionPerformed(PFActionEvent event)
アクションイベントをリスナーに通知する。
|
protected java.io.PrintWriter |
getOutput()
出力先のストリームを取得する。
|
java.util.Iterator |
getPFActionListenerList()
アクションイベントリスナ配列を取得する。
|
boolean |
isWritingInAnotherThread()
ファイル読み込み時の別スレッド実行の有無を取得する
|
void |
removePFActionListener(PFActionListener lis)
引数で与えられたイベントリスナを削除し、
アクションイベント発生時に処理を行う対象から外す。
|
void |
setWritingInAnotherThread(boolean flag)
ファイル読み込み時の別スレッド実行の有無を設定する
|
void |
write(java.io.File file,
java.lang.Object shapeObj)
ファイルオブジェクトを指定して文字列を書き出す。
|
void |
write(java.lang.String filename,
java.lang.Object shapeObj)
ファイル名を指定して文字列を書き出す。
|
protected abstract boolean |
writeData(java.lang.Object shapeObj)
形状モデルデータをファイルに書き出す。
|
protected abstract boolean |
writeItems(java.lang.Object items)
形状モデルデータをファイルに書き出す。
|
void |
writeItems(java.lang.String fileName,
java.lang.Object items)
ファイル名と出力形状を指定して文字列を書き出す.
|
getComponentID, getComponentKey, getComponentKeys, getComponentPublicName, getComponentString, getCurrentFile, getExceptionIgnoring, getFile, isAllowPullTransfer, isAllowPushTransfer, isAllowRemoteInvocation, localeUpdated, setAllowPullTransfer, setAllowPushTransfer, setAllowRemoteInvocation, setComponentID, setComponentKey, setComponentKeys, setComponentPublicName, setExceptionIgnoring, setFile, setFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponentName
public java.util.Iterator getPFActionListenerList()
getPFActionListenerList
インタフェース内 PFActionEventSource
public void addPFActionListener(PFActionListener lis)
addPFActionListener
インタフェース内 PFActionEventSource
lis
- 追加対象イベントリスナpublic void removePFActionListener(PFActionListener lis)
removePFActionListener
インタフェース内 PFActionEventSource
lis
- 削除対象イベントリスナprotected void firePFActionPerformed(PFActionEvent event)
public void write(java.lang.String filename, java.lang.Object shapeObj) throws PFComponentException, PFMethodException, PFRuntimeException
filename
- ファイル名shapeObj
- 書き出す形状モデルデータPFComponentException
- 書き出しの失敗PFMethodException
- イベント伝播先のメソッド起動時のエラーPFRuntimeException
- 予期しない実行時エラーpublic void write(java.io.File file, java.lang.Object shapeObj) throws PFComponentException, PFMethodException, PFRuntimeException
file
- ファイルオブジェクトshapeObj
- 書き出す形状モデルデータPFComponentException
- 書き出しの失敗PFMethodException
- イベント伝播先のメソッド起動時のエラーPFRuntimeException
- 予期しない実行時エラーpublic void writeItems(java.lang.String fileName, java.lang.Object items) throws PFComponentException, PFMethodException, PFRuntimeException
file
- ファイルオブジェクトitems
- 書き出す形状モデルデータPFComponentException
- 書き出しの失敗PFMethodException
- イベント伝播先のメソッド起動時のエラーPFRuntimeException
- 予期しない実行時エラーprotected abstract boolean writeData(java.lang.Object shapeObj) throws PFComponentException
shapeObj
- 形状モデルデータPFComponentException
- エラーprotected abstract boolean writeItems(java.lang.Object items) throws PFComponentException
shapeObj
- 形状モデルデータPFComponentException
- エラーprotected java.io.PrintWriter getOutput()
public boolean isWritingInAnotherThread()
public void setWritingInAnotherThread(boolean flag)
flag
- 別スレッド実行の有無