org.pentaho.di.core.gui
Interface GCInterface

All Known Implementing Classes:
SwingGC, SWTGC

public interface GCInterface


Nested Class Summary
static class GCInterface.EColor
           
static class GCInterface.EFont
           
static class GCInterface.EImage
           
static class GCInterface.ELineStyle
           
 
Method Summary
 void dispose()
           
 void drawImage(GCInterface.EImage image, int x, int y)
           
 void drawJobEntryIcon(int x, int y, JobEntryCopy jobEntryCopy)
           
 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 drawText(String text, int x, int y)
           
 void drawText(String text, int x, int y, boolean transparent)
           
 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()
           
 Point getArea()
           
 Point getDeviceBounds()
           
 Object getImage()
           
 Point getImageBounds(GCInterface.EImage eImage)
           
 void setAlpha(int alpha)
           
 void setAntialias(boolean antiAlias)
           
 void setBackground(GCInterface.EColor color)
           
 void setBackground(int red, int green, int blue)
           
 void setFont(GCInterface.EFont font)
           
 void setFont(String fontName, int fontSize, boolean fontBold, boolean fontItalic)
           
 void setForeground(GCInterface.EColor color)
           
 void setForeground(int red, int green, int blue)
           
 void setLineStyle(GCInterface.ELineStyle lineStyle)
           
 void setLineWidth(int width)
           
 void setTransform(float translationX, float translationY, int shadowsize, float magnification)
           
 void switchForegroundBackgroundColors()
           
 Point textExtent(String text)
           
 

Method Detail

setLineWidth

void setLineWidth(int width)

setFont

void setFont(GCInterface.EFont font)

textExtent

Point textExtent(String text)

getDeviceBounds

Point getDeviceBounds()

setBackground

void setBackground(GCInterface.EColor color)

setForeground

void setForeground(GCInterface.EColor color)

setBackground

void setBackground(int red,
                   int green,
                   int blue)

setForeground

void setForeground(int red,
                   int green,
                   int blue)

fillRectangle

void fillRectangle(int x,
                   int y,
                   int width,
                   int height)

drawImage

void drawImage(GCInterface.EImage image,
               int x,
               int y)

drawLine

void drawLine(int x,
              int y,
              int x2,
              int y2)

setLineStyle

void setLineStyle(GCInterface.ELineStyle lineStyle)

drawRectangle

void drawRectangle(int x,
                   int y,
                   int width,
                   int height)

drawPoint

void drawPoint(int x,
               int y)

drawText

void drawText(String text,
              int x,
              int y)

drawText

void drawText(String text,
              int x,
              int y,
              boolean transparent)

fillRoundRectangle

void fillRoundRectangle(int x,
                        int y,
                        int width,
                        int height,
                        int circleWidth,
                        int circleHeight)

drawRoundRectangle

void drawRoundRectangle(int x,
                        int y,
                        int width,
                        int height,
                        int circleWidth,
                        int circleHeight)

fillPolygon

void fillPolygon(int[] polygon)

drawPolygon

void drawPolygon(int[] polygon)

drawPolyline

void drawPolyline(int[] polyline)

drawJobEntryIcon

void drawJobEntryIcon(int x,
                      int y,
                      JobEntryCopy jobEntryCopy)

drawStepIcon

void drawStepIcon(int x,
                  int y,
                  StepMeta stepMeta)

setAntialias

void setAntialias(boolean antiAlias)

setTransform

void setTransform(float translationX,
                  float translationY,
                  int shadowsize,
                  float magnification)

setAlpha

void setAlpha(int alpha)

dispose

void dispose()

getAlpha

int getAlpha()

setFont

void setFont(String fontName,
             int fontSize,
             boolean fontBold,
             boolean fontItalic)

getImage

Object getImage()

getImageBounds

Point getImageBounds(GCInterface.EImage eImage)

switchForegroundBackgroundColors

void switchForegroundBackgroundColors()

getArea

Point getArea()