KickJava   Java API By Example, From Geeks To Geeks.

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


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.panels.*;
18
19 /**
20 * A helper element.
21 */

22 public class Content extends XMLSimpleElement {
23    /**
24    * Prepares the panel for entering/reading description of
25    * some XML element. This panel alowes entering of multiple
26    * lines of text.
27    *
28    * @return XMLPanel to be shown.
29    */

30    public XMLPanel getPanel () {
31       return new XMLMultiLineTextPanel(this,XMLPanel.BOX_LAYOUT,false,true,false);
32    }
33 }
34
Popular Tags