Package org.pentaho.di.core.gui
Class SwingDirectGC
java.lang.Object
org.pentaho.di.core.gui.SwingDirectGC
- All Implemented Interfaces:
GCInterface,org.pentaho.di.core.gui.PrimitiveGCInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.pentaho.di.core.gui.PrimitiveGCInterface
org.pentaho.di.core.gui.PrimitiveGCInterface.EColor, org.pentaho.di.core.gui.PrimitiveGCInterface.EFont, org.pentaho.di.core.gui.PrimitiveGCInterface.EImage, org.pentaho.di.core.gui.PrimitiveGCInterface.ELineStyle -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSwingDirectGC(Graphics2D gc, Rectangle2D rect, int iconsize, int xOffset, int yOffset) SwingDirectGC(ImageObserver observer, org.pentaho.di.core.gui.Point area, int iconsize, int xOffset, int yOffset) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voiddrawImage(BufferedImage image, int x, int y) voiddrawImage(String location, ClassLoader classLoader, int x, int y) voiddrawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image, int x, int y) voiddrawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image, int locationX, int locationY, float magnification) voiddrawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image, int locationX, int locationY, float magnification, double angle) voiddrawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image, int x, int y, int width, int height, float magnification) voiddrawJobEntryIcon(int x, int y, JobEntryCopy jobEntryCopy) voiddrawJobEntryIcon(int x, int y, JobEntryCopy jobEntryCopy, float magnification) voiddrawLine(int x, int y, int x2, int y2) voiddrawPoint(int x, int y) voiddrawPolygon(int[] polygon) voiddrawPolyline(int[] polyline) voiddrawRectangle(int x, int y, int width, int height) voiddrawRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight) voiddrawStepIcon(int x, int y, StepMeta stepMeta) voiddrawStepIcon(int x, int y, StepMeta stepMeta, float magnification) voidvoidvoidfillGradientRectangle(int x, int y, int width, int height, boolean vertical) voidfillPolygon(int[] polygon) voidfillRectangle(int x, int y, int width, int height) voidfillRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight) intgetAlpha()org.pentaho.di.core.gui.PointgetArea()org.pentaho.di.core.gui.PointgetImage()org.pentaho.di.core.gui.PointgetImageBounds(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image) static final org.pentaho.di.core.SwingUniversalImagegetNativeImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image) booleanvoidsetAlpha(int alpha) voidsetAntialias(boolean antiAlias) voidsetBackground(int r, int g, int b) voidsetBackground(org.pentaho.di.core.gui.PrimitiveGCInterface.EColor color) voidsetDrawingPixelatedImages(boolean drawingPixelatedImages) voidvoidsetFont(org.pentaho.di.core.gui.PrimitiveGCInterface.EFont font) voidsetForeground(int r, int g, int b) voidsetForeground(org.pentaho.di.core.gui.PrimitiveGCInterface.EColor color) voidsetLineStyle(org.pentaho.di.core.gui.PrimitiveGCInterface.ELineStyle lineStyle) voidsetLineWidth(int width) voidsetTransform(float translationX, float translationY, int shadowsize, float magnification) voidorg.pentaho.di.core.gui.PointtextExtent(String text)
-
Field Details
-
background
-
black
-
red
-
yellow
-
orange
-
green
-
blue
-
magenta
-
gray
-
lightGray
-
darkGray
-
lightBlue
-
crystal
-
hopDefault
-
hopOK
-
-
Constructor Details
-
SwingDirectGC
public SwingDirectGC(ImageObserver observer, org.pentaho.di.core.gui.Point area, int iconsize, int xOffset, int yOffset) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
SwingDirectGC
public SwingDirectGC(Graphics2D gc, Rectangle2D rect, int iconsize, int xOffset, int yOffset) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawLine
public void drawLine(int x, int y, int x2, int y2) - Specified by:
drawLinein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawImage
- Specified by:
drawImagein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawImage
public void drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image, int x, int y) - Specified by:
drawImagein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawImage
public void drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image, int locationX, int locationY, float magnification) - Specified by:
drawImagein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawImage
public void drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image, int x, int y, int width, int height, float magnification) - Specified by:
drawImagein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawImage
public void drawImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image, int locationX, int locationY, float magnification, double angle) - Specified by:
drawImagein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
getImageBounds
public org.pentaho.di.core.gui.Point getImageBounds(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image) - Specified by:
getImageBoundsin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
getNativeImage
public static final org.pentaho.di.core.SwingUniversalImage getNativeImage(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage image) -
drawPoint
public void drawPoint(int x, int y) - Specified by:
drawPointin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawPolygon
public void drawPolygon(int[] polygon) - Specified by:
drawPolygonin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawPolyline
public void drawPolyline(int[] polyline) - Specified by:
drawPolylinein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawRectangle
public void drawRectangle(int x, int y, int width, int height) - Specified by:
drawRectanglein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawRoundRectangle
public void drawRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight) - Specified by:
drawRoundRectanglein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawText
- Specified by:
drawTextin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawText
- Specified by:
drawTextin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
fillPolygon
public void fillPolygon(int[] polygon) - Specified by:
fillPolygonin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
fillRectangle
public void fillRectangle(int x, int y, int width, int height) - Specified by:
fillRectanglein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
fillGradientRectangle
public void fillGradientRectangle(int x, int y, int width, int height, boolean vertical) - Specified by:
fillGradientRectanglein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
fillRoundRectangle
public void fillRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight) - Specified by:
fillRoundRectanglein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
getDeviceBounds
public org.pentaho.di.core.gui.Point getDeviceBounds()- Specified by:
getDeviceBoundsin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setAlpha
public void setAlpha(int alpha) - Specified by:
setAlphain interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
getAlpha
public int getAlpha()- Specified by:
getAlphain interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setBackground
public void setBackground(org.pentaho.di.core.gui.PrimitiveGCInterface.EColor color) - Specified by:
setBackgroundin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setFont
public void setFont(org.pentaho.di.core.gui.PrimitiveGCInterface.EFont font) - Specified by:
setFontin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setForeground
public void setForeground(org.pentaho.di.core.gui.PrimitiveGCInterface.EColor color) - Specified by:
setForegroundin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setLineStyle
public void setLineStyle(org.pentaho.di.core.gui.PrimitiveGCInterface.ELineStyle lineStyle) - Specified by:
setLineStylein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setLineWidth
public void setLineWidth(int width) - Specified by:
setLineWidthin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setTransform
public void setTransform(float translationX, float translationY, int shadowsize, float magnification) - Specified by:
setTransformin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
textExtent
- Specified by:
textExtentin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
drawStepIcon
- Specified by:
drawStepIconin interfaceGCInterface
-
drawJobEntryIcon
- Specified by:
drawJobEntryIconin interfaceGCInterface
-
drawJobEntryIcon
- Specified by:
drawJobEntryIconin interfaceGCInterface
-
drawStepIcon
- Specified by:
drawStepIconin interfaceGCInterface
-
setAntialias
public void setAntialias(boolean antiAlias) - Specified by:
setAntialiasin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setBackground
public void setBackground(int r, int g, int b) - Specified by:
setBackgroundin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setForeground
public void setForeground(int r, int g, int b) - Specified by:
setForegroundin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
setFont
- Specified by:
setFontin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
getImage
- Specified by:
getImagein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
switchForegroundBackgroundColors
public void switchForegroundBackgroundColors()- Specified by:
switchForegroundBackgroundColorsin interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
getArea
public org.pentaho.di.core.gui.Point getArea()- Specified by:
getAreain interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-
isDrawingPixelatedImages
public boolean isDrawingPixelatedImages()- Returns:
- the drawingPixelatedImages
-
setDrawingPixelatedImages
public void setDrawingPixelatedImages(boolean drawingPixelatedImages) - Parameters:
drawingPixelatedImages- the drawingPixelatedImages to set
-
drawImage
- Specified by:
drawImagein interfaceorg.pentaho.di.core.gui.PrimitiveGCInterface
-