Class GradientBackground

  • public class GradientBackground
    extends java.lang.Object
    Class used to set a gradient on a composite. CLabel gets the native implementation.
    Christopher Mindus
    • Constructor Summary

      Constructor Description
      GradientBackground​(org.eclipse.swt.widgets.Composite composite, top, 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,
        Constructor for the gradient.
        composite - The composite.
        top - The top color.
        bottom - The bottom color.