Package org.pentaho.di.job
Class JobPainter
-
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
ConstructorsConstructorDescriptionJobPainter
(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
Modifier and TypeMethodDescriptionprotected 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.org.pentaho.di.core.gui.Point
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 Details
-
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 Details
-
drawJob
public void drawJob() -
drawJobEntryCopy
-
drawJobHop
-
drawLine
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
- Returns:
- the mouseOverEntries
-
setMouseOverEntries
- Parameters:
mouseOverEntries
- the mouseOverEntries to set
-
getEntryLogMap
- Returns:
- the entryLogMap
-
setEntryLogMap
- Parameters:
entryLogMap
- the entryLogMap to set
-
setStartHopEntry
-
setEndHopLocation
public void setEndHopLocation(org.pentaho.di.core.gui.Point endHopLocation) -
setEndHopEntry
-
setNoInputEntry
-
setActiveJobEntries
-
getJobEntryResults
- Returns:
- the jobEntryResults
-
setJobEntryResults
- Parameters:
jobEntryResults
- Sets AND sorts the job entry results by name and number
-
getJobMeta
-
setJobMeta
-
getStartHopEntry
-
getEndHopLocation
public org.pentaho.di.core.gui.Point getEndHopLocation() -
getEndHopEntry
-
getNoInputEntry
-
getActiveJobEntries
-