Package org.pentaho.di.trans
Class TransPainter
- java.lang.Object
-
- org.pentaho.di.core.gui.BasePainter<TransHopMeta,StepMeta>
-
- org.pentaho.di.trans.TransPainter
-
public class TransPainter extends BasePainter<TransHopMeta,StepMeta>
-
-
Field Summary
Fields Modifier and Type Field 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
-
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
Constructors Constructor Description 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)
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildTransformationImage()
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)
StreamInterface.StreamType
getCandidateHopType()
org.pentaho.di.core.gui.Point
getEndHopLocation()
StepMeta
getEndHopStep()
List<StepMeta>
getMouseOverSteps()
org.pentaho.di.core.gui.Point
getNamePosition(String string, org.pentaho.di.core.gui.Point screen, int iconsize)
StepMeta
getNoInputStep()
StepMeta
getShowTargetStreamsStep()
StepMeta
getStartHopStep()
Map<StepMeta,String>
getStepLogMap()
Trans
getTrans()
TransMeta
getTransMeta()
boolean
isSlowStepIndicatorEnabled()
boolean
isStartErrorHopStep()
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
setTrans(Trans trans)
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 Detail
-
STRING_PARTITIONING_CURRENT_STEP
public static final String STRING_PARTITIONING_CURRENT_STEP
- See Also:
- Constant Field Values
-
STRING_REMOTE_INPUT_STEPS
public static final String STRING_REMOTE_INPUT_STEPS
- See Also:
- Constant Field Values
-
STRING_REMOTE_OUTPUT_STEPS
public static final String STRING_REMOTE_OUTPUT_STEPS
- See Also:
- Constant Field Values
-
STRING_STEP_ERROR_LOG
public static final String STRING_STEP_ERROR_LOG
- See Also:
- Constant Field Values
-
STRING_HOP_TYPE_COPY
public static final String STRING_HOP_TYPE_COPY
- See Also:
- Constant Field Values
-
STRING_ROW_DISTRIBUTION
public static final String STRING_ROW_DISTRIBUTION
- See Also:
- Constant Field Values
-
magnificationDescriptions
public static final String[] magnificationDescriptions
-
-
Constructor Detail
-
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 Detail
-
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>
-
setStepLogMap
public void setStepLogMap(Map<StepMeta,String> stepLogMap)
- Parameters:
stepLogMap
- the stepLogMap to set
-
setStartHopStep
public void setStartHopStep(StepMeta startHopStep)
- Parameters:
startHopStep
- the startHopStep to set
-
setEndHopLocation
public void setEndHopLocation(org.pentaho.di.core.gui.Point endHopLocation)
- Parameters:
endHopLocation
- the endHopLocation to set
-
setNoInputStep
public void setNoInputStep(StepMeta noInputStep)
- Parameters:
noInputStep
- the noInputStep to set
-
setEndHopStep
public void setEndHopStep(StepMeta endHopStep)
- Parameters:
endHopStep
- the endHopStep to set
-
setCandidateHopType
public void setCandidateHopType(StreamInterface.StreamType candidateHopType)
-
setStartErrorHopStep
public void setStartErrorHopStep(boolean startErrorHopStep)
-
getShowTargetStreamsStep
public StepMeta getShowTargetStreamsStep()
- Returns:
- the showTargetStreamsStep
-
setShowTargetStreamsStep
public void setShowTargetStreamsStep(StepMeta showTargetStreamsStep)
- Parameters:
showTargetStreamsStep
- the showTargetStreamsStep to set
-
getTransMeta
public TransMeta getTransMeta()
-
setTransMeta
public void setTransMeta(TransMeta transMeta)
-
getTrans
public Trans getTrans()
-
setTrans
public void setTrans(Trans trans)
-
isSlowStepIndicatorEnabled
public boolean isSlowStepIndicatorEnabled()
-
setSlowStepIndicatorEnabled
public void setSlowStepIndicatorEnabled(boolean slowStepIndicatorEnabled)
-
getStartHopStep
public StepMeta getStartHopStep()
-
getEndHopLocation
public org.pentaho.di.core.gui.Point getEndHopLocation()
-
getEndHopStep
public StepMeta getEndHopStep()
-
getNoInputStep
public StepMeta getNoInputStep()
-
getCandidateHopType
public StreamInterface.StreamType getCandidateHopType()
-
isStartErrorHopStep
public boolean isStartErrorHopStep()
-
-