summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/Utilities.h
blob: ec04c43fe38711bf7851d6d713fd3b577ae79e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_Utilities__
#define __javax_swing_text_Utilities__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class FontMetrics;
        class Graphics;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class Element;
          class JTextComponent;
          class Segment;
          class TabExpander;
          class Utilities;
      }
    }
  }
}

class javax::swing::text::Utilities : public ::java::lang::Object
{

public:
  Utilities();
  static jint drawTabbedText(::javax::swing::text::Segment *, jint, jint, ::java::awt::Graphics *, ::javax::swing::text::TabExpander *, jint);
  static jint getTabbedTextWidth(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, ::javax::swing::text::TabExpander *, jint);
  static jint getTabbedTextOffset(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint, jboolean);
  static jint getTabbedTextOffset(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint);
  static jint getNextWord(::javax::swing::text::JTextComponent *, jint);
  static jint getPreviousWord(::javax::swing::text::JTextComponent *, jint);
  static jint getWordStart(::javax::swing::text::JTextComponent *, jint);
  static jint getWordEnd(::javax::swing::text::JTextComponent *, jint);
  static jint getRowEnd(::javax::swing::text::JTextComponent *, jint);
  static jint getRowStart(::javax::swing::text::JTextComponent *, jint);
  static jint getBreakLocation(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint);
  static ::javax::swing::text::Element * getParagraphElement(::javax::swing::text::JTextComponent *, jint);
  static jint getPositionAbove(::javax::swing::text::JTextComponent *, jint, jint);
  static jint getPositionBelow(::javax::swing::text::JTextComponent *, jint, jint);
public: // actually package-private
  static jint getNextVisualPositionFrom(::javax::swing::text::JTextComponent *, jint, jint);
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_Utilities__