public class JobPainter extends BasePainter<JobHopMeta,JobEntryCopy>
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 and Description |
---|
JobPainter(GCInterface gc,
JobMeta jobMeta,
Point area,
ScrollBarInterface hori,
ScrollBarInterface vert,
JobHopMeta candidate,
Point drop_candidate,
Rectangle selrect,
List<AreaOwner> areaOwners,
List<JobEntryCopy> mouseOverEntries,
int iconsize,
int linewidth,
int gridsize,
int shadowSize,
boolean antiAliasing,
String noteFontName,
int noteFontHeight) |
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
public JobPainter(GCInterface gc, JobMeta jobMeta, Point area, ScrollBarInterface hori, ScrollBarInterface vert, JobHopMeta candidate, Point drop_candidate, Rectangle selrect, List<AreaOwner> areaOwners, List<JobEntryCopy> mouseOverEntries, int iconsize, int linewidth, int gridsize, int shadowSize, boolean antiAliasing, String noteFontName, int noteFontHeight)
public void drawJob()
protected void drawJobEntryCopy(JobEntryCopy jobEntryCopy)
protected void drawJobHop(JobHopMeta hop, boolean candidate)
protected void drawLine(JobHopMeta jobHop, boolean is_candidate)
protected void drawArrow(PrimitiveGCInterface.EImage arrow, int x1, int y1, int x2, int y2, double theta, int size, double factor, JobHopMeta jobHop, Object startObject, Object endObject)
drawArrow
in class BasePainter<JobHopMeta,JobEntryCopy>
public List<JobEntryCopy> getMouseOverEntries()
public void setMouseOverEntries(List<JobEntryCopy> mouseOverEntries)
mouseOverEntries
- the mouseOverEntries to setpublic Map<JobEntryCopy,String> getEntryLogMap()
public void setEntryLogMap(Map<JobEntryCopy,String> entryLogMap)
entryLogMap
- the entryLogMap to setpublic void setStartHopEntry(JobEntryCopy startHopEntry)
public void setEndHopLocation(Point endHopLocation)
public void setEndHopEntry(JobEntryCopy endHopEntry)
public void setNoInputEntry(JobEntryCopy noInputEntry)
public void setActiveJobEntries(List<JobEntryCopy> activeJobEntries)
public List<JobEntryResult> getJobEntryResults()
public void setJobEntryResults(List<JobEntryResult> jobEntryResults)
jobEntryResults
- Sets AND sorts the job entry results by name and numberpublic JobMeta getJobMeta()
public void setJobMeta(JobMeta jobMeta)
public JobEntryCopy getStartHopEntry()
public Point getEndHopLocation()
public JobEntryCopy getEndHopEntry()
public JobEntryCopy getNoInputEntry()
public List<JobEntryCopy> getActiveJobEntries()
Copyright © 2018 Hitachi Vantara. All rights reserved.