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 void
dispose()
private static double
getX(VControl control, double width)
private static double
getY(VControl control, double height)
void
paintBackground(VControl control, org.eclipse.swt.widgets.Event e)
void
paintBorders(VControl control, org.eclipse.swt.widgets.Event e)
void
paintContent(VControl control, org.eclipse.swt.widgets.Event e)
private static void
paintImage(VControl control, org.eclipse.swt.widgets.Event e)
private static void
paintImageAndText(VControl control, org.eclipse.swt.widgets.Event e)
private static void
paintOval(VControl control, org.eclipse.swt.widgets.Event e, int x, int y)
private static void
paintPoly(VControl control, org.eclipse.swt.widgets.Event e, int x, int y, int minX, int minY)
private static void
paintPolygon(VControl control, org.eclipse.swt.widgets.Event e)
private static void
paintPolygonAndText(VControl control, org.eclipse.swt.widgets.Event e)
private static void
paintText(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:
dispose
in interfaceIControlPainter
-
paintBackground
public void paintBackground(VControl control, org.eclipse.swt.widgets.Event e)
- Specified by:
paintBackground
in interfaceIControlPainter
-
paintBorders
public void paintBorders(VControl control, org.eclipse.swt.widgets.Event e)
- Specified by:
paintBorders
in interfaceIControlPainter
-
paintContent
public void paintContent(VControl control, org.eclipse.swt.widgets.Event e)
- Specified by:
paintContent
in interfaceIControlPainter
-
-