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

#ifndef __javax_swing_colorchooser_DefaultPreviewPanel__
#define __javax_swing_colorchooser_DefaultPreviewPanel__

#pragma interface

#include <javax/swing/JPanel.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Dimension;
        class Graphics;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace colorchooser
      {
          class DefaultPreviewPanel;
      }
    }
  }
}

class javax::swing::colorchooser::DefaultPreviewPanel : public ::javax::swing::JPanel
{

public: // actually package-private
  DefaultPreviewPanel();
public:
  virtual void paint(::java::awt::Graphics *);
private:
  void paintSquare(::java::awt::Graphics *, jint, jint, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, jint, jint, jint);
public:
  virtual ::java::awt::Dimension * getPreferredSize();
private:
  static jint largeGap;
  static jint smallGap;
  static jint squareSize;
  static jint textPadding;
  static jint rightSideRectWidth;
  static ::java::lang::String * sample;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_colorchooser_DefaultPreviewPanel__