org.melati.util
Class 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
 java.lang.String getClosedImage()
           
 java.lang.Integer getDepthPerDownload()
           
 java.lang.Integer getIndent()
           
 java.lang.String getLeafImage()
           
 java.lang.String getNodeColour()
           
 java.lang.Integer getNodeHeight()
           
 java.lang.String getNodeLabelTemplet()
           
 java.lang.Integer getNodeWidth()
           
 java.lang.String getOpenedImage()
           
 java.lang.Integer getX()
           
 java.lang.Integer getY()
           
 void setClosedImage(java.lang.String ci)
          Set the closed image.
 void setDepthPerDownload(java.lang.Integer dpd)
          Set the depth per download.
 void setIndent(java.lang.Integer i)
          Set the indent.
 void setLeafImage(java.lang.String li)
          Set the leaf image.
 void setNodeColour(java.lang.String nc)
          Set the node colour.
 void setNodeHeight(java.lang.Integer nh)
          Set the node height.
 void setNodeLabelTemplet(java.lang.String nlt)
          Set the node label templet.
 void setNodeWidth(java.lang.Integer nw)
          Set the node width.
 void setOpenedImage(java.lang.String oi)
          Set the opened image.
 void setX(java.lang.Integer x)
          Set the starting X co-ordinate.
 void setY(java.lang.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 java.lang.Integer getX()
Returns:
the starting X co-ordinate

setX

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

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

getY

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

setY

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

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

getNodeHeight

public java.lang.Integer getNodeHeight()
Returns:
the node height

setNodeHeight

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

Parameters:
nh - the node height to set

getNodeWidth

public java.lang.Integer getNodeWidth()
Returns:
the node width

setNodeWidth

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

Parameters:
nw - the node width to set

getNodeColour

public java.lang.String getNodeColour()
Returns:
the node colour

setNodeColour

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

Parameters:
nc - the node colour to set

getIndent

public java.lang.Integer getIndent()
Returns:
the indent

setIndent

public void setIndent(java.lang.Integer i)
Set the indent.

Parameters:
i - the indent to set

getNodeLabelTemplet

public java.lang.String getNodeLabelTemplet()
Returns:
the node label templet

setNodeLabelTemplet

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

Parameters:
nlt - the node label templet to set

getOpenedImage

public java.lang.String getOpenedImage()
Returns:
the opened image

setOpenedImage

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

Parameters:
oi - the opened image to set

getClosedImage

public java.lang.String getClosedImage()
Returns:
the closed image

setClosedImage

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

Parameters:
ci - the closed image to set

getLeafImage

public java.lang.String getLeafImage()
Returns:
the leaf image

setLeafImage

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

Parameters:
li - the leaf image to set

getDepthPerDownload

public java.lang.Integer getDepthPerDownload()
Returns:
the depth per download

setDepthPerDownload

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

Parameters:
dpd - the depth per download to set


Copyright © 2000-2008 PanEris. All Rights Reserved.