|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.carabiner.treeeditor.js.JSDocument
public class JSDocument
ドキュメントを表現するクラスです。
| コンストラクタの概要 | |
|---|---|
JSDocument(JSRunner jsRunner,
org.mozilla.javascript.Scriptable scope,
TreeEditorFrame frame)
構築します。 |
|
| メソッドの概要 | |
|---|---|
void |
addEventListener(String name,
Object f)
イベントリスナを追加します。 |
Object |
create(org.mozilla.javascript.Scriptable scope)
|
JSTreeNode |
createTreeNode(String text)
ツリーノードを生成します。 |
void |
dispose()
破棄します。 |
JSColumnHeader[] |
getColumnHeaders()
カラムヘッダのリストを取得します。 |
jp.carabiner.treeeditor.TreeEditorContext |
getContext()
コンテキストを取得します。 |
jp.carabiner.treeeditor.config.DocumentStyle |
getDefaultDocumentStyle()
ドキュメントスタイルのデフォルトを取得します。 |
JSTreeNode |
getDefaultStyle()
デフォルトスタイルを取得します。 |
jp.carabiner.treeeditor.FileManager |
getFileManager()
ファイルマネージャを取得します。 |
String |
getFilename()
ファイル名を取得します。 |
String |
getFilepath()
ファイルパスを取得します。 |
String |
getHandleStyleClassname()
ハンドルスタイルのクラス名を取得します。 |
jp.carabiner.treeeditor.config.DocumentStyle |
getInternalDocumentStyle()
内部管理用のDocumentStyleを取得します。 |
int |
getNodeContentWidth()
コンテンツ幅を取得します。 |
JSNodeStyles |
getNodeStyles()
ノードスタイルを取得します。 |
Object |
getOnclose()
閉じるイベント用のハンドラを取得します。 |
Object |
getOnnodechange()
ノード変更イベント用のハンドラを取得します。 |
Object |
getOnopen()
開くイベント用のハンドラを取得します。 |
Object |
getOnpropchange()
プロパティ変更イベント用のハンドラを取得します。 |
jp.carabiner.treeeditor.op.CompositeOp |
getOwnerOp()
操作オーナーを取得します。 |
jp.carabiner.treeeditor.ITreeNodePanel |
getPanelByNode(TreeNode node)
パネルを取得します。 |
JSTreeNode |
getRootNode()
ルートノードを取得します。 |
org.mozilla.javascript.Scriptable |
getScope()
スコープを取得します。 |
JSHandleColor |
getTextHandleColor()
本文のハンドル色を取得します。 |
JSHandleColor |
getTopicHandleColor()
トピックのハンドル色を取得します。 |
int |
getVisibleColumns()
表示領界を取得します。 |
boolean |
isChangeOddColor()
行ごとに色を変更するかどうかを判定します。 |
boolean |
isCheckBoxVisible()
チェックボックスを表示するかどうかを判定します。 |
boolean |
isMetadataNewLineByEnterKey()
メタデータエディタにおいてEnterキーで改行するかどうかを判定します。 |
void |
removeEventListener(String name,
Object f)
イベントリスナを削除します。 |
boolean |
set(String path,
jp.carabiner.treeeditor.config.DocumentStyle style,
JSTreeNode node)
推奨されていません。 |
boolean |
set(String path,
JSTreeNode node)
推奨されていません。 |
void |
setChangeOddColor(boolean enable)
行ごとに色を変更するかどうかを設定します。 |
void |
setCheckBoxVisible(boolean visible)
チェックボックスを表示するかどうかを設定します。 |
void |
setDefaultStyle(JSTreeNode node)
デフォルトスタイルを設定します。 |
void |
setHandleStyleClassname(String classname)
ハンドルスタイルのクラス名を設定します。 |
void |
setMetadataNewLineByEnterKey(boolean metadataNewLineByEnterKey)
メタデータエディタにおいてEnterキーで改行するかどうかを設定します。 |
void |
setNodeContentWidth(int nodeContentWidth)
ノードのコンテンツ幅を設定します。 |
void |
setOnclose(Object f)
閉じるイベント用のハンドラを設定します。 |
void |
setOnnodechange(Object f)
ノード変更イベント用のハンドラを設定します。 |
void |
setOnopen(Object f)
開くイベント用のハンドラを設定します。 |
void |
setOnpropchange(Object f)
プロパティ変更イベント用のハンドラを設定します。 |
void |
setRootNode(JSTreeNode newRootNode)
ルートノードを設定します。 |
void |
setVisibleColumns(int cols)
表示領界を設定します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public JSDocument(JSRunner jsRunner,
org.mozilla.javascript.Scriptable scope,
TreeEditorFrame frame)
jsRunner - 実行エンジン。nullは不可。scope - スコープ。frame - フレーム。nullは不可。| メソッドの詳細 |
|---|
public void dispose()
public org.mozilla.javascript.Scriptable getScope()
ToplevelObject 内の getScopepublic jp.carabiner.treeeditor.op.CompositeOp getOwnerOp()
ToplevelObject 内の getOwnerOppublic jp.carabiner.treeeditor.FileManager getFileManager()
ToplevelObject の記述:
ToplevelObject 内の getFileManagerpublic jp.carabiner.treeeditor.config.DocumentStyle getDefaultDocumentStyle()
@Deprecated
public boolean set(String path,
JSTreeNode node)
throws IOException
path - パス。nullは不可。node - ノード。nullは不可。
IOException - 入出力時のエラー。
@Deprecated
public boolean set(String path,
jp.carabiner.treeeditor.config.DocumentStyle style,
JSTreeNode node)
throws IOException
path - パス。nullは不可。style - スタイル。nullは不可。node - ノード。nullは不可。
IOException - 入出力時のエラー。public void setRootNode(JSTreeNode newRootNode)
IJSDocument の記述:
IJSDocument 内の setRootNodenewRootNode - ルートノード。public JSTreeNode createTreeNode(String text)
IJSDocument の記述:
IJSDocument 内の createTreeNodetext - テキスト。nullは不可。
public JSTreeNode getRootNode()
IJSDocument の記述:
IJSDocument 内の getRootNodepublic JSNodeStyles getNodeStyles()
public JSColumnHeader[] getColumnHeaders()
public String getFilename()
public String getFilepath()
public Object getOnclose()
public void setOnclose(Object f)
f - ハンドラ。public void setOnopen(Object f)
f - ハンドラ。public Object getOnopen()
public jp.carabiner.treeeditor.ITreeNodePanel getPanelByNode(TreeNode node)
ToplevelObject の記述:
ToplevelObject 内の getPanelByNodenode - ノード。nullは不可。
public void setOnpropchange(Object f)
f - ハンドラ。public Object getOnpropchange()
public void setOnnodechange(Object f)
f - ハンドラ。public Object getOnnodechange()
public void addEventListener(String name,
Object f)
name - 名前。nullは不可。f - リスナ。nullは不可。
public void removeEventListener(String name,
Object f)
name - 名前。nullは不可。f - リスナ。nullは不可。public int getVisibleColumns()
public void setVisibleColumns(int cols)
cols - 表示領界。public int getNodeContentWidth()
public void setNodeContentWidth(int nodeContentWidth)
nodeContentWidth - ノードのコンテンツ幅。public boolean isChangeOddColor()
public void setChangeOddColor(boolean enable)
enable - 行ごとに色を変更する場合はtrue。public JSHandleColor getTopicHandleColor()
public JSHandleColor getTextHandleColor()
public JSTreeNode getDefaultStyle()
public void setDefaultStyle(JSTreeNode node)
node - デフォルトスタイルとするノード。nullにすると指定が解除される。public boolean isCheckBoxVisible()
public void setCheckBoxVisible(boolean visible)
visible - チェックボックスを表示する場合はtrue。public String getHandleStyleClassname()
public void setHandleStyleClassname(String classname)
classname - ハンドルスタイルのクラス名。デフォルトの場合はnull。public boolean isMetadataNewLineByEnterKey()
public void setMetadataNewLineByEnterKey(boolean metadataNewLineByEnterKey)
metadataNewLineByEnterKey - メタデータエディタにおいてEnterキーで改行する場合はtrue。public jp.carabiner.treeeditor.config.DocumentStyle getInternalDocumentStyle()
IJSDocument の記述:
IJSDocument 内の getInternalDocumentStylepublic jp.carabiner.treeeditor.TreeEditorContext getContext()
ToplevelObject の記述:
ToplevelObject 内の getContext
public Object create(org.mozilla.javascript.Scriptable scope)
throws org.mozilla.javascript.RhinoException
jp.carabiner.rhino.ScriptableObjectFactory 内の createorg.mozilla.javascript.RhinoException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||