All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pnuts.awt.Layout

pnuts.awt.Layout

public abstract class Layout
Manager class of Hierarchical Layout.


Constructor Index

 o Layout()

Method Index

 o createContainer(Container, Object[])
Define how to make a container.
 o isArray(Object)
 o layout(Container, Object[])
Layout components in the container using format fmt.
 o layout(Object[])
Layout components using format
 o makePanel(Container)
 o registerLayoutManager(Class, Class)
Register a Layout Mapping

Constructors

 o Layout
 protected Layout()

Methods

 o registerLayoutManager
 public static void registerLayoutManager(Class clazz,
                                          Class layout)
Register a Layout Mapping

Parameters:
clazz - Class of the mapping
layout - The definition of the mapping This class should be subclass of Layout class.
 o isArray
 protected static boolean isArray(Object obj)
 o createContainer
 public abstract Container createContainer(Container container,
                                           Object fmt[])
Define how to make a container. This class should be defined in a subclass of Layout class.

 o layout
 public static Container layout(Object format[])
Layout components using format

 o layout
 public static Container layout(Container container,
                                Object fmt[])
Layout components in the container using format fmt.

 o makePanel
 protected static Container makePanel(Container prototype)

All Packages  Class Hierarchy  This Package  Previous  Next  Index