|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.util.Tree
org.melati.util.JSStaticTree
public class JSStaticTree
A JavaScript tree which can be rendered as ordinary HTML.
| Constructor Summary | |
|---|---|
JSStaticTree(Treeable[] nodes,
String staticURL)
Constructor for an array. |
|
JSStaticTree(Tree tree,
String staticURL)
Constructor. |
|
| 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 JSStaticTree(Tree tree,
String staticURL)
tree - the Tree to renderstaticURL - images base url
public JSStaticTree(Treeable[] nodes,
String staticURL)
nodes - staticURL - | Method Detail |
|---|
public String getBackgroundColour()
public void setBackgroundColour(String bg)
bg - the background colour hex string (without a hash)public String getVerticalLinkImage()
public void setVerticalLinkImage(String vli)
vli - the vertical link imagepublic String getSpacerImage()
public void setSpacerImage(String si)
si - the spacer image name to setpublic String getOpenedFolderImage()
public void setOpenedFolderImage(String ofi)
ofi - the opened folder image name to setpublic String getClosedFolderImage()
public void setClosedFolderImage(String cfi)
cfi - the closed folder image name to setpublic String getOpenedTImage()
public void setOpenedTImage(String oti)
oti - the opened Tee image to setpublic String getOpenedLImage()
public void setOpenedLImage(String oli)
oli - the opened L image to setpublic String getClosedTImage()
public void setClosedTImage(String cti)
cti - the closed Tee imagepublic String getClosedLImage()
public void setClosedLImage(String cli)
cli - the closed L imagepublic String getLeafTImage()
public void setLeafTImage(String lti)
lti - the Leaf Tee image to setpublic String getLeafLImage()
public void setLeafLImage(String lli)
lli - the leaf L image to setpublic String getLeafImage()
public void setLeafImage(String li)
li - the leaf image to setpublic String getImageBaseRef()
public void setImageBaseRef(String ibr)
ibr - the image base href 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 | |||||||||