KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > jawe > xml > elements > ComplexContent


1 /* Content.java
2  *
3  * Authors:
4  * Stefanovic Nenad chupo@iis.ns.ac.yu
5  * Bojanic Sasa sasaboy@neobee.net
6  * Puskas Vladimir vpuskas@eunet.yu
7  * Pilipovic Goran zboniek@uns.ac.yu
8  *
9  */

10
11 package org.enhydra.jawe.xml.elements;
12
13 import javax.swing.*;
14 import java.awt.*;
15
16 import org.enhydra.jawe.xml.*;
17 import org.enhydra.jawe.xml.elements.specialpanels.*;
18 import org.enhydra.jawe.xml.panels.*;
19
20 /**
21 * A helper element.
22 */

23 public class ComplexContent extends XMLSimpleElement {
24    private Package JavaDoc pkg;
25
26    public ComplexContent (Package JavaDoc pkg) {
27       super();
28       this.pkg=pkg;
29    }
30    /**
31    * Prepares the panel for entering/reading description of
32    * some XML element. This panel alowes entering of multiple
33    * lines of text.
34    *
35    * @return XMLPanel to be shown.
36    */

37    public XMLPanel getPanel () {
38       return new XMLComplexContentPanel(this,pkg);
39    }
40 }
41
Popular Tags