Class SingleSourceHelper2
- java.lang.Object
-
- org.eclipse.nebula.visualization.xygraph.util.SingleSourceHelper2
-
- Direct Known Subclasses:
SingleSourceHelperImpl
public abstract class SingleSourceHelper2 extends java.lang.Object
Replacement forSingleSourceHelper
-
-
Field Summary
Fields Modifier and Type Field Description private static SingleSourceHelper2
IMPL
-
Constructor Summary
Constructors Constructor Description SingleSourceHelper2()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static org.eclipse.swt.graphics.Cursor
createCursor(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.ImageData imageData, int width, int height, int backUpSWTCursorStyle)
protected abstract org.eclipse.swt.graphics.Cursor
createInternalCursor(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.ImageData imageData, int width, int height, int backUpSWTCursorStyle)
protected abstract org.eclipse.swt.graphics.Image
createInternalVerticalTextImage(java.lang.String text, org.eclipse.swt.graphics.Font font, org.eclipse.swt.graphics.RGB color, boolean upToDown)
static org.eclipse.swt.graphics.Image
createVerticalTextImage(java.lang.String text, org.eclipse.swt.graphics.Font font, org.eclipse.swt.graphics.RGB color, boolean upToDown)
static org.eclipse.swt.graphics.GC
getImageGC(org.eclipse.swt.graphics.Image image)
static java.lang.String
getImageSavePath()
protected abstract java.lang.String
getInternalImageSavePath()
protected abstract org.eclipse.swt.graphics.Image
getInternalXYGraphSnapShot(IXYGraph xyGraph)
static org.eclipse.swt.graphics.Image
getXYGraphSnapShot(IXYGraph xyGraph)
protected abstract org.eclipse.swt.graphics.GC
internalGetImageGC(org.eclipse.swt.graphics.Image image)
protected abstract void
internalSetLineStyle_LINE_SOLID(org.eclipse.draw2d.Graphics graphics)
static void
setLineStyle_LINE_SOLID(org.eclipse.draw2d.Graphics graphics)
-
-
-
Field Detail
-
IMPL
private static final SingleSourceHelper2 IMPL
-
-
Method Detail
-
createCursor
public static org.eclipse.swt.graphics.Cursor createCursor(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.ImageData imageData, int width, int height, int backUpSWTCursorStyle)
- Parameters:
display
-imageData
-width
-height
-backUpSWTCursorStyle
-- Returns:
- a cursor. The cursor will be automatically disposed when display disposed, so please don't dispose it externally.
-
createVerticalTextImage
public static org.eclipse.swt.graphics.Image createVerticalTextImage(java.lang.String text, org.eclipse.swt.graphics.Font font, org.eclipse.swt.graphics.RGB color, boolean upToDown)
-
getXYGraphSnapShot
public static org.eclipse.swt.graphics.Image getXYGraphSnapShot(IXYGraph xyGraph)
-
getImageSavePath
public static java.lang.String getImageSavePath()
-
getImageGC
public static org.eclipse.swt.graphics.GC getImageGC(org.eclipse.swt.graphics.Image image)
-
setLineStyle_LINE_SOLID
public static void setLineStyle_LINE_SOLID(org.eclipse.draw2d.Graphics graphics)
-
getInternalImageSavePath
protected abstract java.lang.String getInternalImageSavePath()
-
internalGetImageGC
protected abstract org.eclipse.swt.graphics.GC internalGetImageGC(org.eclipse.swt.graphics.Image image)
-
createInternalCursor
protected abstract org.eclipse.swt.graphics.Cursor createInternalCursor(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.ImageData imageData, int width, int height, int backUpSWTCursorStyle)
-
createInternalVerticalTextImage
protected abstract org.eclipse.swt.graphics.Image createInternalVerticalTextImage(java.lang.String text, org.eclipse.swt.graphics.Font font, org.eclipse.swt.graphics.RGB color, boolean upToDown)
-
getInternalXYGraphSnapShot
protected abstract org.eclipse.swt.graphics.Image getInternalXYGraphSnapShot(IXYGraph xyGraph)
-
internalSetLineStyle_LINE_SOLID
protected abstract void internalSetLineStyle_LINE_SOLID(org.eclipse.draw2d.Graphics graphics)
-
-