Package snap.view

Class ButtonPainter.Classic

java.lang.Object
snap.view.ButtonPainter
snap.view.ButtonPainter.Classic
Enclosing class:
ButtonPainter

public static class ButtonPainter.Classic extends ButtonPainter
A ButtonPainter subclass to paint classic buttons.
  • Field Details

    • INNER_RING_PAINT

      public static GradientPaint INNER_RING_PAINT
    • OUTER_RING_PAINT

      public static Color OUTER_RING_PAINT
    • BOTTOM_HIGHLITE_PAINT

      public static Color BOTTOM_HIGHLITE_PAINT
  • Constructor Details

    • Classic

      public Classic()
      Constructor.
  • Method Details

    • paintButtonInShape

      public void paintButtonInShape(Painter aPntr, RectBase buttonRect, int aState, boolean isSelected)
      Draws a button for the given rect with an option for pressed.
      Specified by:
      paintButtonInShape in class ButtonPainter