Interface HasSizablePaints
- All Known Subinterfaces:
TButton,TComponent,TLabel
- All Known Implementing Classes:
TadukooButton,TadukooLabel
public interface HasSizablePaints
Interface to be used on Components for them to contain
SizablePaint versions of the foreground and
background colors, to be used instead of the simple colors.- Version:
- Alpha v.0.3
- Author:
- Logan Ferree (Tadukoo)
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetBackgroundPaint(SizablePaint backgroundPaint) Sets the backgroundSizablePaintfor this ComponentvoidsetForegroundPaint(SizablePaint foregroundPaint) Sets the foregroundSizablePaintfor this Component
-
Method Details
-
getForegroundPaint
SizablePaint getForegroundPaint()- Returns:
- The
SizablePaintto be used for the foreground of this Component
-
setForegroundPaint
Sets the foregroundSizablePaintfor this Component- Parameters:
foregroundPaint- TheSizablePaintto be used for the foreground of this Component
-
getBackgroundPaint
SizablePaint getBackgroundPaint()- Returns:
- The
SizablePaintto be used for the background of this Component
-
setBackgroundPaint
Sets the backgroundSizablePaintfor this Component- Parameters:
backgroundPaint- TheSizablePaintto be used for the background of this Component
-