org.xulux.guilayer.swing.layouts
Class SwingGridBagLayout
java.lang.Object
org.xulux.guilayer.swing.layouts.SwingLayoutAbstract
org.xulux.guilayer.swing.layouts.SwingGridBagLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2, org.xulux.api.gui.IXuluxLayout
public class SwingGridBagLayout
- extends SwingLayoutAbstract
- implements java.awt.LayoutManager2
- Version:
- $Id: SwingGridBagLayout.java,v 1.1 2004/05/24 18:12:34 mvdb Exp $
- Author:
- Martin van den Bemt
Field Summary |
protected java.awt.GridBagConstraints |
c
We reuse the instance of gbc, since it is cloned when
passed as a parameter to the gridbaglayout |
protected java.awt.GridBagLayout |
layout
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
layout
protected java.awt.GridBagLayout layout
c
protected java.awt.GridBagConstraints c
- We reuse the instance of gbc, since it is cloned when
passed as a parameter to the gridbaglayout
SwingGridBagLayout
public SwingGridBagLayout()
addWidget
public void addWidget(org.xulux.api.gui.IWidget widget)
- Specified by:
addWidget
in interface org.xulux.api.gui.IXuluxLayout
- See Also:
IXuluxLayout.addWidget(org.xulux.api.gui.IWidget)
removeWidget
public void removeWidget(org.xulux.api.gui.IWidget widget)
- Specified by:
removeWidget
in interface org.xulux.api.gui.IXuluxLayout
- See Also:
IXuluxLayout.removeWidget(org.xulux.api.gui.IWidget)
destroy
public void destroy()
- Specified by:
destroy
in interface org.xulux.api.gui.IXuluxLayout
- Specified by:
destroy
in class SwingLayoutAbstract
- See Also:
IXuluxLayout.destroy()
addLayoutComponent
public void addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager2
- See Also:
LayoutManager2.addLayoutComponent(java.awt.Component, java.lang.Object)
maximumLayoutSize
public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
- Specified by:
maximumLayoutSize
in interface java.awt.LayoutManager2
- See Also:
LayoutManager2.maximumLayoutSize(java.awt.Container)
getLayoutAlignmentX
public float getLayoutAlignmentX(java.awt.Container target)
- Specified by:
getLayoutAlignmentX
in interface java.awt.LayoutManager2
- See Also:
LayoutManager2.getLayoutAlignmentX(java.awt.Container)
getLayoutAlignmentY
public float getLayoutAlignmentY(java.awt.Container target)
- Specified by:
getLayoutAlignmentY
in interface java.awt.LayoutManager2
- See Also:
LayoutManager2.getLayoutAlignmentY(java.awt.Container)
invalidateLayout
public void invalidateLayout(java.awt.Container target)
- Specified by:
invalidateLayout
in interface java.awt.LayoutManager2
- See Also:
LayoutManager2.invalidateLayout(java.awt.Container)
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)
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent
in interface java.awt.LayoutManager
- See Also:
LayoutManager.removeLayoutComponent(java.awt.Component)
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)
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)
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainer
in interface java.awt.LayoutManager
- See Also:
LayoutManager.layoutContainer(java.awt.Container)
Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.