Class GanttHeaderSpacedLayout
- java.lang.Object
-
- org.eclipse.swt.widgets.Layout
-
- org.eclipse.nebula.widgets.ganttchart.GanttHeaderSpacedLayout
-
public class GanttHeaderSpacedLayout extends org.eclipse.swt.widgets.Layout
-
-
Field Summary
Fields Modifier and Type Field Description private boolean_calculatedprivate GanttChart_ganttChartprivate int_ganttHeaderSizeprivate int_maxXprivate int_maxY
-
Constructor Summary
Constructors Constructor Description GanttHeaderSpacedLayout()GanttHeaderSpacedLayout(GanttChart chart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.graphics.PointcomputeSize(org.eclipse.swt.widgets.Composite composite, int hint, int hint2, boolean flushCache)protected voidlayout(org.eclipse.swt.widgets.Composite composite, boolean flushCache)private voidrecalculate(org.eclipse.swt.widgets.Composite composite)voidsetGanttChart(GanttChart chart)
-
-
-
Field Detail
-
_ganttHeaderSize
private int _ganttHeaderSize
-
_calculated
private boolean _calculated
-
_ganttChart
private GanttChart _ganttChart
-
_maxY
private int _maxY
-
_maxX
private int _maxX
-
-
Constructor Detail
-
GanttHeaderSpacedLayout
public GanttHeaderSpacedLayout()
-
GanttHeaderSpacedLayout
public GanttHeaderSpacedLayout(GanttChart chart)
-
-
Method Detail
-
setGanttChart
public void setGanttChart(GanttChart chart)
-
recalculate
private void recalculate(org.eclipse.swt.widgets.Composite composite)
-
computeSize
protected org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite, int hint, int hint2, boolean flushCache)- Specified by:
computeSizein classorg.eclipse.swt.widgets.Layout
-
layout
protected void layout(org.eclipse.swt.widgets.Composite composite, boolean flushCache)- Specified by:
layoutin classorg.eclipse.swt.widgets.Layout
-
-