1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __javax_swing_text_html_StyleSheet$CSSStyle__ 5 #define __javax_swing_text_html_StyleSheet$CSSStyle__ 6 7 #pragma interface 8 9 #include <javax/swing/text/SimpleAttributeSet.h> 10 extern "Java" 11 { 12 namespace gnu 13 { 14 namespace javax 15 { 16 namespace swing 17 { 18 namespace text 19 { 20 namespace html 21 { 22 namespace css 23 { 24 class Selector; 25 } 26 } 27 } 28 } 29 } 30 } 31 namespace javax 32 { 33 namespace swing 34 { 35 namespace event 36 { 37 class ChangeListener; 38 } 39 namespace text 40 { 41 namespace html 42 { 43 class StyleSheet; 44 class StyleSheet$CSSStyle; 45 } 46 } 47 } 48 } 49 } 50 51 class javax::swing::text::html::StyleSheet$CSSStyle : public ::javax::swing::text::SimpleAttributeSet 52 { 53 54 public: // actually package-private 55 StyleSheet$CSSStyle(::javax::swing::text::html::StyleSheet *, jint, ::gnu::javax::swing::text::html::css::Selector *); 56 public: 57 virtual ::java::lang::String * getName(); 58 virtual void addChangeListener(::javax::swing::event::ChangeListener *); 59 virtual void removeChangeListener(::javax::swing::event::ChangeListener *); 60 virtual jint StyleSheet$CSSStyle$compareTo(::javax::swing::text::html::StyleSheet$CSSStyle *); 61 virtual jint compareTo(::java::lang::Object *); 62 public: // actually package-private 63 static const jint PREC_UA = 0; 64 static const jint PREC_NORM = 100000; 65 static const jint PREC_AUTHOR_NORMAL = 200000; 66 static const jint PREC_AUTHOR_IMPORTANT = 300000; 67 static const jint PREC_USER_IMPORTANT = 400000; 68 private: 69 jint __attribute__((aligned(__alignof__( ::javax::swing::text::SimpleAttributeSet)))) precedence; 70 public: // actually package-private 71 ::gnu::javax::swing::text::html::css::Selector * selector; 72 ::javax::swing::text::html::StyleSheet * this$0; 73 public: 74 static ::java::lang::Class class$; 75 }; 76 77 #endif // __javax_swing_text_html_StyleSheet$CSSStyle__ 78