com.ibm.commons.swt.layouts
Class ResizingStackLayout

java.lang.Object
  extended by org.eclipse.swt.widgets.Layout
      extended by org.eclipse.swt.custom.StackLayout
          extended by com.ibm.commons.swt.layouts.ResizingStackLayout

public class ResizingStackLayout
extends org.eclipse.swt.custom.StackLayout

A stack layout which does not care about the size of it's hidden children. Very useful in complex UIs where controls need to be hidden. An extension of org.eclipse.swt.custom.StackLayout


Field Summary
 
Fields inherited from class org.eclipse.swt.custom.StackLayout
marginHeight, marginWidth, topControl
 
Constructor Summary
ResizingStackLayout()
           
 
Method Summary
protected  org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite, int wHint, int hHint, boolean flushCache)
           
 
Methods inherited from class org.eclipse.swt.custom.StackLayout
flushCache, layout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResizingStackLayout

public ResizingStackLayout()
Method Detail

computeSize

protected org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite,
                                                     int wHint,
                                                     int hHint,
                                                     boolean flushCache)
Overrides:
computeSize in class org.eclipse.swt.custom.StackLayout