summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/DefaultCaret.h
blob: 882bda70ca2280e9418c8784771ff86e757f01dc (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_DefaultCaret__
#define __javax_swing_text_DefaultCaret__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Graphics;
        class Point;
        class Rectangle;
      namespace event
      {
          class FocusEvent;
          class MouseEvent;
      }
    }
    namespace beans
    {
        class PropertyChangeListener;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class Timer;
      namespace event
      {
          class ChangeEvent;
          class ChangeListener;
          class DocumentListener;
          class EventListenerList;
      }
      namespace text
      {
          class DefaultCaret;
          class DefaultCaret$BlinkTimerListener;
          class Highlighter$HighlightPainter;
          class JTextComponent;
          class NavigationFilter$FilterBypass;
      }
    }
  }
}

class javax::swing::text::DefaultCaret : public ::java::awt::Rectangle
{

public:
  DefaultCaret();
private:
  ::javax::swing::text::NavigationFilter$FilterBypass * getBypass();
public:
  virtual void setUpdatePolicy(jint);
  virtual jint getUpdatePolicy();
  virtual void mouseDragged(::java::awt::event::MouseEvent *);
  virtual void mouseMoved(::java::awt::event::MouseEvent *);
  virtual void mouseClicked(::java::awt::event::MouseEvent *);
  virtual void mouseEntered(::java::awt::event::MouseEvent *);
  virtual void mouseExited(::java::awt::event::MouseEvent *);
  virtual void mousePressed(::java::awt::event::MouseEvent *);
  virtual void mouseReleased(::java::awt::event::MouseEvent *);
  virtual void focusGained(::java::awt::event::FocusEvent *);
  virtual void focusLost(::java::awt::event::FocusEvent *);
private:
  void updateTimerStatus();
public: // actually protected
  virtual void moveCaret(::java::awt::event::MouseEvent *);
  virtual void positionCaret(::java::awt::event::MouseEvent *);
public:
  virtual void deinstall(::javax::swing::text::JTextComponent *);
  virtual void install(::javax::swing::text::JTextComponent *);
  virtual void setMagicCaretPosition(::java::awt::Point *);
  virtual ::java::awt::Point * getMagicCaretPosition();
  virtual jint getMark();
private:
  void clearHighlight();
  void handleHighlight();
public:
  virtual void setSelectionVisible(jboolean);
  virtual jboolean isSelectionVisible();
public: // actually protected
  virtual void repaint();
public:
  virtual void paint(::java::awt::Graphics *);
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
  virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
public: // actually protected
  virtual void fireStateChanged();
  virtual ::javax::swing::text::JTextComponent * getComponent();
public:
  virtual jint getBlinkRate();
  virtual void setBlinkRate(jint);
  virtual jint getDot();
  virtual void moveDot(jint);
public: // actually package-private
  virtual void moveDotImpl(jint);
public:
  virtual void setDot(jint);
public: // actually package-private
  virtual void setDotImpl(jint);
  virtual void appear();
public:
  virtual jboolean isActive();
  virtual jboolean isVisible();
  virtual void setVisible(jboolean);
public: // actually protected
  virtual ::javax::swing::text::Highlighter$HighlightPainter * getSelectionPainter();
  virtual void damage(::java::awt::Rectangle *);
  virtual void adjustVisibility(::java::awt::Rectangle *);
private:
  void initBlinkTimer();
public: // actually package-private
  static ::javax::swing::text::JTextComponent * componentWithSelection;
private:
  static const jlong serialVersionUID = 4325555698756477346LL;
public:
  static const jint ALWAYS_UPDATE = 2;
  static const jint NEVER_UPDATE = 1;
  static const jint UPDATE_WHEN_ON_EDT = 0;
public: // actually package-private
  jint __attribute__((aligned(__alignof__( ::java::awt::Rectangle)))) policy;
public: // actually protected
  ::javax::swing::event::ChangeEvent * changeEvent;
  ::javax::swing::event::EventListenerList * listenerList;
public: // actually package-private
  ::javax::swing::event::DocumentListener * documentListener;
  ::java::beans::PropertyChangeListener * propertyChangeListener;
  ::javax::swing::text::JTextComponent * textComponent;
private:
  jboolean selectionVisible;
  jint blinkRate;
  jint dot;
  jint mark;
  ::java::awt::Point * magicCaretPosition;
public: // actually package-private
  jboolean visible;
  jboolean active;
private:
  ::java::lang::Object * highlightEntry;
  ::javax::swing::Timer * blinkTimer;
  ::javax::swing::text::DefaultCaret$BlinkTimerListener * blinkListener;
public: // actually package-private
  ::javax::swing::text::NavigationFilter$FilterBypass * bypass;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_DefaultCaret__