Utilities.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_Utilities__
  3. #define __javax_swing_text_Utilities__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class FontMetrics;
  13. class Graphics;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace swing
  19. {
  20. namespace text
  21. {
  22. class Element;
  23. class JTextComponent;
  24. class Segment;
  25. class TabExpander;
  26. class Utilities;
  27. }
  28. }
  29. }
  30. }
  31. class javax::swing::text::Utilities : public ::java::lang::Object
  32. {
  33. public:
  34. Utilities();
  35. static jint drawTabbedText(::javax::swing::text::Segment *, jint, jint, ::java::awt::Graphics *, ::javax::swing::text::TabExpander *, jint);
  36. static jint getTabbedTextWidth(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, ::javax::swing::text::TabExpander *, jint);
  37. static jint getTabbedTextOffset(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint, jboolean);
  38. static jint getTabbedTextOffset(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint);
  39. static jint getNextWord(::javax::swing::text::JTextComponent *, jint);
  40. static jint getPreviousWord(::javax::swing::text::JTextComponent *, jint);
  41. static jint getWordStart(::javax::swing::text::JTextComponent *, jint);
  42. static jint getWordEnd(::javax::swing::text::JTextComponent *, jint);
  43. static jint getRowEnd(::javax::swing::text::JTextComponent *, jint);
  44. static jint getRowStart(::javax::swing::text::JTextComponent *, jint);
  45. static jint getBreakLocation(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint);
  46. static ::javax::swing::text::Element * getParagraphElement(::javax::swing::text::JTextComponent *, jint);
  47. static jint getPositionAbove(::javax::swing::text::JTextComponent *, jint, jint);
  48. static jint getPositionBelow(::javax::swing::text::JTextComponent *, jint, jint);
  49. public: // actually package-private
  50. static jint getNextVisualPositionFrom(::javax::swing::text::JTextComponent *, jint, jint);
  51. public:
  52. static ::java::lang::Class class$;
  53. };
  54. #endif // __javax_swing_text_Utilities__