public class TransPainter extends BasePainter<TransHopMeta,StepMeta>
Modifier and Type | Field and Description |
---|---|
static String[] |
magnificationDescriptions |
static String |
STRING_HOP_TYPE_COPY |
static String |
STRING_PARTITIONING_CURRENT_STEP |
static String |
STRING_REMOTE_INPUT_STEPS |
static String |
STRING_REMOTE_OUTPUT_STEPS |
static String |
STRING_ROW_DISTRIBUTION |
static String |
STRING_STEP_ERROR_LOG |
area, areaOwners, candidate, CONTENT_MENU_INDENT, CORNER_RADIUS_2, CORNER_RADIUS_3, CORNER_RADIUS_4, CORNER_RADIUS_5, drop_candidate, FACTOR_1_TO_1, gc, gridSize, hori, iconsize, linewidth, magnification, MINI_ICON_DISTANCE, MINI_ICON_MARGIN, MINI_ICON_SIZE, MINI_ICON_SKEW, MINI_ICON_TRIANGLE_BASE, offset, selrect, shadow, shadowSize, subject, theta, translationX, translationY, vert
Constructor and Description |
---|
TransPainter(GCInterface gc,
TransMeta transMeta,
Point area,
ScrollBarInterface hori,
ScrollBarInterface vert,
TransHopMeta candidate,
Point drop_candidate,
Rectangle selrect,
List<AreaOwner> areaOwners,
List<StepMeta> mouseOverSteps,
int iconsize,
int linewidth,
int gridsize,
int shadowSize,
boolean antiAliasing,
String noteFontName,
int noteFontHeight) |
TransPainter(GCInterface gc,
TransMeta transMeta,
Point area,
ScrollBarInterface hori,
ScrollBarInterface vert,
TransHopMeta candidate,
Point drop_candidate,
Rectangle selrect,
List<AreaOwner> areaOwners,
List<StepMeta> mouseOverSteps,
int iconsize,
int linewidth,
int gridsize,
int shadowSize,
boolean antiAliasing,
String noteFontName,
int noteFontHeight,
Trans trans,
boolean slowStepIndicatorEnabled) |
calcArrowLength, drawArrow, drawGrid, drawNote, drawRect, getArea, getAreaOwners, getCandidate, getDrop_candidate, getGc, getGridSize, getHori, getIconsize, getLine, getLinewidth, getMagnification, getNoteFontHeight, getNoteFontName, getOffset, getOffset, getSelrect, getShadowSize, getStreamIconImage, getSubject, getTheta, getThumb, getTranslationX, getTranslationY, getVert, isShadow, magnifyPoint, real2screen, setArea, setAreaOwners, setCandidate, setDrop_candidate, setGc, setGridSize, setHori, setIconsize, setLinewidth, setMagnification, setNoteFontHeight, setNoteFontName, setOffset, setSelrect, setShadow, setShadowSize, setSubject, setTranslationX, setTranslationY, setVert, translateTo1To1, translateToCurrentScale
public static final String STRING_PARTITIONING_CURRENT_STEP
public static final String STRING_REMOTE_INPUT_STEPS
public static final String STRING_REMOTE_OUTPUT_STEPS
public static final String STRING_STEP_ERROR_LOG
public static final String STRING_HOP_TYPE_COPY
public static final String STRING_ROW_DISTRIBUTION
public static final String[] magnificationDescriptions
public TransPainter(GCInterface gc, TransMeta transMeta, Point area, ScrollBarInterface hori, ScrollBarInterface vert, TransHopMeta candidate, Point drop_candidate, Rectangle selrect, List<AreaOwner> areaOwners, List<StepMeta> mouseOverSteps, int iconsize, int linewidth, int gridsize, int shadowSize, boolean antiAliasing, String noteFontName, int noteFontHeight, Trans trans, boolean slowStepIndicatorEnabled)
public TransPainter(GCInterface gc, TransMeta transMeta, Point area, ScrollBarInterface hori, ScrollBarInterface vert, TransHopMeta candidate, Point drop_candidate, Rectangle selrect, List<AreaOwner> areaOwners, List<StepMeta> mouseOverSteps, int iconsize, int linewidth, int gridsize, int shadowSize, boolean antiAliasing, String noteFontName, int noteFontHeight)
public void buildTransformationImage()
protected void drawArrow(PrimitiveGCInterface.EImage arrow, int x1, int y1, int x2, int y2, double theta, int size, double factor, TransHopMeta transHop, Object startObject, Object endObject)
drawArrow
in class BasePainter<TransHopMeta,StepMeta>
public void setStepLogMap(Map<StepMeta,String> stepLogMap)
stepLogMap
- the stepLogMap to setpublic void setStartHopStep(StepMeta startHopStep)
startHopStep
- the startHopStep to setpublic void setEndHopLocation(Point endHopLocation)
endHopLocation
- the endHopLocation to setpublic void setNoInputStep(StepMeta noInputStep)
noInputStep
- the noInputStep to setpublic void setEndHopStep(StepMeta endHopStep)
endHopStep
- the endHopStep to setpublic void setCandidateHopType(StreamInterface.StreamType candidateHopType)
public void setStartErrorHopStep(boolean startErrorHopStep)
public StepMeta getShowTargetStreamsStep()
public void setShowTargetStreamsStep(StepMeta showTargetStreamsStep)
showTargetStreamsStep
- the showTargetStreamsStep to setpublic TransMeta getTransMeta()
public void setTransMeta(TransMeta transMeta)
public Trans getTrans()
public void setTrans(Trans trans)
public boolean isSlowStepIndicatorEnabled()
public void setSlowStepIndicatorEnabled(boolean slowStepIndicatorEnabled)
public StepMeta getStartHopStep()
public Point getEndHopLocation()
public StepMeta getEndHopStep()
public StepMeta getNoInputStep()
public StreamInterface.StreamType getCandidateHopType()
public boolean isStartErrorHopStep()
Copyright © 2018 Hitachi Vantara. All rights reserved.