org.pentaho.di.trans
Class TransPainter

java.lang.Object
  extended by org.pentaho.di.core.gui.BasePainter
      extended by org.pentaho.di.trans.TransPainter

public class TransPainter
extends BasePainter


Field Summary
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_STEP_ERROR_LOG
           
 
Fields inherited from class org.pentaho.di.core.gui.BasePainter
theta
 
Constructor Summary
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)
           
 
Method Summary
 void buildTransformationImage()
           
 Point getNamePosition(String string, Point screen, int iconsize)
           
 StepMeta getShowTargetStreamsStep()
           
 Map<StepMeta,String> getStepLogMap()
           
 float getTranslationX()
           
 float getTranslationY()
           
 void setCandidateHopType(StreamInterface.StreamType candidateHopType)
           
 void setEndHopLocation(Point endHopLocation)
           
 void setEndHopStep(StepMeta endHopStep)
           
 void setNoInputStep(StepMeta noInputStep)
           
 void setShowTargetStreamsStep(StepMeta showTargetStreamsStep)
           
 void setStartErrorHopStep(boolean startErrorHopStep)
           
 void setStartHopStep(StepMeta startHopStep)
           
 void setStepLogMap(Map<StepMeta,String> stepLogMap)
           
 void setTranslationX(float translationX)
           
 void setTranslationY(float translationY)
           
 
Methods inherited from class org.pentaho.di.core.gui.BasePainter
getMagnification, getStreamIconImage, setMagnification
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

magnificationDescriptions

public static final String[] magnificationDescriptions
Constructor Detail

TransPainter

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)

TransPainter

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)
Method Detail

buildTransformationImage

public void buildTransformationImage()

getNamePosition

public Point getNamePosition(String string,
                             Point screen,
                             int iconsize)

getTranslationX

public float getTranslationX()
Returns:
the translationX

setTranslationX

public void setTranslationX(float translationX)
Parameters:
translationX - the translationX to set

getTranslationY

public float getTranslationY()
Returns:
the translationY

setTranslationY

public void setTranslationY(float translationY)
Parameters:
translationY - the translationY to set

getStepLogMap

public Map<StepMeta,String> getStepLogMap()
Returns:
the stepLogMap

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(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