treebolic.model
Class MutableNode

java.lang.Object
  extended by treebolic.model.NodeData
      extended by treebolic.model.XNodeData
          extended by treebolic.model.Node
              extended by treebolic.model.MutableNode
All Implemented Interfaces:
INode
Direct Known Subclasses:
FsNode, Node, TreeMutableNode

public class MutableNode
extends Node

Mutable node

Author:
Bernard Bou

Field Summary
 
Fields inherited from class treebolic.model.Node
theChildren, theParent
 
Fields inherited from class treebolic.model.XNodeData
theEdgeImage, theMountPoint
 
Fields inherited from class treebolic.model.NodeData
theBackColor, theContent, theEdgeColor, theEdgeImageFile, theEdgeLabel, theEdgeStyle, theForeColor, theId, theImageFile, theLabel, theLink, theTarget
 
Constructor Summary
MutableNode(INode thisParent, java.lang.String thisId)
          Constructor
 
Method Summary
 void setBackColor(java.awt.Color thisColor)
          Set backcolor
 void setContent(java.lang.String thisContent)
          Set content
 void setEdgeColor(java.awt.Color thisColor)
          Set edge color
 void setEdgeImageFile(java.lang.String thisImageFile)
          Set edge image file
 void setEdgeLabel(java.lang.String thisLabel)
          Set edge label
 void setEdgeStyle(java.lang.Integer thisStyle)
          Set edge style
 void setForeColor(java.awt.Color thisColor)
          Set forecolor
 void setImageFile(java.lang.String thisImageFile)
          Set node image file
 void setLabel(java.lang.String thisLabel)
          Set label
 void setLink(java.lang.String thisLink)
          Set node link URL
 void setTarget(java.lang.String thisTarget)
          Set node link target frame
 
Methods inherited from class treebolic.model.Node
getChildren, getParent, setParent
 
Methods inherited from class treebolic.model.XNodeData
getChildrenWeight, getEdgeImage, getImage, getLocation, getMinWeight, getMountPoint, getWeight, setChildrenWeight, setEdgeImage, setImage, setMinWeight, setMountPoint, setWeight
 
Methods inherited from class treebolic.model.NodeData
getBackColor, getContent, getEdgeColor, getEdgeImageFile, getEdgeLabel, getEdgeStyle, getForeColor, getId, getImageFile, getLabel, getLink, getTarget, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface treebolic.model.INode
getBackColor, getChildrenWeight, getContent, getEdgeColor, getEdgeImage, getEdgeImageFile, getEdgeLabel, getEdgeStyle, getForeColor, getId, getImage, getImageFile, getLabel, getLink, getLocation, getMinWeight, getMountPoint, getTarget, getWeight, setChildrenWeight, setEdgeImage, setImage, setMinWeight, setMountPoint, setWeight
 

Constructor Detail

MutableNode

public MutableNode(INode thisParent,
                   java.lang.String thisId)
Constructor

Parameters:
thisParent - parent
thisId - id
Method Detail

setLabel

public void setLabel(java.lang.String thisLabel)
Set label

Parameters:
thisLabel - label

setContent

public void setContent(java.lang.String thisContent)
Set content

Parameters:
thisContent - content

setBackColor

public void setBackColor(java.awt.Color thisColor)
Set backcolor

Parameters:
thisColor - backcolor

setForeColor

public void setForeColor(java.awt.Color thisColor)
Set forecolor

Parameters:
thisColor - forecolor

setImageFile

public void setImageFile(java.lang.String thisImageFile)
Set node image file

Parameters:
thisImageFile - image file

setEdgeLabel

public void setEdgeLabel(java.lang.String thisLabel)
Set edge label

Parameters:
thisLabel - edge label

setEdgeStyle

public void setEdgeStyle(java.lang.Integer thisStyle)
Set edge style

Parameters:
thisStyle - style

setEdgeColor

public void setEdgeColor(java.awt.Color thisColor)
Set edge color

Parameters:
thisColor - color

setEdgeImageFile

public void setEdgeImageFile(java.lang.String thisImageFile)
Set edge image file

Parameters:
thisImageFile - image file

setLink

public void setLink(java.lang.String thisLink)
Set node link URL

Parameters:
thisLink - link URL

setTarget

public void setTarget(java.lang.String thisTarget)
Set node link target frame

Parameters:
thisTarget - link target frame