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

#ifndef __javax_swing_JViewport__
#define __javax_swing_JViewport__

#pragma interface

#include <javax/swing/JComponent.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Dimension;
        class Graphics;
        class Image;
        class Insets;
        class LayoutManager;
        class Point;
        class Rectangle;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
    namespace swing
    {
        class JViewport;
        class JViewport$ViewListener;
      namespace border
      {
          class Border;
      }
      namespace event
      {
          class ChangeEvent;
          class ChangeListener;
      }
      namespace plaf
      {
          class ViewportUI;
      }
    }
  }
}

class javax::swing::JViewport : public ::javax::swing::JComponent
{

public:
  JViewport();
  virtual ::java::awt::Dimension * getExtentSize();
  virtual ::java::awt::Dimension * toViewCoordinates(::java::awt::Dimension *);
  virtual ::java::awt::Point * toViewCoordinates(::java::awt::Point *);
  virtual void setExtentSize(::java::awt::Dimension *);
  virtual ::java::awt::Dimension * getViewSize();
  virtual void setViewSize(::java::awt::Dimension *);
  virtual ::java::awt::Point * getViewPosition();
  virtual void setViewPosition(::java::awt::Point *);
  virtual ::java::awt::Rectangle * getViewRect();
  virtual jboolean isBackingStoreEnabled();
  virtual void setBackingStoreEnabled(jboolean);
  virtual void setScrollMode(jint);
  virtual jint getScrollMode();
  virtual ::java::awt::Component * getView();
  virtual void setView(::java::awt::Component *);
  virtual void reshape(jint, jint, jint, jint);
  virtual ::java::awt::Insets * getInsets();
  virtual ::java::awt::Insets * getInsets(::java::awt::Insets *);
  virtual jboolean isOptimizedDrawingEnabled();
  virtual void paint(::java::awt::Graphics *);
  virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
  virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
  virtual ::java::lang::String * getUIClassID();
  virtual void updateUI();
  virtual ::javax::swing::plaf::ViewportUI * getUI();
  virtual void setUI(::javax::swing::plaf::ViewportUI *);
  virtual void setBorder(::javax::swing::border::Border *);
  virtual void scrollRectToVisible(::java::awt::Rectangle *);
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  virtual void repaint(jlong, jint, jint, jint, jint);
public: // actually protected
  virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
  virtual void fireStateChanged();
  virtual ::javax::swing::JViewport$ViewListener * createViewListener();
  virtual ::java::awt::LayoutManager * createLayoutManager();
  virtual jboolean computeBlit(jint, jint, ::java::awt::Point *, ::java::awt::Point *, ::java::awt::Dimension *, ::java::awt::Rectangle *);
public: // actually package-private
  virtual void paintSimple(::java::awt::Graphics *);
  virtual void paintBackingStore(::java::awt::Graphics *);
  virtual void paintBlit(::java::awt::Graphics *);
  virtual void paintImmediately2(jint, jint, jint, jint);
  virtual jboolean isPaintRoot();
public:
  static const jint SIMPLE_SCROLL_MODE = 0;
  static const jint BLIT_SCROLL_MODE = 1;
  static const jint BACKINGSTORE_SCROLL_MODE = 2;
private:
  static const jlong serialVersionUID = -6925142919680527970LL;
  static jint defaultScrollMode;
public: // actually protected
  jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) scrollUnderway;
  jboolean isViewSizeSet;
  jboolean backingStore;
  ::java::awt::Image * backingStoreImage;
  ::java::awt::Point * lastPaintPosition;
public: // actually package-private
  ::javax::swing::event::ChangeEvent * changeEvent;
  jint scrollMode;
  ::javax::swing::JViewport$ViewListener * viewListener;
  ::java::awt::Point * cachedBlitFrom;
  ::java::awt::Point * cachedBlitTo;
  ::java::awt::Dimension * cachedBlitSize;
  ::java::awt::Rectangle * cachedBlitPaint;
  jboolean damaged;
  jboolean sizeChanged;
private:
  jboolean isPaintRoot__;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_JViewport__