Class CenterLayout

java.lang.Object
org.eclipse.draw2d.AbstractLayout
org.eclipse.nebula.widgets.timeline.layouts.CenterLayout
All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager

public class CenterLayout
extends org.eclipse.draw2d.AbstractLayout
implements org.eclipse.draw2d.LayoutManager
  • Field Summary

    Fields inherited from class org.eclipse.draw2d.AbstractLayout

    isObservingVisibility, preferredSize
  • Constructor Summary

    Constructors 
    Constructor Description
    CenterLayout()  
  • Method Summary

    Modifier and Type Method Description
    protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize​(org.eclipse.draw2d.IFigure container, int wHint, int hHint)  
    void layout​(org.eclipse.draw2d.IFigure container)  

    Methods inherited from class org.eclipse.draw2d.AbstractLayout

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.draw2d.LayoutManager

    getConstraint, getMinimumSize, getPreferredSize, invalidate, remove, setConstraint
  • Constructor Details

  • Method Details

    • layout

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

      protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize​(org.eclipse.draw2d.IFigure container, int wHint, int hHint)
      Specified by:
      calculatePreferredSize in class org.eclipse.draw2d.AbstractLayout