org.montsuqi.widgets
Class TableLayout

java.lang.Object
  extended by java.awt.GridBagLayout
      extended by org.montsuqi.widgets.TableLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable

public class TableLayout
extends java.awt.GridBagLayout

A layout manager that simulates Gtk+'s table's layout strategy by using GridBagLayout.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.GridBagLayout
columnWeights, columnWidths, comptable, defaultConstraints, layoutInfo, MAXGRIDSIZE, MINSIZE, PREFERREDSIZE, rowHeights, rowWeights
 
Constructor Summary
TableLayout()
           
 
Method Summary
 void addLayoutComponent(java.awt.Component comp, java.lang.Object object)
           
static void main(java.lang.String[] args)
           
 void setConstraints(java.awt.Component comp, TableConstraints constraints)
           
 
Methods inherited from class java.awt.GridBagLayout
addLayoutComponent, adjustForGravity, AdjustForGravity, arrangeGrid, ArrangeGrid, getConstraints, getLayoutAlignmentX, getLayoutAlignmentY, getLayoutDimensions, getLayoutInfo, GetLayoutInfo, getLayoutOrigin, getLayoutWeights, getMinSize, GetMinSize, invalidateLayout, layoutContainer, location, lookupConstraints, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setConstraints, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableLayout

public TableLayout()
Method Detail

addLayoutComponent

public void addLayoutComponent(java.awt.Component comp,
                               java.lang.Object object)
Specified by:
addLayoutComponent in interface java.awt.LayoutManager2
Overrides:
addLayoutComponent in class java.awt.GridBagLayout

setConstraints

public void setConstraints(java.awt.Component comp,
                           TableConstraints constraints)

main

public static void main(java.lang.String[] args)