summaryrefslogtreecommitdiff
path: root/libjava/java/awt/im/spi/InputMethodContext.h
blob: 8dcef0e08c7ee00ec91021a95bf4d2ebc54decab (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
62
63
64
65
66
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_im_spi_InputMethodContext__
#define __java_awt_im_spi_InputMethodContext__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Rectangle;
        class Window;
      namespace font
      {
          class TextHitInfo;
      }
      namespace im
      {
        namespace spi
        {
            class InputMethod;
            class InputMethodContext;
        }
      }
    }
    namespace text
    {
        class AttributedCharacterIterator;
        class AttributedCharacterIterator$Attribute;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class JFrame;
    }
  }
}

class java::awt::im::spi::InputMethodContext : public ::java::lang::Object
{

public:
  virtual void dispatchInputMethodEvent(jint, ::java::text::AttributedCharacterIterator *, jint, ::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *) = 0;
  virtual ::java::awt::Window * createInputMethodWindow(::java::lang::String *, jboolean) = 0;
  virtual ::javax::swing::JFrame * createInputMethodJFrame(::java::lang::String *, jboolean) = 0;
  virtual void enableClientWindowNotification(::java::awt::im::spi::InputMethod *, jboolean) = 0;
  virtual ::java::awt::Rectangle * getTextLocation(::java::awt::font::TextHitInfo *) = 0;
  virtual ::java::awt::font::TextHitInfo * getLocationOffset(jint, jint) = 0;
  virtual jint getInsertPositionOffset() = 0;
  virtual ::java::text::AttributedCharacterIterator * getCommittedText(jint, jint, JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
  virtual jint getCommittedTextLength() = 0;
  virtual ::java::text::AttributedCharacterIterator * cancelLatestCommittedText(JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
  virtual ::java::text::AttributedCharacterIterator * getSelectedText(JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __java_awt_im_spi_InputMethodContext__