|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.util.Tree org.melati.util.JSDynamicTree
public class JSDynamicTree
A JavaScript tree which can be rendered as Dynamic HTML.
Constructor Summary | |
---|---|
JSDynamicTree(Tree tree)
Constructor. |
Method Summary | |
---|---|
String |
getClosedImage()
|
Integer |
getDepthPerDownload()
|
Integer |
getIndent()
|
String |
getLeafImage()
|
String |
getNodeColour()
|
Integer |
getNodeHeight()
|
String |
getNodeLabelTemplet()
|
Integer |
getNodeWidth()
|
String |
getOpenedImage()
|
Integer |
getX()
|
Integer |
getY()
|
void |
setClosedImage(String ci)
Set the closed image. |
void |
setDepthPerDownload(Integer dpd)
Set the depth per download. |
void |
setIndent(Integer i)
Set the indent. |
void |
setLeafImage(String li)
Set the leaf image. |
void |
setNodeColour(String nc)
Set the node colour. |
void |
setNodeHeight(Integer nh)
Set the node height. |
void |
setNodeLabelTemplet(String nlt)
Set the node label templet. |
void |
setNodeWidth(Integer nw)
Set the node width. |
void |
setOpenedImage(String oi)
Set the opened image. |
void |
setX(Integer x)
Set the starting X co-ordinate. |
void |
setY(Integer y)
Set the starting Y co-ordinate. |
Methods inherited from class org.melati.util.Tree |
---|
apply, applyBreadthFirst, applyBreadthFirst, applyDepthFirst, applyDepthFirst, flattened, flattened, flattened, getDepth, getTreeableRoots, sorted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSDynamicTree(Tree tree)
tree
- the Tree to renderMethod Detail |
---|
public Integer getX()
public void setX(Integer x)
x
- the starting X co-ordinate to setpublic Integer getY()
public void setY(Integer y)
y
- the starting Y co-ordinate to setpublic Integer getNodeHeight()
public void setNodeHeight(Integer nh)
nh
- the node height to setpublic Integer getNodeWidth()
public void setNodeWidth(Integer nw)
nw
- the node width to setpublic String getNodeColour()
public void setNodeColour(String nc)
nc
- the node colour to setpublic Integer getIndent()
public void setIndent(Integer i)
i
- the indent to setpublic String getNodeLabelTemplet()
public void setNodeLabelTemplet(String nlt)
nlt
- the node label templet to setpublic String getOpenedImage()
public void setOpenedImage(String oi)
oi
- the opened image to setpublic String getClosedImage()
public void setClosedImage(String ci)
ci
- the closed image to setpublic String getLeafImage()
public void setLeafImage(String li)
li
- the leaf image to setpublic Integer getDepthPerDownload()
public void setDepthPerDownload(Integer dpd)
dpd
- the depth per download to set
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |