groovy.swing.impl
Class TableLayout

java.lang.Object
  extended bygroovy.swing.impl.TableLayout
All Implemented Interfaces:
ComponentFacade

public class TableLayout
extends java.lang.Object
implements ComponentFacade

Represents a HTML style table layout

Version:
$Revision: 1.3 $
Author:
James Strachan

Field Summary
private  int cellpadding
           
private  javax.swing.JPanel panel
           
private  int rowCount
           
 
Constructor Summary
TableLayout()
           
 
Method Summary
 void addCell(TableLayoutCell cell)
          Adds a new cell to the current grid
protected  java.awt.LayoutManager createLayoutManager()
          Creates a GridBagLayout
 int getCellpadding()
           
 java.awt.Component getComponent()
           
 int nextRowIndex()
          Creates a new row index for child tags
 void setCellpadding(int cellpadding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

panel

private javax.swing.JPanel panel

rowCount

private int rowCount

cellpadding

private int cellpadding
Constructor Detail

TableLayout

public TableLayout()
Method Detail

getComponent

public java.awt.Component getComponent()
Specified by:
getComponent in interface ComponentFacade

getCellpadding

public int getCellpadding()

setCellpadding

public void setCellpadding(int cellpadding)

addCell

public void addCell(TableLayoutCell cell)
Adds a new cell to the current grid


nextRowIndex

public int nextRowIndex()
Creates a new row index for child tags


createLayoutManager

protected java.awt.LayoutManager createLayoutManager()
Creates a GridBagLayout



Copyright © 2003-2005 The Codehaus. All Rights Reserved.