Package org.eclipse.nebula.cwt.v
Class VControlPainter
- java.lang.Object
-
- org.eclipse.nebula.cwt.v.VControlPainter
-
- All Implemented Interfaces:
IControlPainter
- Direct Known Subclasses:
VButtonPainter,VLabelPainter
public class VControlPainter extends java.lang.Object implements IControlPainter
-
-
Constructor Summary
Constructors Constructor Description VControlPainter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()private static doublegetX(VControl control, double width)private static doublegetY(VControl control, double height)voidpaintBackground(VControl control, org.eclipse.swt.widgets.Event e)voidpaintBorders(VControl control, org.eclipse.swt.widgets.Event e)voidpaintContent(VControl control, org.eclipse.swt.widgets.Event e)private static voidpaintImage(VControl control, org.eclipse.swt.widgets.Event e)private static voidpaintImageAndText(VControl control, org.eclipse.swt.widgets.Event e)private static voidpaintOval(VControl control, org.eclipse.swt.widgets.Event e, int x, int y)private static voidpaintPoly(VControl control, org.eclipse.swt.widgets.Event e, int x, int y, int minX, int minY)private static voidpaintPolygon(VControl control, org.eclipse.swt.widgets.Event e)private static voidpaintPolygonAndText(VControl control, org.eclipse.swt.widgets.Event e)private static voidpaintText(VControl control, org.eclipse.swt.widgets.Event e)
-
-
-
Method Detail
-
getX
private static double getX(VControl control, double width)
-
getY
private static double getY(VControl control, double height)
-
paintImage
private static void paintImage(VControl control, org.eclipse.swt.widgets.Event e)
-
paintImageAndText
private static void paintImageAndText(VControl control, org.eclipse.swt.widgets.Event e)
-
paintOval
private static void paintOval(VControl control, org.eclipse.swt.widgets.Event e, int x, int y)
-
paintPoly
private static void paintPoly(VControl control, org.eclipse.swt.widgets.Event e, int x, int y, int minX, int minY)
-
paintPolygon
private static void paintPolygon(VControl control, org.eclipse.swt.widgets.Event e)
-
paintPolygonAndText
private static void paintPolygonAndText(VControl control, org.eclipse.swt.widgets.Event e)
-
paintText
private static void paintText(VControl control, org.eclipse.swt.widgets.Event e)
-
dispose
public void dispose()
- Specified by:
disposein interfaceIControlPainter
-
paintBackground
public void paintBackground(VControl control, org.eclipse.swt.widgets.Event e)
- Specified by:
paintBackgroundin interfaceIControlPainter
-
paintBorders
public void paintBorders(VControl control, org.eclipse.swt.widgets.Event e)
- Specified by:
paintBordersin interfaceIControlPainter
-
paintContent
public void paintContent(VControl control, org.eclipse.swt.widgets.Event e)
- Specified by:
paintContentin interfaceIControlPainter
-
-