com.ibm.btt.rcp.innerwindow.impl
Class InnerWindowContainerLayout
java.lang.Object
org.eclipse.swt.widgets.Layout
com.ibm.btt.rcp.innerwindow.impl.InnerWindowContainerLayout
public class InnerWindowContainerLayout
- extends org.eclipse.swt.widgets.Layout
Field Summary |
int |
marginHeight
marginHeight specifies the number of pixels of vertical margin that will
be placed along the top and bottom edges of the layout. |
int |
marginWidth
marginWidth specifies the number of pixels of horizontal margin that will
be placed along the left and right edges of the layout. |
InnerWindowContainerLayout.State |
state
|
org.eclipse.swt.widgets.Control |
topControl
topControl the Control that is displayed at the top of the stack. |
Method Summary |
protected org.eclipse.swt.graphics.Point |
computeSize(org.eclipse.swt.widgets.Composite composite,
int wHint,
int hHint,
boolean flushCache)
|
protected boolean |
flushCache(org.eclipse.swt.widgets.Control control)
|
(package private) java.lang.String |
getName()
|
protected void |
layout(org.eclipse.swt.widgets.Composite composite,
boolean flushCache)
|
java.lang.String |
toString()
Returns a string containing a concise, human-readable description of the
receiver. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
marginWidth
public int marginWidth
- marginWidth specifies the number of pixels of horizontal margin that will
be placed along the left and right edges of the layout.
The default value is 0.
marginHeight
public int marginHeight
- marginHeight specifies the number of pixels of vertical margin that will
be placed along the top and bottom edges of the layout.
The default value is 0.
topControl
public org.eclipse.swt.widgets.Control topControl
- topControl the Control that is displayed at the top of the stack. All
other controls that are children of the parent composite will not be
visible.
state
public InnerWindowContainerLayout.State state
InnerWindowContainerLayout
public InnerWindowContainerLayout()
computeSize
protected org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite,
int wHint,
int hHint,
boolean flushCache)
- Specified by:
computeSize
in class org.eclipse.swt.widgets.Layout
flushCache
protected boolean flushCache(org.eclipse.swt.widgets.Control control)
- Overrides:
flushCache
in class org.eclipse.swt.widgets.Layout
layout
protected void layout(org.eclipse.swt.widgets.Composite composite,
boolean flushCache)
- Specified by:
layout
in class org.eclipse.swt.widgets.Layout
getName
java.lang.String getName()
toString
public java.lang.String toString()
- Returns a string containing a concise, human-readable description of the
receiver.
- Overrides:
toString
in class java.lang.Object
- Returns:
- a string representation of the layout
(c) Copyright IBM Corporation 1998, 2009