Package snap.view

Class ButtonPainter.Flat

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

public static class ButtonPainter.Flat extends ButtonPainter
A ButtonPainter subclass to paint classic buttons.
  • Constructor Details

    • Flat

      public Flat(ViewTheme aTheme)
      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