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

#ifndef __javax_swing_text_DefaultHighlighter__
#define __javax_swing_text_DefaultHighlighter__

#pragma interface

#include <javax/swing/text/LayeredHighlighter.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Graphics;
        class Shape;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class DefaultHighlighter;
          class Highlighter$Highlight;
          class Highlighter$HighlightPainter;
          class JTextComponent;
          class LayeredHighlighter$LayerPainter;
          class View;
      }
    }
  }
}

class javax::swing::text::DefaultHighlighter : public ::javax::swing::text::LayeredHighlighter
{

public:
  DefaultHighlighter();
  virtual jboolean getDrawsLayeredHighlights();
  virtual void setDrawsLayeredHighlights(jboolean);
private:
  void checkPositions(jint, jint);
public:
  virtual void install(::javax::swing::text::JTextComponent *);
  virtual void deinstall(::javax::swing::text::JTextComponent *);
  virtual ::java::lang::Object * addHighlight(jint, jint, ::javax::swing::text::Highlighter$HighlightPainter *);
  virtual void removeHighlight(::java::lang::Object *);
  virtual void removeAllHighlights();
  virtual JArray< ::javax::swing::text::Highlighter$Highlight * > * getHighlights();
  virtual void changeHighlight(::java::lang::Object *, jint, jint);
  virtual void paintLayeredHighlights(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *, ::javax::swing::text::View *);
  virtual void paint(::java::awt::Graphics *);
  static ::javax::swing::text::LayeredHighlighter$LayerPainter * DefaultPainter;
private:
  ::javax::swing::text::JTextComponent * __attribute__((aligned(__alignof__( ::javax::swing::text::LayeredHighlighter)))) textComponent;
  ::java::util::ArrayList * highlights;
  jboolean drawsLayeredHighlights;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_DefaultHighlighter__