|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GanttEntryRenderer
This interface defines the method required by any object that would like to be a renderer for GanttEntry
in a GanttCart.
| Method Summary | |
|---|---|
Component |
getGanttEntryRendererComponent(GanttChart<?,?> chart,
GanttEntry<?> entry,
boolean isSelected,
boolean hasFocus,
int row,
Insets insets)
Deprecated. replaced by getGanttEntryRendererComponent(GanttChart, GanttEntry, boolean, boolean, int, int, java.awt.Insets) ) |
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. |
| Method Detail |
|---|
@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 nullentry - 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 nullentry - 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.
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||