/[classpath]/classpath/javax/swing/text/JTextComponent.java
ViewVC logotype

Diff of /classpath/javax/swing/text/JTextComponent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mark, Tue Apr 30 21:37:27 2002 UTC revision 1.6 by aselkirk, Tue May 28 05:14:00 2002 UTC
# Line 42  import java.awt.Component; Line 42  import java.awt.Component;
42  import java.awt.Dimension;  import java.awt.Dimension;
43  import java.awt.Image;  import java.awt.Image;
44  import java.awt.Rectangle;  import java.awt.Rectangle;
45  import javax.accessibility.Accessible;  import java.awt.Point;
46  import javax.accessibility.AccessibleContext;  import javax.accessibility.*;
 import javax.accessibility.AccessibleRole;  
 import javax.accessibility.AccessibleState;  
 import javax.accessibility.AccessibleStateSet;  
47  import javax.swing.Icon;  import javax.swing.Icon;
48  import javax.swing.JComponent;  import javax.swing.JComponent;
49  import javax.swing.KeyStroke;  import javax.swing.KeyStroke;
50  import javax.swing.Scrollable;  import javax.swing.Scrollable;
51  import javax.swing.UIManager;  import javax.swing.UIManager;
52    import javax.swing.event.*;
53  import javax.swing.plaf.TextUI;  import javax.swing.plaf.TextUI;
54    
55  public abstract class JTextComponent extends JComponent  public abstract class JTextComponent extends JComponent
# Line 63  public abstract class JTextComponent ext Line 61  public abstract class JTextComponent ext
61  //    {  //    {
62  //    } // class AccessibleJTextComponent  //    } // class AccessibleJTextComponent
63    
64            /**
65             * AccessibleJTextComponent
66             */
67            public class AccessibleJTextComponent extends AccessibleJComponent
68                    implements AccessibleText, CaretListener, DocumentListener {
69    
70                    //-------------------------------------------------------------
71                    // Variables --------------------------------------------------
72                    //-------------------------------------------------------------
73    
74                    /**
75                     * caretPos
76                     */
77                    int caretPos;
78    
79    
80                    //-------------------------------------------------------------
81                    // Initialization ---------------------------------------------
82                    //-------------------------------------------------------------
83    
84                    /**
85                     * Constructor AccessibleJTextComponent
86                     * @param component TODO
87                     */
88                    public AccessibleJTextComponent(JTextComponent component) {
89                            super(component);
90                            // TODO
91                    } // AccessibleJTextComponent()
92    
93    
94                    //-------------------------------------------------------------
95                    // Methods ----------------------------------------------------
96                    //-------------------------------------------------------------
97    
98                    /**
99                     * getCaretPosition
100                     * @returns int
101                     */
102                    public int getCaretPosition() {
103                            return 0; // TODO
104                    } // getCaretPosition()
105    
106                    /**
107                     * getSelectedText
108                     * @returns String
109                     */
110                    public String getSelectedText() {
111                            return null; // TODO
112                    } // getSelectedText()
113    
114                    /**
115                     * getSelectionStart
116                     * @returns int
117                     */
118                    public int getSelectionStart() {
119                            return 0; // TODO
120                    } // getSelectionStart()
121    
122                    /**
123                     * getSelectionEnd
124                     * @returns int
125                     */
126                    public int getSelectionEnd() {
127                            return 0; // TODO
128                    } // getSelectionEnd()
129    
130                    /**
131                     * caretUpdate
132                     * @param value0 TODO
133                     */
134                    public void caretUpdate(CaretEvent value0) {
135                            // TODO
136                    } // caretUpdate()
137    
138                    /**
139                     * getAccessibleStateSet
140                     * @returns AccessibleStateSet
141                     */
142                    public AccessibleStateSet getAccessibleStateSet() {
143                            return null; // TODO
144                    } // getAccessibleStateSet()
145    
146                    /**
147                     * getAccessibleRole
148                     * @returns AccessibleRole
149                     */
150                    public AccessibleRole getAccessibleRole() {
151                            return null; // TODO
152                    } // getAccessibleRole()
153    
154                    /**
155                     * getAccessibleText
156                     * @returns AccessibleText
157                     */
158                    public AccessibleText getAccessibleText() {
159                            return null; // TODO
160                    } // getAccessibleText()
161    
162                    /**
163                     * insertUpdate
164                     * @param value0 TODO
165                     */
166                    public void insertUpdate(DocumentEvent value0) {
167                            // TODO
168                    } // insertUpdate()
169    
170                    /**
171                     * removeUpdate
172                     * @param value0 TODO
173                     */
174                    public void removeUpdate(DocumentEvent value0) {
175                            // TODO
176                    } // removeUpdate()
177    
178                    /**
179                     * changedUpdate
180                     * @param value0 TODO
181                     */
182                    public void changedUpdate(DocumentEvent value0) {
183                            // TODO
184                    } // changedUpdate()
185    
186                    /**
187                     * getIndexAtPoint
188                     * @param value0 TODO
189                     * @returns int
190                     */
191                    public int getIndexAtPoint(Point value0) {
192                            return 0; // TODO
193                    } // getIndexAtPoint()
194    
195                    /**
196                     * getRootEditorRect
197                     * @returns Rectangle
198                     */
199                    Rectangle getRootEditorRect() {
200                            return null; // TODO
201                    } // getRootEditorRect()
202    
203                    /**
204                     * getCharacterBounds
205                     * @param value0 TODO
206                     * @returns Rectangle
207                     */
208                    public Rectangle getCharacterBounds(int value0) {
209                            return null; // TODO
210                    } // getCharacterBounds()
211    
212                    /**
213                     * getCharCount
214                     * @returns int
215                     */
216                    public int getCharCount() {
217                            return 0; // TODO
218                    } // getCharCount()
219    
220                    /**
221                     * getCharacterAttribute
222                     * @param value0 TODO
223                     * @returns AttributeSet
224                     */
225                    public AttributeSet getCharacterAttribute(int value0) {
226                            return null; // TODO
227                    } // getCharacterAttribute()
228    
229                    /**
230                     * getAtIndex
231                     * @param value0 TODO
232                     * @param value1 TODO
233                     * @returns String
234                     */
235                    public String getAtIndex(int value0, int value1) {
236                            return null; // TODO
237                    } // getAtIndex()
238    
239                    /**
240                     * getAfterIndex
241                     * @param value0 TODO
242                     * @param value1 TODO
243                     * @returns String
244                     */
245                    public String getAfterIndex(int value0, int value1) {
246                            return null; // TODO
247                    } // getAfterIndex()
248    
249                    /**
250                     * getBeforeIndex
251                     * @param value0 TODO
252                     * @param value1 TODO
253                     * @returns String
254                     */
255                    public String getBeforeIndex(int value0, int value1) {
256                            return null; // TODO
257                    } // getBeforeIndex()
258    
259    
260            } // AccessibleJTextComponent
261    
262    
263    
264    public static class KeyBinding    public static class KeyBinding
265    {    {
266      public KeyStroke key;      public KeyStroke key;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26