Class ColumnsLayout
- java.lang.Object
-
- org.eclipse.draw2d.AbstractLayout
-
- org.eclipse.draw2d.AbstractHintLayout
-
- org.eclipse.draw2d.GridLayout
-
- com._1c.g5.v8.dt.common.gef.layout.ColumnsLayout
-
- All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager
public class ColumnsLayout extends org.eclipse.draw2d.GridLayout
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ColumnsLayout.ColumnData
-
Field Summary
Fields Modifier and Type Field Description protected Map<org.eclipse.draw2d.IFigure,ColumnsLayout.ColumnData>
layoutConstraints
-
Constructor Summary
Constructors Constructor Description ColumnsLayout(org.eclipse.draw2d.IFigure rowsf, int numOfColumns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.draw2d.geometry.Dimension
calculatePreferredSize(org.eclipse.draw2d.IFigure container, int wHint, int hHint)
ColumnsLayout.ColumnData
getColumnConstraint(org.eclipse.draw2d.IFigure child)
void
layout(org.eclipse.draw2d.IFigure container)
void
setConstraint(org.eclipse.draw2d.IFigure figure, Object newConstraint)
-
Methods inherited from class org.eclipse.draw2d.AbstractHintLayout
calculateMinimumSize, getMinimumSize, getPreferredSize, invalidate, isSensitiveHorizontally, isSensitiveVertically
-
-
-
-
Field Detail
-
layoutConstraints
protected Map<org.eclipse.draw2d.IFigure,ColumnsLayout.ColumnData> layoutConstraints
-
-
Method Detail
-
layout
public void layout(org.eclipse.draw2d.IFigure container)
- Specified by:
layout
in interfaceorg.eclipse.draw2d.LayoutManager
- Overrides:
layout
in classorg.eclipse.draw2d.GridLayout
-
calculatePreferredSize
protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure container, int wHint, int hHint)
- Overrides:
calculatePreferredSize
in classorg.eclipse.draw2d.GridLayout
-
getColumnConstraint
public ColumnsLayout.ColumnData getColumnConstraint(org.eclipse.draw2d.IFigure child)
-
setConstraint
public void setConstraint(org.eclipse.draw2d.IFigure figure, Object newConstraint)
- Specified by:
setConstraint
in interfaceorg.eclipse.draw2d.LayoutManager
- Overrides:
setConstraint
in classorg.eclipse.draw2d.GridLayout
-
-