|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Ulm.XML.GUI.xnode
Data on XML node used during rendering. Copyright: Copyright (c) 2001 Ulm university, all rights reserved Company: Ulm university
Field Summary | |
java.lang.String |
blue
Node additional info, will be displayed in blue. |
javax.swing.JComponent |
component
The whole different JComponent to display, if one is set. |
int |
diType
Icon number, numbers are defined in XMLRenderer static int fields. |
java.lang.String |
header
Node header |
int |
nchilds
Number of childs, without text nodes. |
org.w3c.dom.Node |
node
Node itself |
Constructor Summary | |
xnode(org.w3c.dom.Node n)
Create node with default header. |
|
xnode(org.w3c.dom.Node n,
javax.swing.JComponent c)
Create node that will be displayed as this component. |
|
xnode(org.w3c.dom.Node n,
java.lang.String h)
Create node with the given header. |
|
xnode(org.w3c.dom.Node n,
java.lang.String h,
int dt)
Create node with the given header and icon. |
|
xnode(org.w3c.dom.Node n,
java.lang.String h,
int dt,
java.lang.String _blue)
Create node with the given header, icon and the additional blue text. |
Method Summary | |
static int |
countChilds(org.w3c.dom.Node node)
Count childs, not counting text nodes and attributes. |
java.lang.String |
getFullPath()
Compute the full path from the root to this node. |
java.lang.String |
toString()
|
void |
withChild(org.w3c.dom.Node n)
Set the current node to be displayed with the given child in one line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String header
public java.lang.String blue
public org.w3c.dom.Node node
public int diType
public int nchilds
public javax.swing.JComponent component
Constructor Detail |
public xnode(org.w3c.dom.Node n, javax.swing.JComponent c)
public xnode(org.w3c.dom.Node n)
public xnode(org.w3c.dom.Node n, java.lang.String h)
public xnode(org.w3c.dom.Node n, java.lang.String h, int dt)
public xnode(org.w3c.dom.Node n, java.lang.String h, int dt, java.lang.String _blue)
Method Detail |
public java.lang.String getFullPath()
public void withChild(org.w3c.dom.Node n)
public static int countChilds(org.w3c.dom.Node node)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |