public abstract class BasePainter<Hop extends BaseHopMeta<?>,Part extends BaseMeta> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.pentaho.di.core.gui.Point |
area |
protected List<AreaOwner> |
areaOwners |
protected Hop |
candidate |
static int |
CONTENT_MENU_INDENT |
static int |
CORNER_RADIUS_2 |
static int |
CORNER_RADIUS_3 |
static int |
CORNER_RADIUS_4 |
static int |
CORNER_RADIUS_5 |
protected org.pentaho.di.core.gui.Point |
drop_candidate |
static float |
FACTOR_1_TO_1 |
protected GCInterface |
gc |
protected int |
gridSize |
protected org.pentaho.di.core.gui.ScrollBarInterface |
hori |
protected int |
iconsize |
protected int |
linewidth |
protected float |
magnification |
static int |
MINI_ICON_DISTANCE |
static int |
MINI_ICON_MARGIN |
static int |
MINI_ICON_SIZE |
static int |
MINI_ICON_SKEW |
static int |
MINI_ICON_TRIANGLE_BASE |
protected org.pentaho.di.core.gui.Point |
offset |
protected org.pentaho.di.core.gui.Rectangle |
selrect |
protected boolean |
shadow |
protected int |
shadowSize |
protected Object |
subject |
double |
theta |
protected float |
translationX |
protected float |
translationY |
protected org.pentaho.di.core.gui.ScrollBarInterface |
vert |
| 构造器和说明 |
|---|
BasePainter(GCInterface gc,
Object subject,
org.pentaho.di.core.gui.Point area,
org.pentaho.di.core.gui.ScrollBarInterface hori,
org.pentaho.di.core.gui.ScrollBarInterface vert,
org.pentaho.di.core.gui.Point drop_candidate,
org.pentaho.di.core.gui.Rectangle selrect,
List<AreaOwner> areaOwners,
int iconsize,
int linewidth,
int gridsize,
int shadowSize,
boolean antiAliasing,
String noteFontName,
int noteFontHeight) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
calcArrowLength() |
protected void |
drawArrow(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage arrow,
int[] line,
Hop hop,
Object startObject,
Object endObject) |
protected abstract void |
drawArrow(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage arrow,
int x1,
int y1,
int x2,
int y2,
double theta,
int size,
double factor,
Hop jobHop,
Object startObject,
Object endObject) |
protected void |
drawGrid() |
protected void |
drawNote(NotePadMeta notePadMeta) |
protected void |
drawRect(org.pentaho.di.core.gui.Rectangle rect) |
org.pentaho.di.core.gui.Point |
getArea() |
List<AreaOwner> |
getAreaOwners() |
Hop |
getCandidate() |
org.pentaho.di.core.gui.Point |
getDrop_candidate() |
GCInterface |
getGc() |
int |
getGridSize() |
org.pentaho.di.core.gui.ScrollBarInterface |
getHori() |
int |
getIconsize() |
protected int[] |
getLine(Part fs,
Part ts) |
int |
getLinewidth() |
float |
getMagnification() |
int |
getNoteFontHeight() |
String |
getNoteFontName() |
org.pentaho.di.core.gui.Point |
getOffset() |
protected org.pentaho.di.core.gui.Point |
getOffset(org.pentaho.di.core.gui.Point thumb,
org.pentaho.di.core.gui.Point area) |
org.pentaho.di.core.gui.Rectangle |
getSelrect() |
int |
getShadowSize() |
static org.pentaho.di.core.gui.PrimitiveGCInterface.EImage |
getStreamIconImage(StreamIcon streamIcon) |
Object |
getSubject() |
double |
getTheta() |
protected org.pentaho.di.core.gui.Point |
getThumb(org.pentaho.di.core.gui.Point area,
org.pentaho.di.core.gui.Point transMax) |
float |
getTranslationX() |
float |
getTranslationY() |
org.pentaho.di.core.gui.ScrollBarInterface |
getVert() |
boolean |
isShadow() |
protected org.pentaho.di.core.gui.Point |
magnifyPoint(org.pentaho.di.core.gui.Point p) |
protected org.pentaho.di.core.gui.Point |
real2screen(int x,
int y) |
void |
setArea(org.pentaho.di.core.gui.Point area) |
void |
setAreaOwners(List<AreaOwner> areaOwners) |
void |
setCandidate(Hop candidate) |
void |
setDrop_candidate(org.pentaho.di.core.gui.Point drop_candidate) |
void |
setGc(GCInterface gc) |
void |
setGridSize(int gridSize) |
void |
setHori(org.pentaho.di.core.gui.ScrollBarInterface hori) |
void |
setIconsize(int iconsize) |
void |
setLinewidth(int linewidth) |
void |
setMagnification(float magnification) |
void |
setNoteFontHeight(int noteFontHeight) |
void |
setNoteFontName(String noteFontName) |
void |
setOffset(org.pentaho.di.core.gui.Point offset) |
void |
setSelrect(org.pentaho.di.core.gui.Rectangle selrect) |
void |
setShadow(boolean shadow) |
void |
setShadowSize(int shadowSize) |
void |
setSubject(Object subject) |
void |
setTranslationX(float translationX) |
void |
setTranslationY(float translationY) |
void |
setVert(org.pentaho.di.core.gui.ScrollBarInterface vert) |
protected int |
translateTo1To1(int value) |
protected int |
translateToCurrentScale(int value) |
public final double theta
public static final int MINI_ICON_SIZE
public static final int MINI_ICON_MARGIN
public static final int MINI_ICON_TRIANGLE_BASE
public static final int MINI_ICON_DISTANCE
public static final int MINI_ICON_SKEW
public static final int CONTENT_MENU_INDENT
public static final int CORNER_RADIUS_5
public static final int CORNER_RADIUS_4
public static final int CORNER_RADIUS_3
public static final int CORNER_RADIUS_2
public static final float FACTOR_1_TO_1
protected org.pentaho.di.core.gui.Point area
protected org.pentaho.di.core.gui.ScrollBarInterface hori
protected org.pentaho.di.core.gui.ScrollBarInterface vert
protected org.pentaho.di.core.gui.Point offset
protected org.pentaho.di.core.gui.Point drop_candidate
protected int iconsize
protected int gridSize
protected org.pentaho.di.core.gui.Rectangle selrect
protected int linewidth
protected float magnification
protected float translationX
protected float translationY
protected boolean shadow
protected Object subject
protected GCInterface gc
protected int shadowSize
protected Hop extends BaseHopMeta<?> candidate
public BasePainter(GCInterface gc, Object subject, org.pentaho.di.core.gui.Point area, org.pentaho.di.core.gui.ScrollBarInterface hori, org.pentaho.di.core.gui.ScrollBarInterface vert, org.pentaho.di.core.gui.Point drop_candidate, org.pentaho.di.core.gui.Rectangle selrect, List<AreaOwner> areaOwners, int iconsize, int linewidth, int gridsize, int shadowSize, boolean antiAliasing, String noteFontName, int noteFontHeight)
public static org.pentaho.di.core.gui.PrimitiveGCInterface.EImage getStreamIconImage(StreamIcon streamIcon)
protected void drawNote(NotePadMeta notePadMeta)
protected int translateTo1To1(int value)
protected int translateToCurrentScale(int value)
protected org.pentaho.di.core.gui.Point real2screen(int x,
int y)
protected org.pentaho.di.core.gui.Point getThumb(org.pentaho.di.core.gui.Point area,
org.pentaho.di.core.gui.Point transMax)
protected org.pentaho.di.core.gui.Point magnifyPoint(org.pentaho.di.core.gui.Point p)
protected org.pentaho.di.core.gui.Point getOffset(org.pentaho.di.core.gui.Point thumb,
org.pentaho.di.core.gui.Point area)
protected void drawRect(org.pentaho.di.core.gui.Rectangle rect)
protected void drawGrid()
protected int calcArrowLength()
public float getMagnification()
public void setMagnification(float magnification)
magnification - the magnification to setpublic org.pentaho.di.core.gui.Point getArea()
public void setArea(org.pentaho.di.core.gui.Point area)
public org.pentaho.di.core.gui.ScrollBarInterface getHori()
public void setHori(org.pentaho.di.core.gui.ScrollBarInterface hori)
public org.pentaho.di.core.gui.ScrollBarInterface getVert()
public void setVert(org.pentaho.di.core.gui.ScrollBarInterface vert)
public org.pentaho.di.core.gui.Point getOffset()
public void setOffset(org.pentaho.di.core.gui.Point offset)
public org.pentaho.di.core.gui.Point getDrop_candidate()
public void setDrop_candidate(org.pentaho.di.core.gui.Point drop_candidate)
public int getIconsize()
public void setIconsize(int iconsize)
public int getGridSize()
public void setGridSize(int gridSize)
public org.pentaho.di.core.gui.Rectangle getSelrect()
public void setSelrect(org.pentaho.di.core.gui.Rectangle selrect)
public int getLinewidth()
public void setLinewidth(int linewidth)
public float getTranslationX()
public void setTranslationX(float translationX)
public float getTranslationY()
public void setTranslationY(float translationY)
public boolean isShadow()
public void setShadow(boolean shadow)
public Object getSubject()
public void setSubject(Object subject)
public GCInterface getGc()
public void setGc(GCInterface gc)
public int getShadowSize()
public void setShadowSize(int shadowSize)
public String getNoteFontName()
public void setNoteFontName(String noteFontName)
public int getNoteFontHeight()
public void setNoteFontHeight(int noteFontHeight)
public double getTheta()
public Hop getCandidate()
public void setCandidate(Hop candidate)
protected void drawArrow(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage arrow,
int[] line,
Hop hop,
Object startObject,
Object endObject)
Copyright © 2024 Hitachi Vantara. All rights reserved.