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 TypeMethodDescriptionvoid
setBackgroundPaint
(SizablePaint backgroundPaint) Sets the backgroundSizablePaint
for this Componentvoid
setForegroundPaint
(SizablePaint foregroundPaint) Sets the foregroundSizablePaint
for this Component
-
Method Details
-
getForegroundPaint
SizablePaint getForegroundPaint()- Returns:
- The
SizablePaint
to be used for the foreground of this Component
-
setForegroundPaint
Sets the foregroundSizablePaint
for this Component- Parameters:
foregroundPaint
- TheSizablePaint
to be used for the foreground of this Component
-
getBackgroundPaint
SizablePaint getBackgroundPaint()- Returns:
- The
SizablePaint
to be used for the background of this Component
-
setBackgroundPaint
Sets the backgroundSizablePaint
for this Component- Parameters:
backgroundPaint
- TheSizablePaint
to be used for the background of this Component
-