Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Class java.awt.swing.JRootPane.RootLayout

java.lang.Object
    |
    +----java.awt.swing.JRootPane.RootLayout

protected class JRootPane.RootLayout
extends Object
implements LayoutManager2, Serializable
Responsible for Layout of layeredPane, glassPane, menuBar.

Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.


Method Summary
void  addLayoutComponent(String name, Component comp)
 
void  addLayoutComponent(Component comp, Object constraints)
 
float  getLayoutAlignmentX(Container target)
 
float  getLayoutAlignmentY(Container target)
 
void  invalidateLayout(Container target)
 
void  layoutContainer(Container parent)
 
Dimension  maximumLayoutSize(Container target)
 
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
 

Method Detail

preferredLayoutSize

public Dimension preferredLayoutSize(Container parent)

minimumLayoutSize

public Dimension minimumLayoutSize(Container parent)

maximumLayoutSize

public Dimension maximumLayoutSize(Container target)
Implements:
maximumLayoutSize in interface LayoutManager2

layoutContainer

public void layoutContainer(Container parent)

addLayoutComponent

public void addLayoutComponent(String name,
                               Component comp)
Implements:
addLayoutComponent in interface LayoutManager2

removeLayoutComponent

public void removeLayoutComponent(Component comp)

addLayoutComponent

public void addLayoutComponent(Component comp,
                               Object constraints)
Implements:
addLayoutComponent in interface LayoutManager2

getLayoutAlignmentX

public float getLayoutAlignmentX(Container target)
Implements:
getLayoutAlignmentX in interface LayoutManager2

getLayoutAlignmentY

public float getLayoutAlignmentY(Container target)
Implements:
getLayoutAlignmentY in interface LayoutManager2

invalidateLayout

public void invalidateLayout(Container target)
Implements:
invalidateLayout in interface LayoutManager2

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.