Package org.pentaho.di.trans
Class TransPainter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String[]
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.pentaho.di.core.gui.BasePainter
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 Summary
ConstructorDescriptionTransPainter
(GCInterface gc, TransMeta transMeta, org.pentaho.di.core.gui.Point area, org.pentaho.di.core.gui.ScrollBarInterface hori, org.pentaho.di.core.gui.ScrollBarInterface vert, TransHopMeta candidate, org.pentaho.di.core.gui.Point drop_candidate, org.pentaho.di.core.gui.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, org.pentaho.di.core.gui.Point area, org.pentaho.di.core.gui.ScrollBarInterface hori, org.pentaho.di.core.gui.ScrollBarInterface vert, TransHopMeta candidate, org.pentaho.di.core.gui.Point drop_candidate, org.pentaho.di.core.gui.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) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
drawArrow
(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage arrow, int x1, int y1, int x2, int y2, double theta, int size, double factor, TransHopMeta transHop, Object startObject, Object endObject) org.pentaho.di.core.gui.Point
org.pentaho.di.core.gui.Point
getNamePosition
(String string, org.pentaho.di.core.gui.Point screen, int iconsize) getTrans()
boolean
boolean
void
setCandidateHopType
(StreamInterface.StreamType candidateHopType) void
setEndHopLocation
(org.pentaho.di.core.gui.Point endHopLocation) void
setEndHopStep
(StepMeta endHopStep) void
setMouseOverSteps
(List<StepMeta> mouseOverSteps) void
setNoInputStep
(StepMeta noInputStep) void
setShowTargetStreamsStep
(StepMeta showTargetStreamsStep) void
setSlowStepIndicatorEnabled
(boolean slowStepIndicatorEnabled) void
setStartErrorHopStep
(boolean startErrorHopStep) void
setStartHopStep
(StepMeta startHopStep) void
setStepLogMap
(Map<StepMeta, String> stepLogMap) void
void
setTransMeta
(TransMeta transMeta) Methods inherited from class org.pentaho.di.core.gui.BasePainter
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
-
Field Details
-
STRING_PARTITIONING_CURRENT_STEP
- See Also:
-
STRING_REMOTE_INPUT_STEPS
- See Also:
-
STRING_REMOTE_OUTPUT_STEPS
- See Also:
-
STRING_STEP_ERROR_LOG
- See Also:
-
STRING_HOP_TYPE_COPY
- See Also:
-
STRING_ROW_DISTRIBUTION
- See Also:
-
magnificationDescriptions
-
-
Constructor Details
-
TransPainter
public TransPainter(GCInterface gc, TransMeta transMeta, org.pentaho.di.core.gui.Point area, org.pentaho.di.core.gui.ScrollBarInterface hori, org.pentaho.di.core.gui.ScrollBarInterface vert, TransHopMeta candidate, org.pentaho.di.core.gui.Point drop_candidate, org.pentaho.di.core.gui.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) -
TransPainter
public TransPainter(GCInterface gc, TransMeta transMeta, org.pentaho.di.core.gui.Point area, org.pentaho.di.core.gui.ScrollBarInterface hori, org.pentaho.di.core.gui.ScrollBarInterface vert, TransHopMeta candidate, org.pentaho.di.core.gui.Point drop_candidate, org.pentaho.di.core.gui.Rectangle selrect, List<AreaOwner> areaOwners, List<StepMeta> mouseOverSteps, int iconsize, int linewidth, int gridsize, int shadowSize, boolean antiAliasing, String noteFontName, int noteFontHeight)
-
-
Method Details
-
buildTransformationImage
public void buildTransformationImage() -
getNamePosition
public org.pentaho.di.core.gui.Point getNamePosition(String string, org.pentaho.di.core.gui.Point screen, int iconsize) -
drawArrow
protected void drawArrow(org.pentaho.di.core.gui.PrimitiveGCInterface.EImage arrow, int x1, int y1, int x2, int y2, double theta, int size, double factor, TransHopMeta transHop, Object startObject, Object endObject) - Specified by:
drawArrow
in classBasePainter<TransHopMeta,
StepMeta>
-
getStepLogMap
- Returns:
- the stepLogMap
-
setStepLogMap
- Parameters:
stepLogMap
- the stepLogMap to set
-
setStartHopStep
- Parameters:
startHopStep
- the startHopStep to set
-
setEndHopLocation
public void setEndHopLocation(org.pentaho.di.core.gui.Point endHopLocation) - Parameters:
endHopLocation
- the endHopLocation to set
-
setNoInputStep
- Parameters:
noInputStep
- the noInputStep to set
-
setEndHopStep
- Parameters:
endHopStep
- the endHopStep to set
-
setCandidateHopType
-
setStartErrorHopStep
public void setStartErrorHopStep(boolean startErrorHopStep) -
getShowTargetStreamsStep
- Returns:
- the showTargetStreamsStep
-
setShowTargetStreamsStep
- Parameters:
showTargetStreamsStep
- the showTargetStreamsStep to set
-
getTransMeta
-
setTransMeta
-
getMouseOverSteps
-
setMouseOverSteps
-
getTrans
-
setTrans
-
isSlowStepIndicatorEnabled
public boolean isSlowStepIndicatorEnabled() -
setSlowStepIndicatorEnabled
public void setSlowStepIndicatorEnabled(boolean slowStepIndicatorEnabled) -
getStartHopStep
-
getEndHopLocation
public org.pentaho.di.core.gui.Point getEndHopLocation() -
getEndHopStep
-
getNoInputStep
-
getCandidateHopType
-
isStartErrorHopStep
public boolean isStartErrorHopStep()
-