summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/Caret.h
blob: 024933a048586edb0626f35c3647f098b6897986 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_Caret__
#define __javax_swing_text_Caret__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Graphics;
        class Point;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace event
      {
          class ChangeListener;
      }
      namespace text
      {
          class Caret;
          class JTextComponent;
      }
    }
  }
}

class javax::swing::text::Caret : public ::java::lang::Object
{

public:
  virtual void addChangeListener(::javax::swing::event::ChangeListener *) = 0;
  virtual void removeChangeListener(::javax::swing::event::ChangeListener *) = 0;
  virtual void install(::javax::swing::text::JTextComponent *) = 0;
  virtual void deinstall(::javax::swing::text::JTextComponent *) = 0;
  virtual jint getBlinkRate() = 0;
  virtual void setBlinkRate(jint) = 0;
  virtual jint getDot() = 0;
  virtual void setDot(jint) = 0;
  virtual void moveDot(jint) = 0;
  virtual jint getMark() = 0;
  virtual ::java::awt::Point * getMagicCaretPosition() = 0;
  virtual void setMagicCaretPosition(::java::awt::Point *) = 0;
  virtual jboolean isSelectionVisible() = 0;
  virtual void setSelectionVisible(jboolean) = 0;
  virtual jboolean isVisible() = 0;
  virtual void setVisible(jboolean) = 0;
  virtual void paint(::java::awt::Graphics *) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __javax_swing_text_Caret__