diff options
Diffstat (limited to 'libjava/javax/swing/border/TitledBorder.h')
-rw-r--r-- | libjava/javax/swing/border/TitledBorder.h | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/libjava/javax/swing/border/TitledBorder.h b/libjava/javax/swing/border/TitledBorder.h new file mode 100644 index 00000000000..42d6b599dae --- /dev/null +++ b/libjava/javax/swing/border/TitledBorder.h @@ -0,0 +1,104 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_TitledBorder__ +#define __javax_swing_border_TitledBorder__ + +#pragma interface + +#include <javax/swing/border/AbstractBorder.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Dimension; + class Font; + class FontMetrics; + class Graphics; + class Insets; + class Point; + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class Border; + class TitledBorder; + } + } + } +} + +class javax::swing::border::TitledBorder : public ::javax::swing::border::AbstractBorder +{ + +public: + TitledBorder(::java::lang::String *); + TitledBorder(::javax::swing::border::Border *); + TitledBorder(::javax::swing::border::Border *, ::java::lang::String *); + TitledBorder(::javax::swing::border::Border *, ::java::lang::String *, jint, jint); + TitledBorder(::javax::swing::border::Border *, ::java::lang::String *, jint, jint, ::java::awt::Font *); + TitledBorder(::javax::swing::border::Border *, ::java::lang::String *, jint, jint, ::java::awt::Font *, ::java::awt::Color *); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); +private: + void layoutBorderWithTitle(::java::awt::Component *, ::java::awt::FontMetrics *, ::java::awt::Rectangle *, ::java::awt::Point *); + void paintBorderWithTitle(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint, ::java::awt::Rectangle *, ::java::awt::Point *, ::java::awt::FontMetrics *); +public: + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual jboolean isBorderOpaque(); + virtual ::java::lang::String * getTitle(); + virtual ::javax::swing::border::Border * getBorder(); + virtual jint getTitlePosition(); + virtual jint getTitleJustification(); + virtual ::java::awt::Font * getTitleFont(); + virtual ::java::awt::Color * getTitleColor(); + virtual void setTitle(::java::lang::String *); + virtual void setBorder(::javax::swing::border::Border *); + virtual void setTitlePosition(jint); + virtual void setTitleJustification(jint); + virtual void setTitleFont(::java::awt::Font *); + virtual void setTitleColor(::java::awt::Color *); + virtual ::java::awt::Dimension * getMinimumSize(::java::awt::Component *); +public: // actually protected + virtual ::java::awt::Font * getFont(::java::awt::Component *); +public: + static const jint DEFAULT_POSITION = 0; + static const jint ABOVE_TOP = 1; + static const jint TOP = 2; + static const jint BELOW_TOP = 3; + static const jint ABOVE_BOTTOM = 4; + static const jint BOTTOM = 5; + static const jint BELOW_BOTTOM = 6; + static const jint DEFAULT_JUSTIFICATION = 0; + static const jint LEFT = 1; + static const jint CENTER = 2; + static const jint RIGHT = 3; + static const jint LEADING = 4; + static const jint TRAILING = 5; +public: // actually protected + static const jint EDGE_SPACING = 2; + static const jint TEXT_INSET_H = 5; + static const jint TEXT_SPACING = 2; +public: // actually package-private + static const jlong serialVersionUID = 8012999415147721601LL; +public: // actually protected + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::border::AbstractBorder)))) title; + ::javax::swing::border::Border * border; + jint titlePosition; + jint titleJustification; + ::java::awt::Font * titleFont; + ::java::awt::Color * titleColor; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_TitledBorder__ |