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