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

#ifndef __javax_swing_text_CompositeView__
#define __javax_swing_text_CompositeView__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Rectangle;
        class Shape;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class AttributeSet;
          class CompositeView;
          class Element;
          class Position$Bias;
          class View;
          class ViewFactory;
      }
    }
  }
}

class javax::swing::text::CompositeView : public ::javax::swing::text::View
{

public:
  CompositeView(::javax::swing::text::Element *);
public: // actually protected
  virtual void loadChildren(::javax::swing::text::ViewFactory *);
public:
  virtual void setParent(::javax::swing::text::View *);
  virtual jint getViewCount();
  virtual ::javax::swing::text::View * getView(jint);
  virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *);
  virtual ::java::awt::Shape * getChildAllocation(jint, ::java::awt::Shape *);
  virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *);
  virtual ::java::awt::Shape * modelToView(jint, ::javax::swing::text::Position$Bias *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *);
  virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *);
  virtual jint getNextVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *);
  virtual jint getViewIndex(jint, ::javax::swing::text::Position$Bias *);
public: // actually protected
  virtual jboolean isBefore(jint, jint, ::java::awt::Rectangle *) = 0;
  virtual jboolean isAfter(jint, jint, ::java::awt::Rectangle *) = 0;
  virtual ::javax::swing::text::View * getViewAtPoint(jint, jint, ::java::awt::Rectangle *) = 0;
  virtual void childAllocation(jint, ::java::awt::Rectangle *) = 0;
  virtual ::javax::swing::text::View * getViewAtPosition(jint, ::java::awt::Rectangle *);
  virtual jint getViewIndexAtPosition(jint);
  virtual ::java::awt::Rectangle * getInsideAllocation(::java::awt::Shape *);
  virtual void setParagraphInsets(::javax::swing::text::AttributeSet *);
  virtual void setInsets(jshort, jshort, jshort, jshort);
  virtual jshort getLeftInset();
  virtual jshort getRightInset();
  virtual jshort getTopInset();
  virtual jshort getBottomInset();
  virtual jint getNextNorthSouthVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *);
  virtual jint getNextEastWestVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *);
  virtual jboolean flipEastAndWestAtEnds(jint, ::javax::swing::text::Position$Bias *);
private:
  JArray< ::javax::swing::text::View * > * __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) children;
  jint numChildren;
  ::java::awt::Rectangle * insideAllocation;
  jshort top;
  jshort bottom;
  jshort left;
  jshort right;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_CompositeView__