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