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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [colorchooser/] [DefaultHSBChooserPanel.h] - Blame information for rev 759

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_colorchooser_DefaultHSBChooserPanel__
5
#define __javax_swing_colorchooser_DefaultHSBChooserPanel__
6
 
7
#pragma interface
8
 
9
#include <javax/swing/colorchooser/AbstractColorChooserPanel.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Container;
19
        class Graphics;
20
        class Image;
21
        class Point;
22
    }
23
  }
24
  namespace javax
25
  {
26
    namespace swing
27
    {
28
        class Icon;
29
        class JColorChooser;
30
        class JLabel;
31
        class JPanel;
32
        class JRadioButton;
33
        class JSlider;
34
        class JSpinner;
35
      namespace colorchooser
36
      {
37
          class DefaultHSBChooserPanel;
38
      }
39
    }
40
  }
41
}
42
 
43
class javax::swing::colorchooser::DefaultHSBChooserPanel : public ::javax::swing::colorchooser::AbstractColorChooserPanel
44
{
45
 
46
public: // actually package-private
47
  DefaultHSBChooserPanel();
48
public:
49
  virtual ::java::lang::String * getDisplayName();
50
  virtual void updateChooser();
51
public: // actually protected
52
  virtual void buildChooser();
53
public:
54
  virtual void uninstallChooserPanel(::javax::swing::JColorChooser *);
55
private:
56
  ::java::awt::Container * buildRightPanel();
57
public:
58
  virtual ::javax::swing::Icon * getSmallDisplayIcon();
59
  virtual ::javax::swing::Icon * getLargeDisplayIcon();
60
  virtual void paint(::java::awt::Graphics *);
61
private:
62
  void updateHLockImage();
63
  void updateBLockImage();
64
  void updateSLockImage();
65
public: // actually package-private
66
  virtual void updateImage();
67
private:
68
  void updateTextFields();
69
public: // actually package-private
70
  virtual void updateSlider();
71
  virtual void updateTrack();
72
private:
73
  void updateHTrack();
74
  void updateSTrack();
75
  void updateBTrack();
76
  JArray< jfloat > * getHSBValues();
77
public: // actually package-private
78
  ::java::awt::Image * __attribute__((aligned(__alignof__( ::javax::swing::colorchooser::AbstractColorChooserPanel)))) gradientImage;
79
private:
80
  ::javax::swing::JPanel * gradientPanel;
81
public: // actually package-private
82
  ::java::awt::Image * trackImage;
83
private:
84
  ::javax::swing::JPanel * trackPanel;
85
public: // actually package-private
86
  ::javax::swing::JSlider * slider;
87
  ::javax::swing::JRadioButton * hRadio;
88
  ::javax::swing::JRadioButton * sRadio;
89
  ::javax::swing::JRadioButton * bRadio;
90
  ::javax::swing::JSpinner * hSpinner;
91
  ::javax::swing::JSpinner * sSpinner;
92
  ::javax::swing::JSpinner * bSpinner;
93
private:
94
  static const jint imgWidth = 200;
95
  static const jint imgHeight = 200;
96
  static const jint trackWidth = 30;
97
  static ::javax::swing::JLabel * R;
98
  static ::javax::swing::JLabel * G;
99
  static ::javax::swing::JLabel * B;
100
  ::javax::swing::JLabel * rFull;
101
  ::javax::swing::JLabel * gFull;
102
  ::javax::swing::JLabel * bFull;
103
public: // actually package-private
104
  ::java::awt::Point * gradientPoint;
105
  jboolean internalChange;
106
  jboolean spinnerTrigger;
107
  jint locked;
108
  static const jint HLOCKED = 0;
109
  static const jint SLOCKED = 1;
110
  static const jint BLOCKED = 2;
111
  jboolean handlingMouse;
112
public:
113
  static ::java::lang::Class class$;
114
};
115
 
116
#endif // __javax_swing_colorchooser_DefaultHSBChooserPanel__

powered by: WebSVN 2.1.0

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