Class GCFactory
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.util.GCFactory
-
public class GCFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description GCFactory(org.eclipse.swt.graphics.Drawable drawable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.graphics.GC
createGC()
Constructs a new instance of this class which has been configured to draw on the drawable configured in thisGCFactory
.
-
-
-
Method Detail
-
createGC
public org.eclipse.swt.graphics.GC createGC()
Constructs a new instance of this class which has been configured to draw on the drawable configured in thisGCFactory
. You must dispose the graphics context when it is no longer required.- Returns:
- A new
GC
instance ornull
if theDrawable
configured for thisGCFactory
is disposed.
-
-