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 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Map<org.eclipse.draw2d.IFigure,ColumnsLayout.ColumnData>
     

    Fields inherited from class org.eclipse.draw2d.GridLayout

    constraints, horizontalSpacing, makeColumnsEqualWidth, marginHeight, marginWidth, numColumns, verticalSpacing

    Fields inherited from class org.eclipse.draw2d.AbstractLayout

    isObservingVisibility, preferredSize
  • Constructor Summary

    Constructors
    Constructor
    Description
    ColumnsLayout(org.eclipse.draw2d.IFigure rowsf, int numOfColumns)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.eclipse.draw2d.geometry.Dimension
    calculatePreferredSize(org.eclipse.draw2d.IFigure container, int wHint, int hHint)
     
    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.GridLayout

    getChildSize, getConstraint

    Methods inherited from class org.eclipse.draw2d.AbstractHintLayout

    calculateMinimumSize, getMinimumSize, getPreferredSize, invalidate, isSensitiveHorizontally, isSensitiveVertically

    Methods inherited from class org.eclipse.draw2d.AbstractLayout

    calculatePreferredSize, getBorderPreferredSize, getMinimumSize, getPreferredSize, invalidate, isObservingVisibility, remove, setObserveVisibility

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ColumnsLayout

      public ColumnsLayout(org.eclipse.draw2d.IFigure rowsf, int numOfColumns)
  • Method Details

    • layout

      public void layout(org.eclipse.draw2d.IFigure container)
      Specified by:
      layout in interface org.eclipse.draw2d.LayoutManager
      Overrides:
      layout in class org.eclipse.draw2d.GridLayout
    • calculatePreferredSize

      protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure container, int wHint, int hHint)
      Overrides:
      calculatePreferredSize in class org.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 interface org.eclipse.draw2d.LayoutManager
      Overrides:
      setConstraint in class org.eclipse.draw2d.GridLayout