freemind.view.mindmapview
Class CloudView

java.lang.Object
  extended by freemind.view.mindmapview.CloudView

public class CloudView
extends java.lang.Object

This class represents a Cloud around a node.


Field Summary
protected  MindMapCloud cloudModel
           
protected  NodeView source
           
 
Constructor Summary
protected CloudView(MindMapCloud cloudModel, NodeView source)
           
 
Method Summary
static int getAdditionalHeigth(MindMapCloud cloudModel, NodeView source)
          the layout functions can get the additional height of the clouded node .
 java.awt.Color getColor()
           
 java.awt.Color getExteriorColor()
           
protected  int getIterativeLevel()
          getIterativeLevel() describes the n-th nested cloud that is to be painted.
protected  MapView getMap()
           
protected  MindMapCloud getModel()
           
 int getRealWidth()
          Get the width in pixels rather than in width constant (like -1)
 java.awt.Stroke getStroke()
           
 int getWidth()
           
protected  double getZoom()
           
 void paint(java.awt.Graphics graphics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cloudModel

protected MindMapCloud cloudModel

source

protected NodeView source
Constructor Detail

CloudView

protected CloudView(MindMapCloud cloudModel,
                    NodeView source)
Method Detail

getIterativeLevel

protected int getIterativeLevel()
getIterativeLevel() describes the n-th nested cloud that is to be painted.


paint

public void paint(java.awt.Graphics graphics)

getColor

public java.awt.Color getColor()

getExteriorColor

public java.awt.Color getExteriorColor()

getStroke

public java.awt.Stroke getStroke()

getWidth

public int getWidth()

getRealWidth

public int getRealWidth()
Get the width in pixels rather than in width constant (like -1)


getAdditionalHeigth

public static int getAdditionalHeigth(MindMapCloud cloudModel,
                                      NodeView source)
the layout functions can get the additional height of the clouded node .


getMap

protected MapView getMap()

getModel

protected MindMapCloud getModel()

getZoom

protected double getZoom()