| 1 |
759 |
jeremybenn |
|
| 2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
| 3 |
|
|
|
| 4 |
|
|
#ifndef __javax_swing_text_html_TableView__
|
| 5 |
|
|
#define __javax_swing_text_html_TableView__
|
| 6 |
|
|
|
| 7 |
|
|
#pragma interface
|
| 8 |
|
|
|
| 9 |
|
|
#include <javax/swing/text/html/BlockView.h>
|
| 10 |
|
|
#include <gcj/array.h>
|
| 11 |
|
|
|
| 12 |
|
|
extern "Java"
|
| 13 |
|
|
{
|
| 14 |
|
|
namespace gnu
|
| 15 |
|
|
{
|
| 16 |
|
|
namespace javax
|
| 17 |
|
|
{
|
| 18 |
|
|
namespace swing
|
| 19 |
|
|
{
|
| 20 |
|
|
namespace text
|
| 21 |
|
|
{
|
| 22 |
|
|
namespace html
|
| 23 |
|
|
{
|
| 24 |
|
|
namespace css
|
| 25 |
|
|
{
|
| 26 |
|
|
class Length;
|
| 27 |
|
|
}
|
| 28 |
|
|
}
|
| 29 |
|
|
}
|
| 30 |
|
|
}
|
| 31 |
|
|
}
|
| 32 |
|
|
}
|
| 33 |
|
|
namespace java
|
| 34 |
|
|
{
|
| 35 |
|
|
namespace awt
|
| 36 |
|
|
{
|
| 37 |
|
|
class Graphics;
|
| 38 |
|
|
class Rectangle;
|
| 39 |
|
|
class Shape;
|
| 40 |
|
|
}
|
| 41 |
|
|
}
|
| 42 |
|
|
namespace javax
|
| 43 |
|
|
{
|
| 44 |
|
|
namespace swing
|
| 45 |
|
|
{
|
| 46 |
|
|
class SizeRequirements;
|
| 47 |
|
|
namespace event
|
| 48 |
|
|
{
|
| 49 |
|
|
class DocumentEvent;
|
| 50 |
|
|
}
|
| 51 |
|
|
namespace text
|
| 52 |
|
|
{
|
| 53 |
|
|
class AttributeSet;
|
| 54 |
|
|
class Element;
|
| 55 |
|
|
class View;
|
| 56 |
|
|
class ViewFactory;
|
| 57 |
|
|
namespace html
|
| 58 |
|
|
{
|
| 59 |
|
|
class StyleSheet;
|
| 60 |
|
|
class TableView;
|
| 61 |
|
|
}
|
| 62 |
|
|
}
|
| 63 |
|
|
}
|
| 64 |
|
|
}
|
| 65 |
|
|
}
|
| 66 |
|
|
|
| 67 |
|
|
class javax::swing::text::html::TableView : public ::javax::swing::text::html::BlockView
|
| 68 |
|
|
{
|
| 69 |
|
|
|
| 70 |
|
|
public:
|
| 71 |
|
|
TableView(::javax::swing::text::Element *);
|
| 72 |
|
|
virtual ::javax::swing::text::View * create(::javax::swing::text::Element *);
|
| 73 |
|
|
virtual ::javax::swing::text::ViewFactory * getViewFactory();
|
| 74 |
|
|
virtual ::javax::swing::text::AttributeSet * getAttributes();
|
| 75 |
|
|
public: // actually protected
|
| 76 |
|
|
virtual ::javax::swing::text::html::StyleSheet * getStyleSheet();
|
| 77 |
|
|
virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *);
|
| 78 |
|
|
virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *);
|
| 79 |
|
|
private:
|
| 80 |
|
|
void calculateColumnRequirements();
|
| 81 |
|
|
void layoutColumns(jint);
|
| 82 |
|
|
public: // actually package-private
|
| 83 |
|
|
virtual void updateGrid();
|
| 84 |
|
|
public:
|
| 85 |
|
|
virtual jfloat getMaximumSpan(jint);
|
| 86 |
|
|
virtual void setParent(::javax::swing::text::View *);
|
| 87 |
|
|
public: // actually protected
|
| 88 |
|
|
virtual void setPropertiesFromAttributes();
|
| 89 |
|
|
virtual ::javax::swing::SizeRequirements * calculateMajorAxisRequirements(jint, ::javax::swing::SizeRequirements *);
|
| 90 |
|
|
virtual void layoutMajorAxis(jint, jint, JArray< jint > *, JArray< jint > *);
|
| 91 |
|
|
public:
|
| 92 |
|
|
virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
|
| 93 |
|
|
virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
|
| 94 |
|
|
virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
|
| 95 |
|
|
virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *);
|
| 96 |
|
|
virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *);
|
| 97 |
|
|
public: // actually package-private
|
| 98 |
|
|
static jint access$0(::javax::swing::text::html::TableView *, jint, jint);
|
| 99 |
|
|
private:
|
| 100 |
|
|
::javax::swing::text::AttributeSet * __attribute__((aligned(__alignof__( ::javax::swing::text::html::BlockView)))) attributes;
|
| 101 |
|
|
public: // actually package-private
|
| 102 |
|
|
JArray< ::javax::swing::SizeRequirements * > * columnRequirements;
|
| 103 |
|
|
::javax::swing::SizeRequirements * totalColumnRequirements;
|
| 104 |
|
|
JArray< jint > * columnOffsets;
|
| 105 |
|
|
JArray< jint > * columnSpans;
|
| 106 |
|
|
JArray< ::gnu::javax::swing::text::html::css::Length * > * columnWidths;
|
| 107 |
|
|
jint numColumns;
|
| 108 |
|
|
private:
|
| 109 |
|
|
::gnu::javax::swing::text::html::css::Length * width;
|
| 110 |
|
|
public: // actually package-private
|
| 111 |
|
|
jboolean gridValid;
|
| 112 |
|
|
jint cellSpacing;
|
| 113 |
|
|
private:
|
| 114 |
|
|
::java::awt::Rectangle * tmpRect;
|
| 115 |
|
|
public:
|
| 116 |
|
|
static ::java::lang::Class class$;
|
| 117 |
|
|
};
|
| 118 |
|
|
|
| 119 |
|
|
#endif // __javax_swing_text_html_TableView__
|