Package org.graffiti.util
Class MaximizeLayout
java.lang.Object
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: 1.4 $ $Date: 2010/12/22 13:05:53 $
- Author:
- Michael Forster
- See Also:
MaximizeManager,MaximizeFrame
-
Constructor Summary
Constructors Constructor Description MaximizeLayout(LayoutManager originalLayout)Wrap an existing layout and overide its behaviour for maximized frames. -
Method Summary
Modifier and Type Method Description voidaddLayoutComponent(String name, Component comp)voidlayoutContainer(Container parent)DimensionminimumLayoutSize(Container parent)DimensionpreferredLayoutSize(Container parent)voidremoveLayoutComponent(Component comp)
-
Constructor Details
-
MaximizeLayout
Wrap an existing layout and overide its behaviour for maximized frames.- Parameters:
originalLayout- The wrapped layout.
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponentin interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-