diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/border | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/border')
-rw-r--r-- | libjava/javax/swing/border/AbstractBorder.h | 52 | ||||
-rw-r--r-- | libjava/javax/swing/border/BevelBorder.h | 74 | ||||
-rw-r--r-- | libjava/javax/swing/border/Border.h | 43 | ||||
-rw-r--r-- | libjava/javax/swing/border/CompoundBorder.h | 55 | ||||
-rw-r--r-- | libjava/javax/swing/border/EmptyBorder.h | 55 | ||||
-rw-r--r-- | libjava/javax/swing/border/EtchedBorder.h | 66 | ||||
-rw-r--r-- | libjava/javax/swing/border/LineBorder.h | 64 | ||||
-rw-r--r-- | libjava/javax/swing/border/MatteBorder.h | 62 | ||||
-rw-r--r-- | libjava/javax/swing/border/SoftBevelBorder.h | 53 | ||||
-rw-r--r-- | libjava/javax/swing/border/TitledBorder.h | 104 |
10 files changed, 628 insertions, 0 deletions
diff --git a/libjava/javax/swing/border/AbstractBorder.h b/libjava/javax/swing/border/AbstractBorder.h new file mode 100644 index 000000000..e91b5e98e --- /dev/null +++ b/libjava/javax/swing/border/AbstractBorder.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_AbstractBorder__ +#define __javax_swing_border_AbstractBorder__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + class Graphics; + class Insets; + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class AbstractBorder; + class Border; + } + } + } +} + +class javax::swing::border::AbstractBorder : public ::java::lang::Object +{ + +public: + AbstractBorder(); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual jboolean isBorderOpaque(); + virtual ::java::awt::Rectangle * getInteriorRectangle(::java::awt::Component *, jint, jint, jint, jint); + static ::java::awt::Rectangle * getInteriorRectangle(::java::awt::Component *, ::javax::swing::border::Border *, jint, jint, jint, jint); +public: // actually package-private + static const jlong serialVersionUID = -545885975315191844LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_AbstractBorder__ diff --git a/libjava/javax/swing/border/BevelBorder.h b/libjava/javax/swing/border/BevelBorder.h new file mode 100644 index 000000000..369c1c57d --- /dev/null +++ b/libjava/javax/swing/border/BevelBorder.h @@ -0,0 +1,74 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_BevelBorder__ +#define __javax_swing_border_BevelBorder__ + +#pragma interface + +#include <javax/swing/border/AbstractBorder.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class BevelBorder; + } + } + } +} + +class javax::swing::border::BevelBorder : public ::javax::swing::border::AbstractBorder +{ + +public: + BevelBorder(jint); + BevelBorder(jint, ::java::awt::Color *, ::java::awt::Color *); + BevelBorder(jint, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual ::java::awt::Color * getHighlightOuterColor(::java::awt::Component *); + virtual ::java::awt::Color * getHighlightInnerColor(::java::awt::Component *); + virtual ::java::awt::Color * getShadowInnerColor(::java::awt::Component *); + virtual ::java::awt::Color * getShadowOuterColor(::java::awt::Component *); + virtual ::java::awt::Color * getHighlightOuterColor(); + virtual ::java::awt::Color * getHighlightInnerColor(); + virtual ::java::awt::Color * getShadowInnerColor(); + virtual ::java::awt::Color * getShadowOuterColor(); + virtual jint getBevelType(); + virtual jboolean isBorderOpaque(); +public: // actually protected + virtual void paintRaisedBevel(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintLoweredBevel(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); +private: + static void paintBevel(::java::awt::Graphics *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *); +public: // actually package-private + static const jlong serialVersionUID = -1034942243356299676LL; +public: + static const jint RAISED = 0; + static const jint LOWERED = 1; +public: // actually protected + jint __attribute__((aligned(__alignof__( ::javax::swing::border::AbstractBorder)))) bevelType; + ::java::awt::Color * highlightOuter; + ::java::awt::Color * highlightInner; + ::java::awt::Color * shadowOuter; + ::java::awt::Color * shadowInner; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_BevelBorder__ diff --git a/libjava/javax/swing/border/Border.h b/libjava/javax/swing/border/Border.h new file mode 100644 index 000000000..7fe11ee46 --- /dev/null +++ b/libjava/javax/swing/border/Border.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_Border__ +#define __javax_swing_border_Border__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class Border; + } + } + } +} + +class javax::swing::border::Border : public ::java::lang::Object +{ + +public: + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint) = 0; + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *) = 0; + virtual jboolean isBorderOpaque() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_border_Border__ diff --git a/libjava/javax/swing/border/CompoundBorder.h b/libjava/javax/swing/border/CompoundBorder.h new file mode 100644 index 000000000..703398a73 --- /dev/null +++ b/libjava/javax/swing/border/CompoundBorder.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_CompoundBorder__ +#define __javax_swing_border_CompoundBorder__ + +#pragma interface + +#include <javax/swing/border/AbstractBorder.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class Border; + class CompoundBorder; + } + } + } +} + +class javax::swing::border::CompoundBorder : public ::javax::swing::border::AbstractBorder +{ + +public: + CompoundBorder(); + CompoundBorder(::javax::swing::border::Border *, ::javax::swing::border::Border *); + virtual jboolean isBorderOpaque(); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::javax::swing::border::Border * getOutsideBorder(); + virtual ::javax::swing::border::Border * getInsideBorder(); +public: // actually package-private + static const jlong serialVersionUID = 9054540377030555103LL; +public: // actually protected + ::javax::swing::border::Border * __attribute__((aligned(__alignof__( ::javax::swing::border::AbstractBorder)))) insideBorder; + ::javax::swing::border::Border * outsideBorder; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_CompoundBorder__ diff --git a/libjava/javax/swing/border/EmptyBorder.h b/libjava/javax/swing/border/EmptyBorder.h new file mode 100644 index 000000000..8658371ad --- /dev/null +++ b/libjava/javax/swing/border/EmptyBorder.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_EmptyBorder__ +#define __javax_swing_border_EmptyBorder__ + +#pragma interface + +#include <javax/swing/border/AbstractBorder.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class EmptyBorder; + } + } + } +} + +class javax::swing::border::EmptyBorder : public ::javax::swing::border::AbstractBorder +{ + +public: + EmptyBorder(jint, jint, jint, jint); + EmptyBorder(::java::awt::Insets *); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual ::java::awt::Insets * getBorderInsets(); + virtual jboolean isBorderOpaque(); +public: // actually package-private + static const jlong serialVersionUID = -8116076291731988694LL; +public: // actually protected + jint __attribute__((aligned(__alignof__( ::javax::swing::border::AbstractBorder)))) left; + jint right; + jint top; + jint bottom; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_EmptyBorder__ diff --git a/libjava/javax/swing/border/EtchedBorder.h b/libjava/javax/swing/border/EtchedBorder.h new file mode 100644 index 000000000..f760547eb --- /dev/null +++ b/libjava/javax/swing/border/EtchedBorder.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_EtchedBorder__ +#define __javax_swing_border_EtchedBorder__ + +#pragma interface + +#include <javax/swing/border/AbstractBorder.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class EtchedBorder; + } + } + } +} + +class javax::swing::border::EtchedBorder : public ::javax::swing::border::AbstractBorder +{ + +public: + EtchedBorder(); + EtchedBorder(jint); + EtchedBorder(::java::awt::Color *, ::java::awt::Color *); + EtchedBorder(jint, ::java::awt::Color *, ::java::awt::Color *); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual jboolean isBorderOpaque(); + virtual jint getEtchType(); + virtual ::java::awt::Color * getHighlightColor(::java::awt::Component *); + virtual ::java::awt::Color * getHighlightColor(); + virtual ::java::awt::Color * getShadowColor(::java::awt::Component *); + virtual ::java::awt::Color * getShadowColor(); +private: + static void paintEtchedBorder(::java::awt::Graphics *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::Color *); +public: // actually package-private + static const jlong serialVersionUID = 4001244046866360638LL; +public: + static const jint RAISED = 0; + static const jint LOWERED = 1; +public: // actually protected + jint __attribute__((aligned(__alignof__( ::javax::swing::border::AbstractBorder)))) etchType; + ::java::awt::Color * highlight; + ::java::awt::Color * shadow; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_EtchedBorder__ diff --git a/libjava/javax/swing/border/LineBorder.h b/libjava/javax/swing/border/LineBorder.h new file mode 100644 index 000000000..dd8d05dc5 --- /dev/null +++ b/libjava/javax/swing/border/LineBorder.h @@ -0,0 +1,64 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_LineBorder__ +#define __javax_swing_border_LineBorder__ + +#pragma interface + +#include <javax/swing/border/AbstractBorder.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class Border; + class LineBorder; + } + } + } +} + +class javax::swing::border::LineBorder : public ::javax::swing::border::AbstractBorder +{ + +public: + LineBorder(::java::awt::Color *); + LineBorder(::java::awt::Color *, jint); + LineBorder(::java::awt::Color *, jint, jboolean); + static ::javax::swing::border::Border * createBlackLineBorder(); + static ::javax::swing::border::Border * createGrayLineBorder(); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual ::java::awt::Color * getLineColor(); + virtual jint getThickness(); + virtual jboolean getRoundedCorners(); + virtual jboolean isBorderOpaque(); +public: // actually package-private + static const jlong serialVersionUID = -787563427772288970LL; +private: + static ::javax::swing::border::LineBorder * blackLineBorder; + static ::javax::swing::border::LineBorder * grayLineBorder; +public: // actually protected + jint __attribute__((aligned(__alignof__( ::javax::swing::border::AbstractBorder)))) thickness; + ::java::awt::Color * lineColor; + jboolean roundedCorners; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_LineBorder__ diff --git a/libjava/javax/swing/border/MatteBorder.h b/libjava/javax/swing/border/MatteBorder.h new file mode 100644 index 000000000..76dc3d981 --- /dev/null +++ b/libjava/javax/swing/border/MatteBorder.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_MatteBorder__ +#define __javax_swing_border_MatteBorder__ + +#pragma interface + +#include <javax/swing/border/EmptyBorder.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + class Icon; + namespace border + { + class MatteBorder; + } + } + } +} + +class javax::swing::border::MatteBorder : public ::javax::swing::border::EmptyBorder +{ + +public: + MatteBorder(jint, jint, jint, jint, ::java::awt::Color *); + MatteBorder(::java::awt::Insets *, ::java::awt::Color *); + MatteBorder(jint, jint, jint, jint, ::javax::swing::Icon *); + MatteBorder(::java::awt::Insets *, ::javax::swing::Icon *); + MatteBorder(::javax::swing::Icon *); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual ::java::awt::Insets * getBorderInsets(); + virtual ::java::awt::Color * getMatteColor(); + virtual ::javax::swing::Icon * getTileIcon(); + virtual jboolean isBorderOpaque(); +private: + void paintEdge(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint, jint, jint); +public: // actually package-private + static const jlong serialVersionUID = 4422248989617298224LL; +public: // actually protected + ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::border::EmptyBorder)))) color; + ::javax::swing::Icon * tileIcon; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_MatteBorder__ diff --git a/libjava/javax/swing/border/SoftBevelBorder.h b/libjava/javax/swing/border/SoftBevelBorder.h new file mode 100644 index 000000000..fa8ff5e6f --- /dev/null +++ b/libjava/javax/swing/border/SoftBevelBorder.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_border_SoftBevelBorder__ +#define __javax_swing_border_SoftBevelBorder__ + +#pragma interface + +#include <javax/swing/border/BevelBorder.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class SoftBevelBorder; + } + } + } +} + +class javax::swing::border::SoftBevelBorder : public ::javax::swing::border::BevelBorder +{ + +public: + SoftBevelBorder(jint); + SoftBevelBorder(jint, ::java::awt::Color *, ::java::awt::Color *); + SoftBevelBorder(jint, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *); + virtual jboolean isBorderOpaque(); +private: + static void paintSoftBevel(::java::awt::Graphics *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *); +public: // actually package-private + static const jlong serialVersionUID = 5248789787305979975LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_border_SoftBevelBorder__ diff --git a/libjava/javax/swing/border/TitledBorder.h b/libjava/javax/swing/border/TitledBorder.h new file mode 100644 index 000000000..42d6b599d --- /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__ |