swingwt.awt
Class FillLayout

java.lang.Object
  extended byswingwt.awt.FillLayout
All Implemented Interfaces:
LayoutManager
Direct Known Subclasses:
JRootPane.RootPaneLayout

public class FillLayout
extends java.lang.Object
implements LayoutManager

Simple layout manager that allows one component and it fills the whole container.


Field Summary
protected  Component theComponent
           
 
Constructor Summary
FillLayout()
           
 
Method Summary
 void addLayoutComponent(java.lang.String name, Component comp)
           
 void layoutContainer(Container parent)
           
 Dimension minimumLayoutSize(Container parent)
           
 Dimension preferredLayoutSize(Container parent)
           
 void removeLayoutComponent(Component comp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theComponent

protected Component theComponent
Constructor Detail

FillLayout

public FillLayout()
Method Detail

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               Component comp)
Specified by:
addLayoutComponent in interface LayoutManager

removeLayoutComponent

public void removeLayoutComponent(Component comp)
Specified by:
removeLayoutComponent in interface LayoutManager

preferredLayoutSize

public Dimension preferredLayoutSize(Container parent)
Specified by:
preferredLayoutSize in interface LayoutManager

minimumLayoutSize

public Dimension minimumLayoutSize(Container parent)
Specified by:
minimumLayoutSize in interface LayoutManager

layoutContainer

public void layoutContainer(Container parent)
Specified by:
layoutContainer in interface LayoutManager