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

#ifndef __javax_swing_text_PasswordView__
#define __javax_swing_text_PasswordView__

#pragma interface

#include <javax/swing/text/FieldView.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Graphics;
        class Shape;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class Element;
          class PasswordView;
          class Position$Bias;
      }
    }
  }
}

class javax::swing::text::PasswordView : public ::javax::swing::text::FieldView
{

public:
  PasswordView(::javax::swing::text::Element *);
public: // actually protected
  virtual jint drawEchoCharacter(::java::awt::Graphics *, jint, jint, jchar);
private:
  jchar getEchoChar();
public: // actually protected
  virtual jint drawSelectedText(::java::awt::Graphics *, jint, jint, jint, jint);
  virtual jint drawUnselectedText(::java::awt::Graphics *, jint, jint, jint, jint);
public:
  virtual jfloat getPreferredSpan(jint);
  virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *);
  virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *);
private:
  JArray< jchar > * __attribute__((aligned(__alignof__( ::javax::swing::text::FieldView)))) oneCharBuffer;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_PasswordView__