StyleConstants.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_StyleConstants__
  3. #define __javax_swing_text_StyleConstants__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Color;
  13. class Component;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace swing
  19. {
  20. class Icon;
  21. namespace text
  22. {
  23. class AttributeSet;
  24. class MutableAttributeSet;
  25. class StyleConstants;
  26. class TabSet;
  27. }
  28. }
  29. }
  30. }
  31. class javax::swing::text::StyleConstants : public ::java::lang::Object
  32. {
  33. public: // actually package-private
  34. StyleConstants(::java::lang::String *);
  35. public:
  36. virtual ::java::lang::String * toString();
  37. static jint getAlignment(::javax::swing::text::AttributeSet *);
  38. static ::java::awt::Color * getBackground(::javax::swing::text::AttributeSet *);
  39. static jint getBidiLevel(::javax::swing::text::AttributeSet *);
  40. static ::java::awt::Component * getComponent(::javax::swing::text::AttributeSet *);
  41. static jfloat getFirstLineIndent(::javax::swing::text::AttributeSet *);
  42. static ::java::lang::String * getFontFamily(::javax::swing::text::AttributeSet *);
  43. static jint getFontSize(::javax::swing::text::AttributeSet *);
  44. static ::java::awt::Color * getForeground(::javax::swing::text::AttributeSet *);
  45. static ::javax::swing::Icon * getIcon(::javax::swing::text::AttributeSet *);
  46. static jfloat getLeftIndent(::javax::swing::text::AttributeSet *);
  47. static jfloat getLineSpacing(::javax::swing::text::AttributeSet *);
  48. static jfloat getRightIndent(::javax::swing::text::AttributeSet *);
  49. static jfloat getSpaceAbove(::javax::swing::text::AttributeSet *);
  50. static jfloat getSpaceBelow(::javax::swing::text::AttributeSet *);
  51. static ::javax::swing::text::TabSet * getTabSet(::javax::swing::text::AttributeSet *);
  52. static jboolean isBold(::javax::swing::text::AttributeSet *);
  53. static jboolean isItalic(::javax::swing::text::AttributeSet *);
  54. static jboolean isStrikeThrough(::javax::swing::text::AttributeSet *);
  55. static jboolean isSubscript(::javax::swing::text::AttributeSet *);
  56. static jboolean isSuperscript(::javax::swing::text::AttributeSet *);
  57. static jboolean isUnderline(::javax::swing::text::AttributeSet *);
  58. static void setAlignment(::javax::swing::text::MutableAttributeSet *, jint);
  59. static void setBackground(::javax::swing::text::MutableAttributeSet *, ::java::awt::Color *);
  60. static void setBidiLevel(::javax::swing::text::MutableAttributeSet *, jint);
  61. static void setBold(::javax::swing::text::MutableAttributeSet *, jboolean);
  62. static void setComponent(::javax::swing::text::MutableAttributeSet *, ::java::awt::Component *);
  63. static void setFirstLineIndent(::javax::swing::text::MutableAttributeSet *, jfloat);
  64. static void setFontFamily(::javax::swing::text::MutableAttributeSet *, ::java::lang::String *);
  65. static void setFontSize(::javax::swing::text::MutableAttributeSet *, jint);
  66. static void setForeground(::javax::swing::text::MutableAttributeSet *, ::java::awt::Color *);
  67. static void setIcon(::javax::swing::text::MutableAttributeSet *, ::javax::swing::Icon *);
  68. static void setItalic(::javax::swing::text::MutableAttributeSet *, jboolean);
  69. static void setLeftIndent(::javax::swing::text::MutableAttributeSet *, jfloat);
  70. static void setLineSpacing(::javax::swing::text::MutableAttributeSet *, jfloat);
  71. static void setRightIndent(::javax::swing::text::MutableAttributeSet *, jfloat);
  72. static void setSpaceAbove(::javax::swing::text::MutableAttributeSet *, jfloat);
  73. static void setSpaceBelow(::javax::swing::text::MutableAttributeSet *, jfloat);
  74. static void setStrikeThrough(::javax::swing::text::MutableAttributeSet *, jboolean);
  75. static void setSubscript(::javax::swing::text::MutableAttributeSet *, jboolean);
  76. static void setSuperscript(::javax::swing::text::MutableAttributeSet *, jboolean);
  77. static void setTabSet(::javax::swing::text::MutableAttributeSet *, ::javax::swing::text::TabSet *);
  78. static void setUnderline(::javax::swing::text::MutableAttributeSet *, jboolean);
  79. static const jint ALIGN_LEFT = 0;
  80. static const jint ALIGN_CENTER = 1;
  81. static const jint ALIGN_RIGHT = 2;
  82. static const jint ALIGN_JUSTIFIED = 3;
  83. static ::java::lang::Object * Background;
  84. static ::java::lang::Object * BidiLevel;
  85. static ::java::lang::Object * Bold;
  86. static ::java::lang::Object * ComponentAttribute;
  87. static ::java::lang::Object * Family;
  88. static ::java::lang::Object * FontFamily;
  89. static ::java::lang::Object * FontSize;
  90. static ::java::lang::Object * Foreground;
  91. static ::java::lang::Object * IconAttribute;
  92. static ::java::lang::Object * Italic;
  93. static ::java::lang::Object * Size;
  94. static ::java::lang::Object * StrikeThrough;
  95. static ::java::lang::Object * Subscript;
  96. static ::java::lang::Object * Superscript;
  97. static ::java::lang::Object * Underline;
  98. static ::java::lang::Object * Alignment;
  99. static ::java::lang::Object * FirstLineIndent;
  100. static ::java::lang::Object * LeftIndent;
  101. static ::java::lang::Object * LineSpacing;
  102. static ::java::lang::Object * Orientation;
  103. static ::java::lang::Object * RightIndent;
  104. static ::java::lang::Object * SpaceAbove;
  105. static ::java::lang::Object * SpaceBelow;
  106. static ::java::lang::Object * TabSet;
  107. static ::java::lang::String * ComponentElementName;
  108. static ::java::lang::String * IconElementName;
  109. static ::java::lang::Object * ComposedTextAttribute;
  110. static ::java::lang::Object * ModelAttribute;
  111. static ::java::lang::Object * NameAttribute;
  112. static ::java::lang::Object * ResolveAttribute;
  113. public: // actually package-private
  114. static ::java::util::ArrayList * keys;
  115. ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyname;
  116. public:
  117. static ::java::lang::Class class$;
  118. };
  119. #endif // __javax_swing_text_StyleConstants__