KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > text > Element


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: Element.java,v $
11    Revision 1.1 2004/01/26 08:11:14 bobintetley
12    Many bugfixes and addition of SwingSet
13
14
15 */

16
17 package swingwtx.swing.text;
18
19 public interface Element {
20     public Document getDocument();
21     public Element getParentElement();
22     public String JavaDoc getName();
23     public AttributeSet getAttributes();
24     public int getStartOffset();
25     public int getEndOffset();
26     public int getElementIndex(int offset);
27     public int getElementCount();
28     public Element getElement(int index);
29     public boolean isLeaf();
30
31 }
32
33
Popular Tags