Class MinMaxToggleRenderer

java.lang.Object
org.eclipse.nebula.widgets.pgroup.AbstractRenderer
org.eclipse.nebula.widgets.pgroup.MinMaxToggleRenderer

public class MinMaxToggleRenderer
extends AbstractRenderer
This toggle strategy mimics the buttons found in SWT's CTabFolder (i.e. the same buttons found in the Eclipse's views and editors) which in turn are mimicing the minimize/maximize buttons found on Shells. The expanded image is a minimize image. The collapsed image is a maximize image.
  • Constructor Details

  • Method Details

    • paint

      public void paint​(org.eclipse.swt.graphics.GC gc, java.lang.Object value)
      Specified by:
      paint in class AbstractRenderer
    • computeSize

      public org.eclipse.swt.graphics.Point computeSize​(org.eclipse.swt.graphics.GC gc, int wHint, int hHint, java.lang.Object value)