|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
全てのエディタはこのインターフェイスを実装しなければなりません。
| フィールドの概要 |
| インタフェース jp.sourceforge.gtibuilder.main.ProjectFile から継承したフィールド |
DIRECTORY, EDITOR, GBFILE, NAME, PROJECT |
| メソッドの概要 | |
Component |
getComponent()
クラスEditorの中に表示されるコンポーネントを返します。 |
Dialog |
getFilePreference()
ファイルの設定ダイアログを返します。 |
NewPanel |
getNewFilePropertyPane()
ファイルを新たに作成する場合の設定ダイアログを返します。 |
Component |
getPrintComponent()
印刷されるコンポーネントを返します。 |
FileType[] |
getSupportedTypes()
このエディターでサポートされているファイルタイプの配列を返します。 |
void |
init(StringArray map,
FileType type)
StringArrayとFileTypeからEditorを初期化します。 |
boolean |
isSupportedType(FileType ft)
このファイルタイプの閲覧もしくは編集がこのエディタでサポートされているかを返します。 |
boolean |
readData(byte[] data)
バイト配列からデータを読み込みます。 |
void |
save()
ファイルをGBFileに保存します。 |
void |
setEditor(Editor editor)
Editorに収納されたときにそのエディターが渡されます。 |
| インタフェース jp.sourceforge.gtibuilder.main.ProjectFile から継承したメソッド |
addEditorUpdataListener, compiled, copy, cut, delete, getFile, getFileType, isAutoCheckProperty, isCompiled, isEdited, paste, redo, removeEditorUpdataListener, saved, setFile, setFileType, undo, usingEditMenu, usingMenu |
| メソッドの詳細 |
public NewPanel getNewFilePropertyPane()
public FileType[] getSupportedTypes()
public boolean isSupportedType(FileType ft)
public Component getComponent()
public Component getPrintComponent()
public Dialog getFilePreference()
public void init(StringArray map,
FileType type)
public void setEditor(Editor editor)
public void save()
public boolean readData(byte[] data)
data - 読み込むデータ
true
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||