zeus.gui.graph
Class BulletinLayout

java.lang.Object
  extended byzeus.gui.graph.BulletinLayout
All Implemented Interfaces:
java.awt.LayoutManager

public class BulletinLayout
extends java.lang.Object
implements java.awt.LayoutManager

Lays out components as though they were pinned to a bulletin board.

Components are simply reshaped to their location and their preferred size. BulletinLayout is preferrable to setting a container's layout manager to null and explicitly positioning and sizing components.

Version:
1.0, Apr 1 1996
Author:
David Geary

Constructor Summary
BulletinLayout()
           
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
           
 void layoutContainer(java.awt.Container target)
           
 java.awt.Dimension minimumLayoutSize(java.awt.Container target)
           
 java.awt.Dimension preferredLayoutSize(java.awt.Container target)
           
 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

BulletinLayout

public BulletinLayout()
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 target)
Specified by:
preferredLayoutSize in interface java.awt.LayoutManager

minimumLayoutSize

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

layoutContainer

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


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.