source: trunk/gcc/libjava/javax/swing/JTextPane.java

Last change on this file was 1389, checked in by bird, 21 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 6.0 KB
Line 
1/* JTextPane.java --
2 Copyright (C) 2002 Free Software Foundation, Inc.
3
4This file is part of GNU Classpath.
5
6GNU Classpath is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU Classpath is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Classpath; see the file COPYING. If not, write to the
18Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
1902111-1307 USA.
20
21Linking this library statically or dynamically with other modules is
22making a combined work based on this library. Thus, the terms and
23conditions of the GNU General Public License cover the whole
24combination.
25
26As a special exception, the copyright holders of this library give you
27permission to link this library with independent modules to produce an
28executable, regardless of the license terms of these independent
29modules, and to copy and distribute the resulting executable under
30terms of your choice, provided that you also meet, for each linked
31independent module, the terms and conditions of the license of that
32module. An independent module is a module which is not derived from
33or based on this library. If you modify this library, you may extend
34this exception to your version of the library, but you are not
35obligated to do so. If you do not wish to do so, delete this
36exception statement from your version. */
37
38package javax.swing;
39
40// Imports
41import java.awt.*;
42import java.io.*;
43import javax.swing.text.*;
44
45/**
46 * JTextPane
47 * @author Andrew Selkirk
48 * @version 1.0
49 */
50public class JTextPane extends JEditorPane {
51
52 //-------------------------------------------------------------
53 // Variables --------------------------------------------------
54 //-------------------------------------------------------------
55
56 /**
57 * uiClassID
58 */
59 private static final String uiClassID = "TextPaneUI";
60
61
62 //-------------------------------------------------------------
63 // Initialization ---------------------------------------------
64 //-------------------------------------------------------------
65
66 /**
67 * Constructor JTextPane
68 */
69 public JTextPane() {
70 // TODO
71 } // JTextPane()
72
73 /**
74 * Constructor JTextPane
75 * @param document TODO
76 */
77 public JTextPane(StyledDocument document) {
78 // TODO
79 } // JTextPane()
80
81
82 //-------------------------------------------------------------
83 // Methods ----------------------------------------------------
84 //-------------------------------------------------------------
85
86 /**
87 * writeObject
88 * @param stream TODO
89 * @exception IOException TODO
90 */
91 private void writeObject(ObjectOutputStream stream) throws IOException {
92 // TODO
93 } // writeObject()
94
95 /**
96 * getUIClassID
97 * @returns String
98 */
99 public String getUIClassID() {
100 return uiClassID;
101 } // getUIClassID()
102
103 /**
104 * setDocument
105 * @param document TODO
106 */
107 public void setDocument(Document document) {
108 // TODO
109 } // setDocument()
110
111 /**
112 * getStyledDocument
113 * @returns StyledDocument
114 */
115 public StyledDocument getStyledDocument() {
116 return null; // TODO
117 } // getStyledDocument()
118
119 /**
120 * setStyledDocument
121 * @param document TODO
122 */
123 public void setStyledDocument(StyledDocument document) {
124 // TODO
125 } // setStyledDocument()
126
127 /**
128 * replaceSelection
129 * @param content TODO
130 */
131 public void replaceSelection(String content) {
132 // TODO
133 } // replaceSelection()
134
135 /**
136 * insertComponent
137 * @param component TODO
138 */
139 public void insertComponent(Component component) {
140 // TODO
141 } // insertComponent()
142
143 /**
144 * insertIcon
145 * @param icon TODO
146 */
147 public void insertIcon(Icon icon) {
148 // TODO
149 } // insertIcon()
150
151 /**
152 * addStyle
153 * @param nm TODO
154 * @param parent TODO
155 * @returns Style
156 */
157 public Style addStyle(String nm, Style parent) {
158 return null; // TODO
159 } // addStyle()
160
161 /**
162 * removeStyle
163 * @param nm TODO
164 */
165 public void removeStyle(String nm) {
166 // TODO
167 } // removeStyle()
168
169 /**
170 * getStyle
171 * @param nm TODO
172 * @returns Style
173 */
174 public Style getStyle(String nm) {
175 return null; // TODO
176 } // getStyle()
177
178 /**
179 * getLogicalStyle
180 * @returns Style
181 */
182 public Style getLogicalStyle() {
183 return null; // TODO
184 } // getLogicalStyle()
185
186 /**
187 * setLogicalStyle
188 * @param style TODO
189 */
190 public void setLogicalStyle(Style style) {
191 // TODO
192 } // setLogicalStyle()
193
194 /**
195 * getCharacterAttributes
196 * @returns AttributeSet
197 */
198 public AttributeSet getCharacterAttributes() {
199 return null; // TODO
200 } // getCharacterAttributes()
201
202 /**
203 * setCharacterAttributes
204 * @param attribute TODO
205 * @param replace TODO
206 */
207 public void setCharacterAttributes(AttributeSet attribute,
208 boolean replace) {
209 // TODO
210 } // setCharacterAttributes()
211
212 /**
213 * getParagraphAttributes
214 * @returns AttributeSet
215 */
216 public AttributeSet getParagraphAttributes() {
217 return null; // TODO
218 } // getParagraphAttributes()
219
220 /**
221 * setParagraphAttributes
222 * @param attribute TODO
223 * @param replace TODO
224 */
225 public void setParagraphAttributes(AttributeSet attribute,
226 boolean replace) {
227 // TODO
228 } // setParagraphAttributes()
229
230 /**
231 * getInputAttributes
232 * @returns MutableAttributeSet
233 */
234 public MutableAttributeSet getInputAttributes() {
235 return null; // TODO
236 } // getInputAttributes()
237
238 /**
239 * getStyledEditorKit
240 * @returns StyledEditorKit
241 */
242 protected final StyledEditorKit getStyledEditorKit() {
243 return null; // TODO
244 } // getStyledEditorKit()
245
246 /**
247 * createDefaultEditorKit
248 * @returns EditorKit
249 */
250 protected EditorKit createDefaultEditorKit() {
251 return null; // TODO
252 } // createDefaultEditorKit()
253
254 /**
255 * setEditorKit
256 * @param editor TODO
257 */
258 public final void setEditorKit(EditorKit editor) {
259 // TODO
260 } // setEditorKit()
261
262 /**
263 * paramString
264 * @returns String
265 */
266 protected String paramString() {
267 return null; // TODO
268 } // paramString()
269
270
271} // JTextPane
Note: See TracBrowser for help on using the repository browser.