Class ChevronsToggleRenderer
- java.lang.Object
-
- org.eclipse.nebula.widgets.pgroup.AbstractRenderer
-
- org.eclipse.nebula.widgets.pgroup.ChevronsToggleRenderer
-
public class ChevronsToggleRenderer extends AbstractRenderer
A dual chevron toggle strategy that shows two chevrons facing upwards when expanded (thus clueing the user to click the chevrons to collapse) and two chevrons facing downwards when collapsed. When hovered the chevrons are encircled by a rounded rectangle.
-
-
Constructor Summary
Constructors Constructor Description ChevronsToggleRenderer()
-
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
- See Also:
AbstractRenderer.paint(org.eclipse.swt.graphics.GC, java.lang.Object)
-
computeSize
public org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.graphics.GC gc, int wHint, int hHint, java.lang.Object value)
-
-