public interface GanttEntryRenderer
GanttEntry
in a GanttCart
.Modifier and Type | Method and Description |
---|---|
Component |
getGanttEntryRendererComponent(GanttChart<?,?> chart,
GanttEntry<?> entry,
boolean isSelected,
boolean hasFocus,
int row,
Insets insets)
Deprecated.
|
Component |
getGanttEntryRendererComponent(GanttChart<?,?> chart,
GanttEntry<?> entry,
boolean isSelected,
boolean hasFocus,
int row,
int column,
Insets insets)
Creates the component used for painting the gantt entry.
|
@Deprecated Component getGanttEntryRendererComponent(GanttChart<?,?> chart, GanttEntry<?> entry, boolean isSelected, boolean hasFocus, int row, Insets insets)
getGanttEntryRendererComponent(GanttChart, GanttEntry, boolean, boolean, int, int, java.awt.Insets)
)chart
- the GanttChart
that is asking the renderer to draw; can be null
entry
- the GanttEntry of the cell to be rendered. It is up to the specific renderer to interpret and
draw the value.isSelected
- true if the gantt entry is to be rendered with the selection highlighted; otherwise falsehasFocus
- if true, render gantt entry appropriately. For example, put a special border on the cell, if
the cell can be edited, render in the color used to indicate editingrow
- the row index of the GanttEntry being drawn.insets
- the padding around the renderer component.Component getGanttEntryRendererComponent(GanttChart<?,?> chart, GanttEntry<?> entry, boolean isSelected, boolean hasFocus, int row, int column, Insets insets)
chart
- the GanttChart
that is asking the renderer to draw; can be null
entry
- the GanttEntry of the cell to be rendered. It is up to the specific renderer to interpret and
draw the value.isSelected
- true if the gantt entry is to be rendered with the selection highlighted; otherwise falsehasFocus
- if true, render gantt entry appropriately. For example, put a special border on the cell, if
the cell can be edited, render in the color used to indicate editingrow
- the row index of the GanttEntry being drawn.column
- the index of the sub entry being drawn. -1 if it is not an sub entry.insets
- the padding around the renderer component.