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
_calculated
private GanttChart
_ganttChart
private int
_ganttHeaderSize
private int
_maxX
private 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.Point
computeSize(org.eclipse.swt.widgets.Composite composite, int hint, int hint2, boolean flushCache)
protected void
layout(org.eclipse.swt.widgets.Composite composite, boolean flushCache)
private void
recalculate(org.eclipse.swt.widgets.Composite composite)
void
setGanttChart(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:
computeSize
in classorg.eclipse.swt.widgets.Layout
-
layout
protected void layout(org.eclipse.swt.widgets.Composite composite, boolean flushCache)
- Specified by:
layout
in classorg.eclipse.swt.widgets.Layout
-
-