freemind.view.mindmapview

Class CloudView

public class CloudView extends Object

This class represents a Cloud around a node.
Field Summary
protected MindMapCloudcloudModel
protected intiterativeLevel
protected NodeViewsource
Constructor Summary
protected CloudView(MindMapCloud cloudModel, NodeView source, int iterativeLevel)
Method Summary
ColorgetColor()
ColorgetExteriorColor()
protected MapViewgetMap()
protected MindMapCloudgetModel()
intgetRealWidth()
Get the width in pixels rather than in width constant (like -1)
StrokegetStroke()
intgetWidth()
protected doublegetZoom()
voidpaint(Graphics graphics)
\param iterativeLevel describes the n-th nested cloud that is to be painted.
protected voidsetRendering(Graphics2D g)

Field Detail

cloudModel

protected MindMapCloud cloudModel

iterativeLevel

protected int iterativeLevel

source

protected NodeView source

Constructor Detail

CloudView

protected CloudView(MindMapCloud cloudModel, NodeView source, int iterativeLevel)

Method Detail

getColor

public Color getColor()

getExteriorColor

public Color getExteriorColor()

getMap

protected MapView getMap()

getModel

protected MindMapCloud getModel()

getRealWidth

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

getStroke

public Stroke getStroke()

getWidth

public int getWidth()

getZoom

protected double getZoom()

paint

public void paint(Graphics graphics)
\param iterativeLevel describes the n-th nested cloud that is to be painted.

setRendering

protected void setRendering(Graphics2D g)