Search in sources :

Example 1 with CloudView

use of org.freeplane.view.swing.map.cloud.CloudView in project freeplane by freeplane.

the class NodeView method paintCloud.

private void paintCloud(final Graphics g) {
    if (!isContentVisible()) {
        return;
    }
    final CloudModel cloudModel = getCloudModel();
    if (cloudModel == null) {
        return;
    }
    final CloudView cloud = new CloudViewFactory().createCloudView(cloudModel, this);
    cloud.paint(g);
}
Also used : CloudViewFactory(org.freeplane.view.swing.map.cloud.CloudViewFactory) CloudView(org.freeplane.view.swing.map.cloud.CloudView) CloudModel(org.freeplane.features.cloud.CloudModel)

Aggregations

CloudModel (org.freeplane.features.cloud.CloudModel)1 CloudView (org.freeplane.view.swing.map.cloud.CloudView)1 CloudViewFactory (org.freeplane.view.swing.map.cloud.CloudViewFactory)1