summaryrefslogtreecommitdiff
path: root/libjava/java/awt/TextComponent.h
blob: 2b12f8b29d25886dc3d18bae6348d623e5902f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_TextComponent__
#define __java_awt_TextComponent__

#pragma interface

#include <java/awt/Component.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class AWTEvent;
        class Point;
        class Rectangle;
        class TextComponent;
      namespace event
      {
          class TextEvent;
          class TextListener;
      }
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
  }
}

class java::awt::TextComponent : public ::java::awt::Component
{

public: // actually package-private
  TextComponent(::java::lang::String *);
public:
  virtual ::java::lang::String * getText();
  virtual void setText(::java::lang::String *);
  virtual ::java::lang::String * getSelectedText();
  virtual jint getSelectionStart();
  virtual void setSelectionStart(jint);
  virtual jint getSelectionEnd();
  virtual void setSelectionEnd(jint);
  virtual void select(jint, jint);
  virtual void selectAll();
  virtual jint getCaretPosition();
  virtual void setCaretPosition(jint);
  virtual jboolean isEditable();
  virtual void setEditable(jboolean);
  virtual void removeNotify();
  virtual void addTextListener(::java::awt::event::TextListener *);
  virtual void removeTextListener(::java::awt::event::TextListener *);
public: // actually protected
  virtual void processEvent(::java::awt::AWTEvent *);
  virtual void processTextEvent(::java::awt::event::TextEvent *);
public: // actually package-private
  virtual void dispatchEventImpl(::java::awt::AWTEvent *);
public: // actually protected
  virtual ::java::lang::String * paramString();
public:
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  virtual JArray< ::java::awt::event::TextListener * > * getTextListeners();
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
public: // actually package-private
  virtual jint getIndexAtPoint(::java::awt::Point *);
  virtual ::java::awt::Rectangle * getCharacterBounds(jint);
  static jboolean ignoreOldMouseEvents();
private:
  static const jlong serialVersionUID = -2214773872412987419LL;
public: // actually package-private
  jboolean __attribute__((aligned(__alignof__( ::java::awt::Component)))) editable;
  jint selectionStart;
  jint selectionEnd;
  ::java::lang::String * text;
public: // actually protected
  ::java::awt::event::TextListener * textListener;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_TextComponent__