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 Summary
Constructors Constructor Description MinMaxToggleRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.graphics.Point
computeSize(org.eclipse.swt.graphics.GC gc, int wHint, int hHint, java.lang.Object value)
void
paint(org.eclipse.swt.graphics.GC gc, java.lang.Object value)
-
Methods inherited from class org.eclipse.nebula.widgets.pgroup.AbstractRenderer
getBounds, getSize, isExpanded, isFocus, isHover, isMouseDown, isSelected, setBounds, setBounds, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSize
-
-
-
-
Method Detail
-
paint
public void paint(org.eclipse.swt.graphics.GC gc, java.lang.Object value)
- Specified by:
paint
in classAbstractRenderer
-
computeSize
public org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.graphics.GC gc, int wHint, int hHint, java.lang.Object value)
-
-