|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GanttLabelRenderer
This interface defines the method required by any object that would like to be a label renderer for
GanttEntry
in a GanttCart
.
Method Summary | |
---|---|
Component |
getGanttLabelRendererComponent(GanttChart<?,?> chart,
GanttEntry<?> entry,
boolean isSelected,
boolean hasFocus,
int row)
Deprecated. replaced by getGanttLabelRendererComponent(GanttChart, GanttEntry, boolean, boolean, int, int) |
Component |
getGanttLabelRendererComponent(GanttChart<?,?> chart,
GanttEntry<?> entry,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Creates the component used for painting the label for the gantt entry. |
Method Detail |
---|
@Deprecated Component getGanttLabelRendererComponent(GanttChart<?,?> chart, GanttEntry<?> entry, boolean isSelected, boolean hasFocus, int row)
getGanttLabelRendererComponent(GanttChart, GanttEntry, boolean, boolean, int, int)
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.
Component getGanttLabelRendererComponent(GanttChart<?,?> chart, GanttEntry<?> entry, boolean isSelected, boolean hasFocus, int row, int column)
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 column index of the sub entry. -1 if there is no sub entry
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |