StyleContext$NamedStyle.h 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_StyleContext$NamedStyle__
  3. #define __javax_swing_text_StyleContext$NamedStyle__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace swing
  12. {
  13. namespace event
  14. {
  15. class ChangeEvent;
  16. class ChangeListener;
  17. class EventListenerList;
  18. }
  19. namespace text
  20. {
  21. class AttributeSet;
  22. class Style;
  23. class StyleContext;
  24. class StyleContext$NamedStyle;
  25. }
  26. }
  27. }
  28. }
  29. class javax::swing::text::StyleContext$NamedStyle : public ::java::lang::Object
  30. {
  31. public:
  32. StyleContext$NamedStyle(::javax::swing::text::StyleContext *);
  33. StyleContext$NamedStyle(::javax::swing::text::StyleContext *, ::javax::swing::text::Style *);
  34. StyleContext$NamedStyle(::javax::swing::text::StyleContext *, ::java::lang::String *, ::javax::swing::text::Style *);
  35. virtual ::java::lang::String * getName();
  36. virtual void setName(::java::lang::String *);
  37. virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  38. virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
  39. virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  40. virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
  41. public: // actually protected
  42. virtual void fireStateChanged();
  43. public:
  44. virtual void addAttribute(::java::lang::Object *, ::java::lang::Object *);
  45. virtual void addAttributes(::javax::swing::text::AttributeSet *);
  46. virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *);
  47. virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *);
  48. virtual ::javax::swing::text::AttributeSet * copyAttributes();
  49. virtual ::java::lang::Object * getAttribute(::java::lang::Object *);
  50. virtual jint getAttributeCount();
  51. virtual ::java::util::Enumeration * getAttributeNames();
  52. virtual jboolean isDefined(::java::lang::Object *);
  53. virtual jboolean isEqual(::javax::swing::text::AttributeSet *);
  54. virtual void removeAttribute(::java::lang::Object *);
  55. virtual void removeAttributes(::javax::swing::text::AttributeSet *);
  56. virtual void removeAttributes(::java::util::Enumeration *);
  57. virtual ::javax::swing::text::AttributeSet * getResolveParent();
  58. virtual void setResolveParent(::javax::swing::text::AttributeSet *);
  59. virtual ::java::lang::String * toString();
  60. private:
  61. void writeObject(::java::io::ObjectOutputStream *);
  62. void readObject(::java::io::ObjectInputStream *);
  63. static const jlong serialVersionUID = -6690628971806226374LL;
  64. public: // actually protected
  65. ::javax::swing::event::ChangeEvent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) changeEvent;
  66. ::javax::swing::event::EventListenerList * listenerList;
  67. private:
  68. ::javax::swing::text::AttributeSet * attributes;
  69. public: // actually package-private
  70. ::javax::swing::text::StyleContext * this$0;
  71. public:
  72. static ::java::lang::Class class$;
  73. };
  74. #endif // __javax_swing_text_StyleContext$NamedStyle__