OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [JViewport.h] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_JViewport__
5
#define __javax_swing_JViewport__
6
 
7
#pragma interface
8
 
9
#include <javax/swing/JComponent.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Component;
19
        class Dimension;
20
        class Graphics;
21
        class Image;
22
        class Insets;
23
        class LayoutManager;
24
        class Point;
25
        class Rectangle;
26
    }
27
  }
28
  namespace javax
29
  {
30
    namespace accessibility
31
    {
32
        class AccessibleContext;
33
    }
34
    namespace swing
35
    {
36
        class JViewport;
37
        class JViewport$ViewListener;
38
      namespace border
39
      {
40
          class Border;
41
      }
42
      namespace event
43
      {
44
          class ChangeEvent;
45
          class ChangeListener;
46
      }
47
      namespace plaf
48
      {
49
          class ViewportUI;
50
      }
51
    }
52
  }
53
}
54
 
55
class javax::swing::JViewport : public ::javax::swing::JComponent
56
{
57
 
58
public:
59
  JViewport();
60
  virtual ::java::awt::Dimension * getExtentSize();
61
  virtual ::java::awt::Dimension * toViewCoordinates(::java::awt::Dimension *);
62
  virtual ::java::awt::Point * toViewCoordinates(::java::awt::Point *);
63
  virtual void setExtentSize(::java::awt::Dimension *);
64
  virtual ::java::awt::Dimension * getViewSize();
65
  virtual void setViewSize(::java::awt::Dimension *);
66
  virtual ::java::awt::Point * getViewPosition();
67
  virtual void setViewPosition(::java::awt::Point *);
68
  virtual ::java::awt::Rectangle * getViewRect();
69
  virtual jboolean isBackingStoreEnabled();
70
  virtual void setBackingStoreEnabled(jboolean);
71
  virtual void setScrollMode(jint);
72
  virtual jint getScrollMode();
73
  virtual ::java::awt::Component * getView();
74
  virtual void setView(::java::awt::Component *);
75
  virtual void reshape(jint, jint, jint, jint);
76
  virtual ::java::awt::Insets * getInsets();
77
  virtual ::java::awt::Insets * getInsets(::java::awt::Insets *);
78
  virtual jboolean isOptimizedDrawingEnabled();
79
  virtual void paint(::java::awt::Graphics *);
80
  virtual void addChangeListener(::javax::swing::event::ChangeListener *);
81
  virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
82
  virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
83
  virtual ::java::lang::String * getUIClassID();
84
  virtual void updateUI();
85
  virtual ::javax::swing::plaf::ViewportUI * getUI();
86
  virtual void setUI(::javax::swing::plaf::ViewportUI *);
87
  virtual void setBorder(::javax::swing::border::Border *);
88
  virtual void scrollRectToVisible(::java::awt::Rectangle *);
89
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
90
  virtual void repaint(jlong, jint, jint, jint, jint);
91
public: // actually protected
92
  virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
93
  virtual void fireStateChanged();
94
  virtual ::javax::swing::JViewport$ViewListener * createViewListener();
95
  virtual ::java::awt::LayoutManager * createLayoutManager();
96
  virtual jboolean computeBlit(jint, jint, ::java::awt::Point *, ::java::awt::Point *, ::java::awt::Dimension *, ::java::awt::Rectangle *);
97
public: // actually package-private
98
  virtual void paintSimple(::java::awt::Graphics *);
99
  virtual void paintBackingStore(::java::awt::Graphics *);
100
  virtual void paintBlit(::java::awt::Graphics *);
101
  virtual void paintImmediately2(jint, jint, jint, jint);
102
  virtual jboolean isPaintRoot();
103
public:
104
  static const jint SIMPLE_SCROLL_MODE = 0;
105
  static const jint BLIT_SCROLL_MODE = 1;
106
  static const jint BACKINGSTORE_SCROLL_MODE = 2;
107
private:
108
  static const jlong serialVersionUID = -6925142919680527970LL;
109
  static jint defaultScrollMode;
110
public: // actually protected
111
  jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) scrollUnderway;
112
  jboolean isViewSizeSet;
113
  jboolean backingStore;
114
  ::java::awt::Image * backingStoreImage;
115
  ::java::awt::Point * lastPaintPosition;
116
public: // actually package-private
117
  ::javax::swing::event::ChangeEvent * changeEvent;
118
  jint scrollMode;
119
  ::javax::swing::JViewport$ViewListener * viewListener;
120
  ::java::awt::Point * cachedBlitFrom;
121
  ::java::awt::Point * cachedBlitTo;
122
  ::java::awt::Dimension * cachedBlitSize;
123
  ::java::awt::Rectangle * cachedBlitPaint;
124
  jboolean damaged;
125
  jboolean sizeChanged;
126
private:
127
  jboolean isPaintRoot__;
128
public:
129
  static ::java::lang::Class class$;
130
};
131
 
132
#endif // __javax_swing_JViewport__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.