Class 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​( gc, java.lang.Object value)
      Specified by:
      paint in class AbstractRenderer
    • computeSize

      public computeSize​( gc, int wHint, int hHint, java.lang.Object value)