~ubuntu-branches/ubuntu/utopic/freemind/utopic

« back to all changes in this revision

Viewing changes to freemind/freemind/modes/mindmapmode/MindMapCloudModel.java

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-01-03 14:19:19 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100103141919-m5az7dkicy21hqop
Tags: 0.9.0~rc6+dfsg-1ubuntu1
* Merge from Debian unstable (LP: #182927), remaining changes:
  - debian/copyright: add license/copyright for
    freemind/freemind/main/ExampleFileFilter.java

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 *along with this program; if not, write to the Free Software
17
17
 *Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18
18
 */
19
 
/*$Id: MindMapCloudModel.java,v 1.1 2003/11/09 22:09:26 christianfoltin Exp $*/
 
19
/*$Id: MindMapCloudModel.java,v 1.1.18.1 2004/10/28 05:24:54 christianfoltin Exp $*/
20
20
 
21
21
package freemind.modes.mindmapmode;
22
22
 
34
34
        super(node,frame);
35
35
    }
36
36
 
37
 
    public XMLElement save() {
38
 
            XMLElement cloud = new XMLElement();
39
 
            cloud.setName("cloud");
40
 
 
41
 
            if (style != null) {
42
 
            cloud.setAttribute("style",style);
43
 
            }
44
 
            if (color != null) {
45
 
            cloud.setAttribute("color",Tools.colorToXml(color));
46
 
            }
47
 
        if(width != DEFAULT_WIDTH) {
48
 
            cloud.setAttribute("width",Integer.toString(width));
49
 
        }
50
 
            return cloud;
51
 
    }
52
 
 
53
37
}