
// 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__
