Class 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 
      ConstructorDescription
      GradientBackground​(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.graphics.Color top, org.eclipse.swt.graphics.Color bottom)
      Constructor for the gradient.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.