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

#ifndef __javax_swing_text_FieldView__
#define __javax_swing_text_FieldView__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class FontMetrics;
        class Graphics;
        class Shape;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class BoundedRangeModel;
      namespace event
      {
          class DocumentEvent;
      }
      namespace text
      {
          class Element;
          class FieldView;
          class Position$Bias;
          class ViewFactory;
      }
    }
  }
}

class javax::swing::text::FieldView : public ::javax::swing::text::PlainView
{

public:
  FieldView(::javax::swing::text::Element *);
private:
  void checkContainer();
  void updateVisibility();
public: // actually protected
  virtual ::java::awt::FontMetrics * getFontMetrics();
  virtual ::java::awt::Shape * adjustAllocation(::java::awt::Shape *);
public:
  virtual jfloat getPreferredSpan(jint);
private:
  jfloat calculateHorizontalSpan();
public:
  virtual jint getResizeWeight(jint);
  virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *);
  virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *);
  virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
  virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
  virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
  virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *);
public: // actually package-private
  ::javax::swing::BoundedRangeModel * __attribute__((aligned(__alignof__( ::javax::swing::text::PlainView)))) horizontalVisibility;
  jfloat cachedSpan;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_FieldView__