public class SwingGC extends Object implements GCInterface
| 限定符和类型 | 字段和说明 |
|---|---|
protected Color |
background |
protected Color |
black |
protected Color |
blue |
protected Color |
crystal |
protected Color |
darkGray |
protected Color |
gray |
protected Color |
green |
protected Color |
hopDefault |
protected Color |
hopOK |
protected Color |
lightBlue |
protected Color |
lightGray |
protected Color |
magenta |
protected Color |
orange |
protected Color |
red |
protected Color |
yellow |
| 构造器和说明 |
|---|
SwingGC(Graphics2D gc,
Rectangle2D rect,
int iconsize,
int xOffset,
int yOffset) |
SwingGC(ImageObserver observer,
org.pentaho.di.core.gui.Point area,
int iconsize,
int xOffset,
int yOffset) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dispose() |
void |
drawImage(BufferedImage image,
int x,
int y) |
void |
drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image,
int x,
int y) |
void |
drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image,
int locationX,
int locationY,
float magnification) |
void |
drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image,
int x,
int y,
float magnification,
double angle) |
void |
drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image,
int x,
int y,
int width,
int height,
float magnification) |
void |
drawImage(String location,
ClassLoader classLoader,
int x,
int y) |
void |
drawJobEntryIcon(int x,
int y,
JobEntryCopy jobEntryCopy) |
void |
drawJobEntryIcon(int x,
int y,
JobEntryCopy jobEntryCopy,
float magnification) |
void |
drawLine(int x,
int y,
int x2,
int y2) |
void |
drawPoint(int x,
int y) |
void |
drawPolygon(int[] polygon) |
void |
drawPolyline(int[] polyline) |
void |
drawRectangle(int x,
int y,
int width,
int height) |
void |
drawRoundRectangle(int x,
int y,
int width,
int height,
int circleWidth,
int circleHeight) |
void |
drawStepIcon(int x,
int y,
StepMeta stepMeta) |
void |
drawStepIcon(int x,
int y,
StepMeta stepMeta,
float magnification) |
void |
drawText(String text,
int x,
int y) |
void |
drawText(String text,
int x,
int y,
boolean transparent) |
void |
fillGradientRectangle(int x,
int y,
int width,
int height,
boolean vertical) |
void |
fillPolygon(int[] polygon) |
void |
fillRectangle(int x,
int y,
int width,
int height) |
void |
fillRoundRectangle(int x,
int y,
int width,
int height,
int circleWidth,
int circleHeight) |
int |
getAlpha() |
org.pentaho.di.core.gui.Point |
getArea() |
org.pentaho.di.core.gui.Point |
getDeviceBounds() |
Object |
getImage() |
org.pentaho.di.core.gui.Point |
getImageBounds(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image) |
static org.pentaho.di.core.SwingUniversalImage |
getNativeImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image) |
AffineTransform |
getTransform() |
boolean |
isDrawingPixelatedImages() |
void |
setAlpha(int alpha) |
void |
setAntialias(boolean antiAlias) |
void |
setBackground(int r,
int g,
int b) |
void |
setBackground(org.pentaho.di.core.gui.PrimitiveGCInterface.EColor color) |
void |
setDrawingPixelatedImages(boolean drawingPixelatedImages) |
void |
setFont(org.pentaho.di.core.gui.PrimitiveGCInterface.EFont font) |
void |
setFont(String fontName,
int fontSize,
boolean fontBold,
boolean fontItalic) |
void |
setForeground(int r,
int g,
int b) |
void |
setForeground(org.pentaho.di.core.gui.PrimitiveGCInterface.EColor color) |
void |
setLineStyle(org.pentaho.di.core.gui.PrimitiveGCInterface.ELineStyle lineStyle) |
void |
setLineWidth(int width) |
void |
setTransform(float translationX,
float translationY,
int shadowsize,
float magnification) |
void |
switchForegroundBackgroundColors() |
org.pentaho.di.core.gui.Point |
textExtent(String text) |
protected Color background
protected Color black
protected Color red
protected Color yellow
protected Color orange
protected Color green
protected Color blue
protected Color magenta
protected Color gray
protected Color lightGray
protected Color darkGray
protected Color lightBlue
protected Color crystal
protected Color hopDefault
protected Color hopOK
public SwingGC(ImageObserver observer, org.pentaho.di.core.gui.Point area, int iconsize, int xOffset, int yOffset) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic SwingGC(Graphics2D gc, Rectangle2D rect, int iconsize, int xOffset, int yOffset) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void dispose()
dispose 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawLine(int x,
int y,
int x2,
int y2)
drawLine 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawImage(String location, ClassLoader classLoader, int x, int y)
drawImage 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image,
int x,
int y)
drawImage 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image,
int locationX,
int locationY,
float magnification)
drawImage 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image,
int x,
int y,
int width,
int height,
float magnification)
drawImage 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image,
int x,
int y,
float magnification,
double angle)
drawImage 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic org.pentaho.di.core.gui.Point getImageBounds(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image)
getImageBounds 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic static final org.pentaho.di.core.SwingUniversalImage getNativeImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image)
public void drawPoint(int x,
int y)
drawPoint 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawPolygon(int[] polygon)
drawPolygon 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawPolyline(int[] polyline)
drawPolyline 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawRectangle(int x,
int y,
int width,
int height)
drawRectangle 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawRoundRectangle(int x,
int y,
int width,
int height,
int circleWidth,
int circleHeight)
drawRoundRectangle 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawText(String text, int x, int y)
drawText 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawText(String text, int x, int y, boolean transparent)
drawText 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void fillPolygon(int[] polygon)
fillPolygon 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void fillRectangle(int x,
int y,
int width,
int height)
fillRectangle 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void fillGradientRectangle(int x,
int y,
int width,
int height,
boolean vertical)
fillGradientRectangle 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void fillRoundRectangle(int x,
int y,
int width,
int height,
int circleWidth,
int circleHeight)
fillRoundRectangle 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic org.pentaho.di.core.gui.Point getDeviceBounds()
getDeviceBounds 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setAlpha(int alpha)
setAlpha 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic int getAlpha()
getAlpha 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setBackground(org.pentaho.di.core.gui.PrimitiveGCInterface.EColor color)
setBackground 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setFont(org.pentaho.di.core.gui.PrimitiveGCInterface.EFont font)
setFont 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setForeground(org.pentaho.di.core.gui.PrimitiveGCInterface.EColor color)
setForeground 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setLineStyle(org.pentaho.di.core.gui.PrimitiveGCInterface.ELineStyle lineStyle)
setLineStyle 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setLineWidth(int width)
setLineWidth 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setTransform(float translationX,
float translationY,
int shadowsize,
float magnification)
setTransform 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic AffineTransform getTransform()
public org.pentaho.di.core.gui.Point textExtent(String text)
textExtent 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void drawStepIcon(int x,
int y,
StepMeta stepMeta,
float magnification)
drawStepIcon 在接口中 GCInterfacepublic void drawJobEntryIcon(int x,
int y,
JobEntryCopy jobEntryCopy,
float magnification)
drawJobEntryIcon 在接口中 GCInterfacepublic void drawJobEntryIcon(int x,
int y,
JobEntryCopy jobEntryCopy)
drawJobEntryIcon 在接口中 GCInterfacepublic void drawStepIcon(int x,
int y,
StepMeta stepMeta)
drawStepIcon 在接口中 GCInterfacepublic void setAntialias(boolean antiAlias)
setAntialias 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setBackground(int r,
int g,
int b)
setBackground 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setForeground(int r,
int g,
int b)
setForeground 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void setFont(String fontName, int fontSize, boolean fontBold, boolean fontItalic)
setFont 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic Object getImage()
getImage 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic void switchForegroundBackgroundColors()
switchForegroundBackgroundColors 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic org.pentaho.di.core.gui.Point getArea()
getArea 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfacepublic boolean isDrawingPixelatedImages()
public void setDrawingPixelatedImages(boolean drawingPixelatedImages)
drawingPixelatedImages - the drawingPixelatedImages to setpublic void drawImage(BufferedImage image, int x, int y)
drawImage 在接口中 org.pentaho.di.core.gui.PrimitiveGCInterfaceCopyright © 2024 Hitachi Vantara. All rights reserved.