|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
jp.sourceforge.gtibuilder.editor.ImageViewer
| 入れ子クラスの概要 |
| クラス javax.swing.JComponent から継承した入れ子クラス |
JComponent.AccessibleJComponent |
| クラス java.awt.Container から継承した入れ子クラス |
Container.AccessibleAWTContainer |
| クラス java.awt.Component から継承した入れ子クラス |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| フィールドの概要 | |
private String |
directory
|
private EditorUpdataManager |
eum
|
private String |
fileName
|
private FileType |
ft
|
private GBFile |
gfile
|
private Image |
image
|
private JScrollPane |
sp
|
| クラス javax.swing.JComponent から継承したフィールド |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| クラス java.awt.Container から継承したフィールド |
|
| クラス java.awt.Component から継承したフィールド |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| インタフェース jp.sourceforge.gtibuilder.main.ProjectFile から継承したフィールド |
DIRECTORY, EDITOR, GBFILE, NAME, PROJECT |
| インタフェース java.awt.image.ImageObserver から継承したフィールド |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| コンストラクタの概要 | |
ImageViewer()
Creates a new instance of ImageViewer |
|
| メソッドの概要 | |
void |
addEditorUpdataListener(EditorUpdataListener listener)
Editorの名前やディレクトリが変更された時に通知されるリスナーを追加します。 |
void |
compiled()
コンパイルされたことを通知します。 |
void |
copy()
コピーが要求されたことを通知します。 |
void |
cut()
カットが要求されたことを通知します。 |
void |
delete()
削除が要求されたことを通知します。 |
Component |
getComponent()
クラスEditorの中に表示されるコンポーネントを返します。 |
GBFile |
getFile()
GBFileを返します。 |
Dialog |
getFilePreference()
ファイルの設定ダイアログを返します。 |
FileType |
getFileType()
現在使われているファイルタイプを返します。 |
NewPanel |
getNewFilePropertyPane()
ファイルを新たに作成する場合の設定ダイアログを返します。 |
Dimension |
getPreferredSize()
|
Component |
getPrintComponent()
印刷されるコンポーネントを返します。 |
FileType[] |
getSupportedTypes()
このエディターでサポートされているファイルタイプの配列を返します。 |
void |
init(StringArray map,
FileType type)
StringArrayとFileTypeからEditorを初期化します。 |
boolean |
isAutoCheckProperty()
ファイル名とディレクトリを自動的にチェックしているかどうかを返します。 |
boolean |
isCompiled()
コンパイル済みかを返します。 |
boolean |
isEdited()
このエディタに変更があったかを返します。 |
boolean |
isSupportedType(FileType ft)
このファイルタイプの閲覧もしくは編集がこのエディタでサポートされているかを返します。 |
void |
paintComponent(Graphics g)
|
void |
paste()
ペーストが要求されたことを通知します。 |
boolean |
readData(byte[] data)
バイト配列からデータを読み込みます。 |
void |
redo()
Redoが要求されたことを通知します。 |
void |
removeEditorUpdataListener(EditorUpdataListener listener)
Editorの名前やディレクトリが変更された時に通知されるリスナーを削除します。 |
void |
save()
ファイルをGBFileに保存します。 |
void |
saved()
保存されたことを通知します。 |
void |
setEditor(Editor editor)
Editorに収納されたときにそのエディターが渡されます。 |
void |
setFile(GBFile file)
GBFileを設定します。 |
boolean |
setFileType(FileType ft)
ファイルタイプを設定します。 |
void |
undo()
Undoが要求されたことを通知します。 |
boolean |
usingEditMenu()
編集メニューを使うかどうかを返します。 |
JMenuItem[] |
usingMenu()
独自のメニューを使う場合はこれを返します。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
private Image image
private String fileName
private String directory
private JScrollPane sp
private FileType ft
private EditorUpdataManager eum
private GBFile gfile
| コンストラクタの詳細 |
public ImageViewer()
| メソッドの詳細 |
public void addEditorUpdataListener(EditorUpdataListener listener)
ProjectFile の記述:
ProjectFile 内の addEditorUpdataListenerlistener - 追加するリスナーpublic void compiled()
ProjectFile の記述:
ProjectFile 内の compiledpublic void copy()
ProjectFile の記述:
ProjectFile 内の copypublic void cut()
ProjectFile の記述:
ProjectFile 内の cutpublic void delete()
ProjectFile の記述:
ProjectFile 内の deletepublic Component getComponent()
EditorComponent の記述:
EditorComponent 内の getComponentpublic void save()
EditorComponent の記述:
EditorComponent 内の savepublic Dialog getFilePreference()
EditorComponent の記述:
EditorComponent 内の getFilePreferencepublic FileType getFileType()
ProjectFile の記述:
ProjectFile 内の getFileTypepublic NewPanel getNewFilePropertyPane()
EditorComponent の記述:
EditorComponent 内の getNewFilePropertyPanepublic Component getPrintComponent()
EditorComponent の記述:
EditorComponent 内の getPrintComponentpublic FileType[] getSupportedTypes()
EditorComponent の記述:
EditorComponent 内の getSupportedTypes
public void init(StringArray map,
FileType type)
EditorComponent の記述:
EditorComponent 内の initpublic boolean isAutoCheckProperty()
ProjectFile の記述: package +++++
class ****
ProjectFile 内の isAutoCheckPropertytruepublic boolean isCompiled()
ProjectFile の記述:
ProjectFile 内の isCompiledpublic boolean isEdited()
ProjectFile の記述:
ProjectFile 内の isEditedtruepublic boolean isSupportedType(FileType ft)
EditorComponent の記述:
EditorComponent 内の isSupportedTypepublic void paste()
ProjectFile の記述:
ProjectFile 内の pastepublic boolean readData(byte[] data)
EditorComponent の記述:
EditorComponent 内の readDatadata - 読み込むデータ
truepublic void redo()
ProjectFile の記述:
ProjectFile 内の redopublic void removeEditorUpdataListener(EditorUpdataListener listener)
ProjectFile の記述:
ProjectFile 内の removeEditorUpdataListenerlistener - 削除するリスナーpublic void saved()
ProjectFile の記述:
ProjectFile 内の savedpublic boolean setFileType(FileType ft)
ProjectFile の記述:
ProjectFile 内の setFileTypeft - 指定するファイルタイプ
truepublic void undo()
ProjectFile の記述:
ProjectFile 内の undopublic boolean usingEditMenu()
ProjectFile の記述:
ProjectFile 内の usingEditMenupublic JMenuItem[] usingMenu()
ProjectFile の記述:
ProjectFile 内の usingMenupublic void paintComponent(Graphics g)
public Dimension getPreferredSize()
public void setEditor(Editor editor)
EditorComponent の記述:
EditorComponent 内の setEditorpublic GBFile getFile()
ProjectFile の記述:
ProjectFile 内の getFilepublic void setFile(GBFile file)
ProjectFile の記述:
ProjectFile 内の setFilefile - このエディタを関連づけるGBFile
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||