Class TransPainter


public class TransPainter extends BasePainter<TransHopMeta,StepMeta>
  • Field Details

  • 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 class BasePainter<TransHopMeta,StepMeta>
    • 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(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)
    • getMouseOverSteps

      public List<StepMeta> getMouseOverSteps()
    • setMouseOverSteps

      public void setMouseOverSteps(List<StepMeta> mouseOverSteps)
    • 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()