1 /*
2 * @(#)$Id: JdomMinimizeElement.java 605 2008-11-10 22:20:28Z bsigner $
3 *
4 * Author : Michele Croci, mcroci@gmail.com
5 *
6 * Purpose : XML support for the <inputdevices> element.
7 *
8 * -----------------------------------------------------------------------
9 *
10 * Revision Information:
11 *
12 * Date Who Reason
13 *
14 * Jan 15, 2008 crocimi Initial Release
15 *
16 * -----------------------------------------------------------------------
17 *
18 * Copyright 1999-2007 ETH Zurich. All Rights Reserved.
19 *
20 * This software is the proprietary information of ETH Zurich.
21 * Use is subject to license terms.
22 *
23 */
24
25
26 package org.ximtec.igesture.geco.xml;
27
28 import org.jdom.Element;
29
30
31
32
33 /**
34 * XML support for the <minimize> element.
35 *
36 * @version 0.9, Jan 15, 2008
37 * @author Michele Croci, mcroci@gmail.com
38 */
39 public class JdomMinimizeElement extends Element {
40
41 private static final String COMMAND = "minimize";
42
43
44 public JdomMinimizeElement(boolean minimize) {
45 this(COMMAND, minimize);
46 } // JdomConfigurationElement
47
48
49 public JdomMinimizeElement(String name, boolean minimize) {
50 super(name);
51 this.addContent(String.valueOf(minimize));
52 } // JdomConfigurationElement
53
54 }