public class CustomActivityAMCrewSegmentRenderer
extends ilog.views.gantt.graphic.renderer.IlvBasicActivityBar
Constructor and Description |
---|
CustomActivityAMCrewSegmentRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics dst,
ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.IlvTransformer t)
Overridden.
|
java.lang.String |
getLabel()
Returns label
|
int |
getSequenceNum()
Returns sequence number
|
java.lang.String |
getToolTipText(ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.IlvPoint p,
ilog.views.IlvTransformer t)
Custom tooltip implementation for the activity graphic
|
boolean |
isAssigned()
Returns true if this segment is assigned to labor
|
boolean |
isFirstSegment()
Returns true of this renderer is for the first segment.
|
void |
setAssigned(boolean bool)
Sets this segment assigned
|
void |
setFirstSegment(boolean isFirstSegment)
Sets if this renderer is for the first segment.
|
void |
setSequenceNum(int sequenceNum)
Sets sequence number
|
getBackground, getFont, getForeground, getStyle, getThickness, isAntialiasing, setAntialiasing, setFont, setGraphic, setLabel, setStyle, setThickness
contains, createSelection, getBaseTextDirection, getBottomMargin, getBounds, getDefinitionRect, getEndTime, getEndTimeProperty, getGraphic, getPopupMenu, getPopupMenuName, getStartTime, getStartTimeProperty, getToolTipText, getTopMargin, getVisibilityProperty, isPropertyEditable, isRedrawNeeded, isRedrawNeeded, isRelayoutNeeded, makeSelection, setBackground, setBaseTextDirection, setBottomMargin, setEndTimeProperty, setForeground, setPopupMenu, setPopupMenuName, setStartTimeProperty, setToolTipText, setTopMargin, setVisibilityProperty
public boolean isAssigned()
public void setAssigned(boolean bool)
bool
- public void draw(java.awt.Graphics dst, ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.IlvTransformer t)
draw
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
draw
in class ilog.views.gantt.graphic.renderer.IlvActivityGraphicRenderer
public int getSequenceNum()
public void setSequenceNum(int sequenceNum)
public boolean isFirstSegment()
public void setFirstSegment(boolean isFirstSegment)
public java.lang.String getToolTipText(ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.IlvPoint p, ilog.views.IlvTransformer t)
getToolTipText
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
getToolTipText
in class ilog.views.gantt.graphic.renderer.IlvActivityGraphicRenderer
public java.lang.String getLabel()
getLabel
in class ilog.views.gantt.graphic.renderer.IlvBasicActivityBar