T - the type of the dateline modelpublic interface IDatelineRenderer<T extends IDatelineModel> extends IRenderer
TreeTable, where different renderers can be used for different
cells, depending on the object type of the value in that cell.Dateline.setDatelineRenderer(Class, IDatelineRenderer),
IDatelineModel.getGrid(int, int, boolean)| Modifier and Type | Method and Description |
|---|---|
Component |
getDatelineRendererComponent(Dateline dateline,
T model,
ITimeSpan timeSpan,
boolean major,
boolean focus)
Returns the renderer component that will be used by the dateline to
render a time span that can be located on the major or the minor part of
the dateline.
|
Component getDatelineRendererComponent(Dateline dateline, T model, ITimeSpan timeSpan, boolean major, boolean focus)
dateline - the dateline componentmodel - the dateline model that returned / specified the given time
spantimeSpan - the time span to rendermajor - a flag that signals whether the time span is located on the
upper or the lower part of the datelinefocus - a flag indicating whether the time span has the focusCopyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.