org.melati.util
Class JSDynamicTree

Package class diagram package JSDynamicTree
java.lang.Object
  extended by org.melati.util.Tree
      extended by org.melati.util.JSDynamicTree

public class JSDynamicTree
extends Tree

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

JSDynamicTree

public JSDynamicTree(Tree tree)
Constructor.

Parameters:
tree - the Tree to render
Method Detail

getX

public Integer getX()
Returns:
the starting X co-ordinate

setX

public void setX(Integer x)
Set the starting X co-ordinate.

Parameters:
x - the starting X co-ordinate to set

getY

public Integer getY()
Returns:
the starting Y co-ordinate

setY

public void setY(Integer y)
Set the starting Y co-ordinate.

Parameters:
y - the starting Y co-ordinate to set

getNodeHeight

public Integer getNodeHeight()
Returns:
the node height

setNodeHeight

public void setNodeHeight(Integer nh)
Set the node height.

Parameters:
nh - the node height to set

getNodeWidth

public Integer getNodeWidth()
Returns:
the node width

setNodeWidth

public void setNodeWidth(Integer nw)
Set the node width.

Parameters:
nw - the node width to set

getNodeColour

public String getNodeColour()
Returns:
the node colour

setNodeColour

public void setNodeColour(String nc)
Set the node colour.

Parameters:
nc - the node colour to set

getIndent

public Integer getIndent()
Returns:
the indent

setIndent

public void setIndent(Integer i)
Set the indent.

Parameters:
i - the indent to set

getNodeLabelTemplet

public String getNodeLabelTemplet()
Returns:
the node label templet

setNodeLabelTemplet

public void setNodeLabelTemplet(String nlt)
Set the node label templet.

Parameters:
nlt - the node label templet to set

getOpenedImage

public String getOpenedImage()
Returns:
the opened image

setOpenedImage

public void setOpenedImage(String oi)
Set the opened image.

Parameters:
oi - the opened image to set

getClosedImage

public String getClosedImage()
Returns:
the closed image

setClosedImage

public void setClosedImage(String ci)
Set the closed image.

Parameters:
ci - the closed image to set

getLeafImage

public String getLeafImage()
Returns:
the leaf image

setLeafImage

public void setLeafImage(String li)
Set the leaf image.

Parameters:
li - the leaf image to set

getDepthPerDownload

public Integer getDepthPerDownload()
Returns:
the depth per download

setDepthPerDownload

public void setDepthPerDownload(Integer dpd)
Set the depth per download.

Parameters:
dpd - the depth per download to set


Copyright © 2000-2010 PanEris. All Rights Reserved.