diff options
Diffstat (limited to 'libjava/javax/swing/plaf/metal/MetalButtonUI.h')
-rw-r--r-- | libjava/javax/swing/plaf/metal/MetalButtonUI.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/libjava/javax/swing/plaf/metal/MetalButtonUI.h b/libjava/javax/swing/plaf/metal/MetalButtonUI.h new file mode 100644 index 00000000000..d2e6ced26a1 --- /dev/null +++ b/libjava/javax/swing/plaf/metal/MetalButtonUI.h @@ -0,0 +1,71 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_metal_MetalButtonUI__ +#define __javax_swing_plaf_metal_MetalButtonUI__ + +#pragma interface + +#include <javax/swing/plaf/basic/BasicButtonUI.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Graphics; + class Rectangle; + } + } + namespace javax + { + namespace swing + { + class AbstractButton; + class JComponent; + namespace plaf + { + class ComponentUI; + namespace metal + { + class MetalButtonUI; + } + } + } + } +} + +class javax::swing::plaf::metal::MetalButtonUI : public ::javax::swing::plaf::basic::BasicButtonUI +{ + +public: + static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *); + MetalButtonUI(); +public: // actually protected + virtual ::java::awt::Color * getFocusColor(); + virtual ::java::awt::Color * getSelectColor(); + virtual ::java::awt::Color * getDisabledTextColor(); +public: + virtual void installDefaults(::javax::swing::AbstractButton *); + virtual void uninstallDefaults(::javax::swing::AbstractButton *); +public: // actually protected + virtual void paintButtonPressed(::java::awt::Graphics *, ::javax::swing::AbstractButton *); + virtual void paintFocus(::java::awt::Graphics *, ::javax::swing::AbstractButton *, ::java::awt::Rectangle *, ::java::awt::Rectangle *, ::java::awt::Rectangle *); + virtual void paintText(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *, ::java::lang::String *); +public: + virtual void update(::java::awt::Graphics *, ::javax::swing::JComponent *); +private: + jboolean isToolbarButton(::java::awt::Component *); + jboolean isDrawingGradient(::java::lang::String *); + static ::javax::swing::plaf::metal::MetalButtonUI * sharedUI; +public: // actually protected + ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::plaf::basic::BasicButtonUI)))) focusColor; + ::java::awt::Color * selectColor; + ::java::awt::Color * disabledTextColor; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_metal_MetalButtonUI__ |