Class AbstractButtonPainter
java.lang.Object
org.eclipse.nebula.widgets.collapsiblebuttons.AbstractButtonPainter
- All Implemented Interfaces:
IButtonPainter
- Direct Known Subclasses:
DefaultButtonPainter
public class AbstractButtonPainter extends java.lang.Object implements IButtonPainter
-
Constructor Summary
Constructors Constructor Description AbstractButtonPainter()
-
Method Summary
Modifier and Type Method Description void
paintBackground(org.eclipse.swt.graphics.GC gc, IColorManager colorManager, ISettings settings, org.eclipse.swt.graphics.Rectangle bounds, boolean hover, boolean selected)
void
paintImage(org.eclipse.swt.graphics.GC gc, IColorManager colorManager, ISettings settings, org.eclipse.swt.graphics.Rectangle bounds, boolean hover, boolean selected, org.eclipse.swt.graphics.Image image)
void
paintText(org.eclipse.swt.graphics.GC gc, IColorManager colorManager, ISettings settings, org.eclipse.swt.graphics.Rectangle bounds, org.eclipse.swt.graphics.Rectangle imageBounds, boolean hover, boolean selected, java.lang.String text)
-
Constructor Details
-
AbstractButtonPainter
public AbstractButtonPainter()
-
-
Method Details
-
paintBackground
public void paintBackground(org.eclipse.swt.graphics.GC gc, IColorManager colorManager, ISettings settings, org.eclipse.swt.graphics.Rectangle bounds, boolean hover, boolean selected)- Specified by:
paintBackground
in interfaceIButtonPainter
-
paintImage
public void paintImage(org.eclipse.swt.graphics.GC gc, IColorManager colorManager, ISettings settings, org.eclipse.swt.graphics.Rectangle bounds, boolean hover, boolean selected, org.eclipse.swt.graphics.Image image)- Specified by:
paintImage
in interfaceIButtonPainter
-
paintText
public void paintText(org.eclipse.swt.graphics.GC gc, IColorManager colorManager, ISettings settings, org.eclipse.swt.graphics.Rectangle bounds, org.eclipse.swt.graphics.Rectangle imageBounds, boolean hover, boolean selected, java.lang.String text)- Specified by:
paintText
in interfaceIButtonPainter
-