Class DefaultGalleryItemRenderer

java.lang.Object
org.eclipse.nebula.widgets.gallery.AbstractGalleryItemRenderer
org.eclipse.nebula.widgets.gallery.DefaultGalleryItemRenderer

public class DefaultGalleryItemRenderer
extends AbstractGalleryItemRenderer

Default item renderer used by the Gallery widget. Supports single line text, image, drop shadows and decorators.

Decorator images can be set with Widget.setData(String, Object) by using the following keys :

  • org.eclipse.nebula.widget.gallery.bottomLeftOverlay
  • org.eclipse.nebula.widget.gallery.bottomRightOverlay
  • org.eclipse.nebula.widget.gallery.topLeftOverlay
  • org.eclipse.nebula.widget.gallery.topRightOverlay

Supported types are org.eclipse.swt.Image for one single decorator and org.eclipse.swt.Image[] for multiple decorators.

NOTE: THIS WIDGET AND ITS API ARE STILL UNDER DEVELOPMENT.