Package org.pentaho.di.job
Class JobPainter
- java.lang.Object
-
- org.pentaho.di.core.gui.BasePainter<JobHopMeta,JobEntryCopy>
-
- org.pentaho.di.job.JobPainter
-
public class JobPainter extends BasePainter<JobHopMeta,JobEntryCopy>
-
-
Field Summary
-
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 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, JobHopMeta jobHop, Object startObject, Object endObject)
void
drawJob()
protected void
drawJobEntryCopy(JobEntryCopy jobEntryCopy)
protected void
drawJobHop(JobHopMeta hop, boolean candidate)
protected void
drawLine(JobHopMeta jobHop, boolean is_candidate)
Calculates line coordinates from center to center.List<JobEntryCopy>
getActiveJobEntries()
JobEntryCopy
getEndHopEntry()
org.pentaho.di.core.gui.Point
getEndHopLocation()
Map<JobEntryCopy,String>
getEntryLogMap()
List<JobEntryResult>
getJobEntryResults()
JobMeta
getJobMeta()
List<JobEntryCopy>
getMouseOverEntries()
JobEntryCopy
getNoInputEntry()
JobEntryCopy
getStartHopEntry()
void
setActiveJobEntries(List<JobEntryCopy> activeJobEntries)
void
setEndHopEntry(JobEntryCopy endHopEntry)
void
setEndHopLocation(org.pentaho.di.core.gui.Point endHopLocation)
void
setEntryLogMap(Map<JobEntryCopy,String> entryLogMap)
void
setJobEntryResults(List<JobEntryResult> jobEntryResults)
void
setJobMeta(JobMeta jobMeta)
void
setMouseOverEntries(List<JobEntryCopy> mouseOverEntries)
void
setNoInputEntry(JobEntryCopy noInputEntry)
void
setStartHopEntry(JobEntryCopy startHopEntry)
-
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
-
-
-
-
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.
-
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, JobHopMeta jobHop, Object startObject, Object endObject)
- Specified by:
drawArrow
in classBasePainter<JobHopMeta,JobEntryCopy>
-
getMouseOverEntries
public List<JobEntryCopy> getMouseOverEntries()
- Returns:
- the mouseOverEntries
-
setMouseOverEntries
public void setMouseOverEntries(List<JobEntryCopy> mouseOverEntries)
- Parameters:
mouseOverEntries
- the mouseOverEntries to set
-
getEntryLogMap
public Map<JobEntryCopy,String> getEntryLogMap()
- Returns:
- the entryLogMap
-
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)
-
getStartHopEntry
public JobEntryCopy getStartHopEntry()
-
getEndHopLocation
public org.pentaho.di.core.gui.Point getEndHopLocation()
-
getEndHopEntry
public JobEntryCopy getEndHopEntry()
-
getNoInputEntry
public JobEntryCopy getNoInputEntry()
-
getActiveJobEntries
public List<JobEntryCopy> getActiveJobEntries()
-
-