|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnga.servlet.dsp.writer.TargetValueWriter
nga.servlet.dsp.writer.TreeWriter
public class TreeWriter
Tree 用ライタ。
フィールドの概要 | |
---|---|
protected TargetInfo |
targetInfo
target タグ情報。 |
クラス nga.servlet.dsp.writer.TargetValueWriter から継承されたフィールド |
---|
targetValue, writer |
コンストラクタの概要 | |
---|---|
TreeWriter()
TreeWriter を作成する。 |
メソッドの概要 | |
---|---|
static String |
getClosedNodeIcon(TargetInfo targetInfo)
ノードが閉じている状態をあらわすアイコンのURLを取得する。 |
static String |
getMinusIcon(TargetInfo targetInfo)
-アイコン画像ファイルの URL を取得する。 |
static String |
getNodeIcon(TargetInfo targetInfo)
開閉に関係なくノードをあらわすアイコンのURLを取得する。 |
static String |
getOpenedNodeIcon(TargetInfo targetInfo)
ノードが開いている状態をあらわすアイコンのURLを取得する。 |
static String |
getPlusIcon(TargetInfo targetInfo)
+アイコン画像ファイルの URL を取得する。 |
protected void |
init()
このインスタンスの初期化を行なう。 |
protected void |
printNode(TreeNode node)
ノードを出力する。 |
protected void |
printNodeIcon(TreeNode node)
ノードをあらわすアイコンを出力する。 |
protected void |
printNodeValue(TreeNode node)
ノードの値を出力する。 |
protected void |
printOpenerIcon(TreeNode node)
+ / - アイコンを出力する。 |
protected void |
printTree(Tree tree)
ツリーを出力する。 |
void |
write()
出力を行なう。 |
クラス nga.servlet.dsp.writer.TargetValueWriter から継承されたメソッド |
---|
attr, attr, attr, attr, format, format, getClass, getErrorItem, getErrorValue, getFormat, getFormat, getLabel, getLabel, getScale, isCdataSection, isContainer, print, print, printErrorValue, println, println, println, printRequest, setTargetValue, writeAttribute |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected TargetInfo targetInfo
コンストラクタの詳細 |
---|
public TreeWriter()
メソッドの詳細 |
---|
public void write() throws IOException
TargetValueWriter
内の write
IOException
protected void init()
public static String getOpenedNodeIcon(TargetInfo targetInfo)
targetInfo
- target タグ情報。
public static String getClosedNodeIcon(TargetInfo targetInfo)
targetInfo
- target タグ情報。
public static String getNodeIcon(TargetInfo targetInfo)
targetInfo
- target タグ情報。
public static String getPlusIcon(TargetInfo targetInfo)
targetInfo
- target タグ情報。
public static String getMinusIcon(TargetInfo targetInfo)
targetInfo
- target タグ情報。
protected void printTree(Tree tree)
tree
- 出力対象ツリー。protected void printNode(TreeNode node)
node
- 出力対象ノード。protected void printNodeValue(TreeNode node)
node
- protected void printOpenerIcon(TreeNode node)
node
- 出力対象ノード。protected void printNodeIcon(TreeNode node)
node
- 出力対象ノード。
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |