Package com.iizigo.swt
Class GradientBackground
- java.lang.Object
-
- com.iizigo.swt.GradientBackground
-
public class GradientBackground extends java.lang.Object
Class used to set a gradient on a composite. CLabel gets the native implementation.- Author:
- Christopher Mindus
-
-
Constructor Summary
Constructors Constructor Description GradientBackground(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.graphics.Color top, org.eclipse.swt.graphics.Color bottom)
Constructor for the gradient.
-
-
-
Constructor Detail
-
GradientBackground
public GradientBackground(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.graphics.Color top, org.eclipse.swt.graphics.Color bottom)
Constructor for the gradient.- Parameters:
composite
- The composite.top
- The top color.bottom
- The bottom color.
-
-