diff options
Diffstat (limited to 'libjava/javax/swing/plaf/metal/MetalScrollButton.h')
-rw-r--r-- | libjava/javax/swing/plaf/metal/MetalScrollButton.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/libjava/javax/swing/plaf/metal/MetalScrollButton.h b/libjava/javax/swing/plaf/metal/MetalScrollButton.h new file mode 100644 index 00000000000..3a3d86125f2 --- /dev/null +++ b/libjava/javax/swing/plaf/metal/MetalScrollButton.h @@ -0,0 +1,65 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_metal_MetalScrollButton__ +#define __javax_swing_plaf_metal_MetalScrollButton__ + +#pragma interface + +#include <javax/swing/plaf/basic/BasicArrowButton.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Dimension; + class Graphics; + } + } + namespace javax + { + namespace swing + { + namespace plaf + { + namespace metal + { + class MetalScrollButton; + } + } + } + } +} + +class javax::swing::plaf::metal::MetalScrollButton : public ::javax::swing::plaf::basic::BasicArrowButton +{ + +public: + MetalScrollButton(jint, jint, jboolean); + virtual jint getButtonWidth(); + virtual void setFreeStanding(jboolean); + virtual void paint(::java::awt::Graphics *); +private: + void paintArrow(::java::awt::Graphics *, jint, jint); + void paintNorthBorderFreeStanding(::java::awt::Graphics *, jint, jint); + void paintSouthBorderFreeStanding(::java::awt::Graphics *, jint, jint); + void paintEastBorderFreeStanding(::java::awt::Graphics *, jint, jint); + void paintWestBorderFreeStanding(::java::awt::Graphics *, jint, jint); + void paintNorthBorder(::java::awt::Graphics *, jint, jint); + void paintSouthBorder(::java::awt::Graphics *, jint, jint); + void paintEastBorder(::java::awt::Graphics *, jint, jint); + void paintWestBorder(::java::awt::Graphics *, jint, jint); +public: + virtual ::java::awt::Dimension * getPreferredSize(); + virtual ::java::awt::Dimension * getMinimumSize(); + virtual ::java::awt::Dimension * getMaximumSize(); +private: + static ::java::awt::Dimension * maximumSize; + jint __attribute__((aligned(__alignof__( ::javax::swing::plaf::basic::BasicArrowButton)))) buttonWidth; + jboolean freeStanding; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_metal_MetalScrollButton__ |