Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.javatools.ui.layout
Class CenterLayout

java.lang.Object
  extended by oracle.javatools.ui.layout.CenterLayout

All Implemented Interfaces:
java.awt.LayoutManager, java.io.Serializable

public class CenterLayout
extends java.lang.Object
implements java.awt.LayoutManager, java.io.Serializable

Layout manager that centers one component in the middle of the container at it's preferred size. The manager assumes at least one component has been added. Only the first component is laid out.

See Also:
Serialized Form

Constructor Summary
CenterLayout()
           

 

Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
           
 void layoutContainer(java.awt.Container container)
           
 java.awt.Dimension minimumLayoutSize(java.awt.Container cont)
           
 java.awt.Dimension preferredLayoutSize(java.awt.Container container)
           
 void removeLayoutComponent(java.awt.Component comp)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

CenterLayout

public CenterLayout()

Method Detail

addLayoutComponent

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

removeLayoutComponent

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

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container container)
Specified by:
preferredLayoutSize in interface java.awt.LayoutManager

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container cont)
Specified by:
minimumLayoutSize in interface java.awt.LayoutManager

layoutContainer

public void layoutContainer(java.awt.Container container)
Specified by:
layoutContainer in interface java.awt.LayoutManager

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.