public interface IlvMilestoneCalendarRenderer
IlvMilestoneCalendarRenderer
defines the graphic presentation of a
milestone symbol within one of the calendar views.Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics g,
IlvActivity milestone,
boolean isSelected,
Rectangle rect,
Color background,
ComponentOrientation orientation)
This method is called by an
IlvMonthPanel to render a milestone
within the month grid. |
String |
getToolTipText(IlvActivity milestone,
IlvGanttModel model,
Calendar calendar,
MouseEvent event)
This method is called by an
IlvMonthPanel to return tooltip text for
a displayed milestone. |
void draw(Graphics g, IlvActivity milestone, boolean isSelected, Rectangle rect, Color background, ComponentOrientation orientation)
IlvMonthPanel
to render a milestone
within the month grid.g
- The graphics context in which to paint.milestone
- The milestone to be rendered.isSelected
- Indicates whether the milestone is selected.rect
- The bounding box of the milestone.background
- The background color of the milestone. If null
, the
milestone should render itself non-opaquely.orientation
- The component orientation of the month panel that is asking
the milestone to be rendered.String getToolTipText(IlvActivity milestone, IlvGanttModel model, Calendar calendar, MouseEvent event)
IlvMonthPanel
to return tooltip text for
a displayed milestone. This method can return null
to disable the
tooltip for the milestone.milestone
- The milestone.model
- The data model that contains the milestone.calendar
- The date that corresponds to the mouse position.event
- The mouse event that caused the ToolTipManager
to
show the tooltip.null
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.