summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/html/CSSBorder.h
blob: aa836ff65e1bf45b92b5c3f42fba2e15581ee255 (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
87
88
89
90
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_html_CSSBorder__
#define __javax_swing_text_html_CSSBorder__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Component;
        class Graphics;
        class Insets;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class AttributeSet;
        namespace html
        {
            class CSS$Attribute;
            class CSSBorder;
            class StyleSheet;
        }
      }
    }
  }
}

class javax::swing::text::html::CSSBorder : public ::java::lang::Object
{

public: // actually package-private
  CSSBorder(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::StyleSheet *);
private:
  jint getBorderStyle(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *);
  ::java::awt::Color * getBorderColor(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *);
  jint getBorderWidth(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *, ::javax::swing::text::html::StyleSheet *);
public:
  virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *);
  virtual jboolean isBorderOpaque();
  virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint);
private:
  void paintBorderLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  void paintDottedLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  void paintDashedLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  void paintSolidLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  void paintDoubleLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  void paintGrooveLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  void paintRidgeLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  void paintOutsetLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  void paintInsetLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
  static const jint STYLE_NOT_SET = -1;
  static const jint STYLE_NONE = 0;
  static const jint STYLE_HIDDEN = 1;
  static const jint STYLE_DOTTED = 2;
  static const jint STYLE_DASHED = 3;
  static const jint STYLE_SOLID = 4;
  static const jint STYLE_DOUBLE = 5;
  static const jint STYLE_GROOVE = 6;
  static const jint STYLE_RIDGE = 7;
  static const jint STYLE_INSET = 8;
  static const jint STYLE_OUTSET = 9;
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) left;
  jint right;
  jint top;
  jint bottom;
  jint leftStyle;
  jint rightStyle;
  jint topStyle;
  ::java::awt::Color * topColor;
  ::java::awt::Color * bottomColor;
  ::java::awt::Color * leftColor;
  ::java::awt::Color * rightColor;
  jint bottomStyle;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_html_CSSBorder__