Class JobPainter

    • Constructor Detail

      • JobPainter

        public JobPainter​(GCInterface gc,
                          JobMeta jobMeta,
                          org.pentaho.di.core.gui.Point area,
                          org.pentaho.di.core.gui.ScrollBarInterface hori,
                          org.pentaho.di.core.gui.ScrollBarInterface vert,
                          JobHopMeta candidate,
                          org.pentaho.di.core.gui.Point drop_candidate,
                          org.pentaho.di.core.gui.Rectangle selrect,
                          List<AreaOwner> areaOwners,
                          List<JobEntryCopy> mouseOverEntries,
                          int iconsize,
                          int linewidth,
                          int gridsize,
                          int shadowSize,
                          boolean antiAliasing,
                          String noteFontName,
                          int noteFontHeight)
    • Method Detail

      • drawJob

        public void drawJob()
      • drawJobEntryCopy

        protected void drawJobEntryCopy​(JobEntryCopy jobEntryCopy)
      • drawJobHop

        protected void drawJobHop​(JobHopMeta hop,
                                  boolean candidate)
      • drawLine

        protected void drawLine​(JobHopMeta jobHop,
                                boolean is_candidate)
        Calculates line coordinates from center to center.
      • getMouseOverEntries

        public List<JobEntryCopy> getMouseOverEntries()
        Returns:
        the mouseOverEntries
      • setMouseOverEntries

        public void setMouseOverEntries​(List<JobEntryCopy> mouseOverEntries)
        Parameters:
        mouseOverEntries - the mouseOverEntries to set
      • setEntryLogMap

        public void setEntryLogMap​(Map<JobEntryCopy,​String> entryLogMap)
        Parameters:
        entryLogMap - the entryLogMap to set
      • setStartHopEntry

        public void setStartHopEntry​(JobEntryCopy startHopEntry)
      • setEndHopLocation

        public void setEndHopLocation​(org.pentaho.di.core.gui.Point endHopLocation)
      • setEndHopEntry

        public void setEndHopEntry​(JobEntryCopy endHopEntry)
      • setNoInputEntry

        public void setNoInputEntry​(JobEntryCopy noInputEntry)
      • setActiveJobEntries

        public void setActiveJobEntries​(List<JobEntryCopy> activeJobEntries)
      • getJobEntryResults

        public List<JobEntryResult> getJobEntryResults()
        Returns:
        the jobEntryResults
      • setJobEntryResults

        public void setJobEntryResults​(List<JobEntryResult> jobEntryResults)
        Parameters:
        jobEntryResults - Sets AND sorts the job entry results by name and number
      • getJobMeta

        public JobMeta getJobMeta()
      • setJobMeta

        public void setJobMeta​(JobMeta jobMeta)
      • getEndHopLocation

        public org.pentaho.di.core.gui.Point getEndHopLocation()