Package snap.view
Class ButtonPainter.Classic
java.lang.Object
snap.view.ButtonPainter
snap.view.ButtonPainter.Classic
- Enclosing class:
- ButtonPainter
A ButtonPainter subclass to paint classic buttons.
-
Nested Class Summary
Nested classes/interfaces inherited from class snap.view.ButtonPainter
ButtonPainter.Classic, ButtonPainter.Flat
-
Field Summary
Fields inherited from class snap.view.ButtonPainter
BUTTON_NORMAL, BUTTON_OVER, BUTTON_PRESSED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paintButtonInShape
(Painter aPntr, RectBase buttonRect, int aState, boolean isSelected) Draws a button for the given rect with an option for pressed.Methods inherited from class snap.view.ButtonPainter
getButtonRect, paintButton, paintButtonSelected, paintDefaultButton, paintDefaultButtonInShape
-
Field Details
-
INNER_RING_PAINT
-
OUTER_RING_PAINT
-
BOTTOM_HIGHLITE_PAINT
-
-
Constructor Details
-
Classic
public Classic()Constructor.
-
-
Method Details
-
paintButtonInShape
Draws a button for the given rect with an option for pressed.- Specified by:
paintButtonInShape
in classButtonPainter
-