Package org.eclipse.nebula.cwt.v
Class VButtonPainter
- java.lang.Object
-
- org.eclipse.nebula.cwt.v.VControlPainter
-
- org.eclipse.nebula.cwt.v.VButtonPainter
-
- All Implemented Interfaces:
IControlPainter
public class VButtonPainter extends VControlPainter
Class to paint a button.
-
-
Constructor Summary
Constructors Constructor Description VButtonPainter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
doPaintBackground(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle bounds, int state)
void
paintBackground(VControl control, org.eclipse.swt.widgets.Event e)
-
Methods inherited from class org.eclipse.nebula.cwt.v.VControlPainter
dispose, paintBorders, paintContent
-
-
-
-
Field Detail
-
button
private VButton button
-
-
Method Detail
-
paintBackground
public void paintBackground(VControl control, org.eclipse.swt.widgets.Event e)
- Specified by:
paintBackground
in interfaceIControlPainter
- Overrides:
paintBackground
in classVControlPainter
-
doPaintBackground
private void doPaintBackground(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle bounds, int state)
- Parameters:
gc
-bounds
-state
-
-
-