org.graffiti.util
Class MaximizeLayout

java.lang.Object
  extended by org.graffiti.util.MaximizeLayout
All Implemented Interfaces:
LayoutManager

public class MaximizeLayout
extends Object
implements LayoutManager

Layour wrapper that modifies the behaviour of a LayoutManager for maximized JInternalFrames. If the frame is maximized, its title bar is hidden. This is intended to be used together with MaximizeManager.

Version:
$Revision: 5768 $ $Date: 2006-01-03 14:21:54 +0100 (Di, 03 Jan 2006) $
Author:
Michael Forster
See Also:
MaximizeManager, MaximizeFrame

Constructor Summary
MaximizeLayout(LayoutManager originalLayout)
          Wrap an existing layout and overide its behaviour for maximized frames.
 
Method Summary
 void addLayoutComponent(String name, Component comp)
           
 void layoutContainer(Container parent)
           
 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
 

Constructor Detail

MaximizeLayout

public MaximizeLayout(LayoutManager originalLayout)
Wrap an existing layout and overide its behaviour for maximized frames.

Parameters:
originalLayout - The wrapped layout.
Method Detail

addLayoutComponent

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

layoutContainer

public void layoutContainer(Container parent)
Specified by:
layoutContainer in interface LayoutManager

minimumLayoutSize

public Dimension minimumLayoutSize(Container parent)
Specified by:
minimumLayoutSize in interface LayoutManager

preferredLayoutSize

public Dimension preferredLayoutSize(Container parent)
Specified by:
preferredLayoutSize in interface LayoutManager

removeLayoutComponent

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


Generated at 2012-05-30 11:00:36 PM CEST