DESY ACOP Beans Home

com.cosylab.gui.components.util
Class CosyUIElements.TwinOptimalLayout

java.lang.Object
  extended by com.cosylab.gui.components.util.CosyUIElements.TwinOptimalLayout
All Implemented Interfaces:
java.awt.LayoutManager
Enclosing class:
CosyUIElements

public static class CosyUIElements.TwinOptimalLayout
extends java.lang.Object
implements java.awt.LayoutManager

Version:
@@VERSION@@
Author:
Miha Kadunc (miha.kadunc@cosylab.com)

Constructor Summary
CosyUIElements.TwinOptimalLayout(int horBorder, int vertBorder, int spaceBetween)
           
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
           
 void layoutContainer(java.awt.Container parent)
           
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
           
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
           
 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

CosyUIElements.TwinOptimalLayout

public CosyUIElements.TwinOptimalLayout(int horBorder,
                                        int vertBorder,
                                        int spaceBetween)
Method Detail

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
Specified by:
addLayoutComponent in interface java.awt.LayoutManager
See Also:
LayoutManager.addLayoutComponent(java.lang.String, java.awt.Component)

layoutContainer

public void layoutContainer(java.awt.Container parent)
Specified by:
layoutContainer in interface java.awt.LayoutManager
See Also:
LayoutManager.layoutContainer(java.awt.Container)

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
See Also:
LayoutManager.minimumLayoutSize(java.awt.Container)

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
See Also:
LayoutManager.preferredLayoutSize(java.awt.Container)

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
Specified by:
removeLayoutComponent in interface java.awt.LayoutManager
See Also:
LayoutManager.removeLayoutComponent(java.awt.Component)


Copyright © 2010. All Rights Reserved.