Oracle Data-aware Controls Reference

oracle.dacf.layout
Class ColumnLayout

java.lang.Object
  extended byoracle.dacf.layout.LayoutManager3
      extended byoracle.dacf.layout.ColumnLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2

public final class ColumnLayout
extends LayoutManager3

A column layout is one in which objects are stacked one on top of the other subject to positioning information provided in a ControlConstraints object.

Version:
PUBLIC
See Also:
LayoutManager, LayoutManager3

Field Summary
 
Fields inherited from class oracle.dacf.layout.LayoutManager3
SIZE_MAXIMUM, SIZE_MINIMUM, SIZE_PREFERRED
 
Constructor Summary
ColumnLayout()
          Parameterless class constructor.
 
Method Summary
 void layoutContainer(java.awt.Container parent)
          Lays out the container in the specified panel.
protected  java.awt.Dimension layoutSize(java.awt.Container parent, int type)
          Computes the indicated container size dimensions.
 
Methods inherited from class oracle.dacf.layout.LayoutManager3
addLayoutComponent, addLayoutComponent, findConstraints, getComponentBounds, getLayoutAlignmentX, getLayoutAlignmentY, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnLayout

public ColumnLayout()
Parameterless class constructor.

Method Detail

layoutContainer

public void layoutContainer(java.awt.Container parent)
Lays out the container in the specified panel. If a subcomponent is a Container object whose layout manager is a ControlLayout then it is given the maximum width in which to position itself and its subcomponents.

Specified by:
layoutContainer in interface java.awt.LayoutManager
Specified by:
layoutContainer in class LayoutManager3
Parameters:
parent - component which needs to be laid out
See Also:
LayoutManager3.layoutContainer(java.awt.Container)

layoutSize

protected java.awt.Dimension layoutSize(java.awt.Container parent,
                                        int type)
Computes the indicated container size dimensions.

Specified by:
layoutSize in class LayoutManager3
Parameters:
parent - container to be laid out
type - _MINIMUM, _MAXIMUM or _PREFERRED
Returns:
Dimension object with the container's requested size
See Also:
LayoutManager3.layoutSize(java.awt.Container, int)

Oracle Data-aware Controls Reference

 

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