summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/peer/swing/SwingContainerPeer.h
blob: a3895c08c436b05347aec8e6e5e0375fd550956b (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 __gnu_java_awt_peer_swing_SwingContainerPeer__
#define __gnu_java_awt_peer_swing_SwingContainerPeer__

#pragma interface

#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace peer
        {
          namespace swing
          {
              class SwingContainerPeer;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Component;
        class Container;
        class Graphics;
        class Image;
        class Insets;
      namespace event
      {
          class KeyEvent;
          class MouseEvent;
      }
    }
  }
}

class gnu::java::awt::peer::swing::SwingContainerPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
{

public:
  SwingContainerPeer(::java::awt::Container *);
public: // actually protected
  virtual void addHeavyweightDescendent(::java::awt::Component *);
  virtual void removeHeavyweightDescendent(::java::awt::Component *);
  virtual JArray< ::java::awt::Component * > * getHeavyweightDescendents();
public:
  virtual ::java::awt::Insets * insets();
  virtual ::java::awt::Insets * getInsets();
  virtual void beginValidate();
  virtual void endValidate();
  virtual void beginLayout();
  virtual void endLayout();
  virtual jboolean isPaintPending();
  virtual jboolean isRestackSupported();
  virtual void cancelPendingPaint(jint, jint, jint, jint);
  virtual void restack();
public: // actually protected
  virtual void peerPaint(::java::awt::Graphics *, jboolean);
private:
  jboolean isDoubleBuffering();
public: // actually protected
  virtual void peerPaintChildren(::java::awt::Graphics *);
  virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
  virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
  virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
private:
  ::java::awt::Component * getFocusOwner();
  ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingComponentPeer)))) heavyweightDescendents;
  ::java::awt::Image * backbuffer;
  ::java::awt::Component * focusOwner;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_swing_SwingContainerPeer__