jp.carabiner.treeeditor.js.model
クラス JSColumn

java.lang.Object
  上位を拡張 org.mozilla.javascript.ScriptableObject
      上位を拡張 jp.carabiner.treeeditor.js.model.JSColumn
すべての実装されたインタフェース:
Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class JSColumn
extends org.mozilla.javascript.ScriptableObject

カラムです。

関連項目:
直列化された形式

フィールドの概要
 
クラス org.mozilla.javascript.ScriptableObject から継承されたフィールド
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
インタフェース org.mozilla.javascript.Scriptable から継承されたフィールド
NOT_FOUND
 
コンストラクタの概要
JSColumn(ToplevelObject object, JSTreeNode parent, TreeNode node, int index, PropertySet props)
          構築します。
 
メソッドの概要
 Object get(String name, org.mozilla.javascript.Scriptable start)
           
 Object[] getAllIds()
           
 Color getBackground()
          背景色を取得します。
 String getClassName()
           
 jp.carabiner.treeeditor.Metadata getCore()
          コアを取得します。
 Object getDefaultValue(Class<?> typeHint)
           
 Color getForeground()
          文字色を取得します。
 String getHtml()
           
 String getHTML()
           
 int getIndex()
          メタデータのインデックスを取得します。
 JSTreeNode getParent()
          親ノードを取得します。
 String getText()
          テキストを取得します。
 boolean has(String name, org.mozilla.javascript.Scriptable start)
           
 boolean isTextEditable()
          編集可能かどうかを判定します。
 void setBackground(org.mozilla.javascript.Scriptable background)
          背景色を設定します。
 void setForeground(org.mozilla.javascript.Scriptable foreground)
          文字色を設定します。
 void setHtml(String html)
           
 void setHTML(String html)
           
 void setText(String text)
          テキストを設定します。
 void setTextEditable(boolean editable)
          編集可能かどうかを設定します。
 
クラス org.mozilla.javascript.ScriptableObject から継承されたメソッド
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JSColumn

public JSColumn(ToplevelObject object,
                JSTreeNode parent,
                TreeNode node,
                int index,
                PropertySet props)
構築します。

パラメータ:
object - トップレベルオブジェクト。nullは不可。
parent - 親オブジェクト。nullは不可。
node - ノード。nullは不可。
index - インデックス。
props - プロパティセット。nullは不可。
メソッドの詳細

getClassName

public String getClassName()
定義:
インタフェース org.mozilla.javascript.Scriptable 内の getClassName
定義:
クラス org.mozilla.javascript.ScriptableObject 内の getClassName

get

public Object get(String name,
                  org.mozilla.javascript.Scriptable start)
定義:
インタフェース org.mozilla.javascript.Scriptable 内の get
オーバーライド:
クラス org.mozilla.javascript.ScriptableObject 内の get

getAllIds

public Object[] getAllIds()
定義:
インタフェース org.mozilla.javascript.debug.DebuggableObject 内の getAllIds
オーバーライド:
クラス org.mozilla.javascript.ScriptableObject 内の getAllIds

has

public boolean has(String name,
                   org.mozilla.javascript.Scriptable start)
定義:
インタフェース org.mozilla.javascript.Scriptable 内の has
オーバーライド:
クラス org.mozilla.javascript.ScriptableObject 内の has

getCore

public jp.carabiner.treeeditor.Metadata getCore()
コアを取得します。

戻り値:
コア。nullは不可。

getIndex

public int getIndex()
メタデータのインデックスを取得します。

戻り値:
インデックス。

getParent

public JSTreeNode getParent()
親ノードを取得します。

戻り値:
親ノード。

getText

public String getText()
テキストを取得します。

戻り値:
テキスト。

setText

public void setText(String text)
テキストを設定します。

パラメータ:
text - テキスト。nullは不可。

getHTML

public String getHTML()

getHtml

public String getHtml()

setHTML

public void setHTML(String html)
             throws IOException
例外:
IOException

setHtml

public void setHtml(String html)
             throws IOException
例外:
IOException

isTextEditable

public boolean isTextEditable()
編集可能かどうかを判定します。

戻り値:
編集可能であればtrue。

setTextEditable

public void setTextEditable(boolean editable)
編集可能かどうかを設定します。

パラメータ:
editable - 編集可能であればtrue。

getForeground

public Color getForeground()
文字色を取得します。

戻り値:
文字色。未指定の場合はnull。

setForeground

public void setForeground(org.mozilla.javascript.Scriptable foreground)
文字色を設定します。

パラメータ:
foreground - 文字色。null可。

getBackground

public Color getBackground()
背景色を取得します。

戻り値:
背景色。未指定の場合はnull。

setBackground

public void setBackground(org.mozilla.javascript.Scriptable background)
背景色を設定します。

パラメータ:
background - 背景色。null可。

getDefaultValue

public Object getDefaultValue(Class<?> typeHint)
定義:
インタフェース org.mozilla.javascript.Scriptable 内の getDefaultValue
オーバーライド:
クラス org.mozilla.javascript.ScriptableObject 内の getDefaultValue