org.apache.commons.jelly.tags.swing.impl
Class Cell

java.lang.Object
  extended byorg.apache.commons.jelly.tags.swing.impl.Cell

public class Cell
extends java.lang.Object

A simple class to represent the information for a single cell in a table when using the GridBagLayout

Version:
$Revision: 155420 $
Author:
James Strachan

Constructor Summary
Cell()
           
Cell(java.awt.GridBagConstraints constraints, java.awt.Component component)
           
 
Method Summary
 java.awt.Component getComponent()
          Returns the component.
 java.awt.GridBagConstraints getConstraints()
          Returns the constraints.
 void setComponent(java.awt.Component component)
          Sets the component.
 void setConstraints(java.awt.GridBagConstraints constraints)
          Sets the constraints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cell

public Cell()

Cell

public Cell(java.awt.GridBagConstraints constraints,
            java.awt.Component component)
Method Detail

getComponent

public java.awt.Component getComponent()
Returns the component.

Returns:
Component

getConstraints

public java.awt.GridBagConstraints getConstraints()
Returns the constraints.

Returns:
GridBagConstraints

setComponent

public void setComponent(java.awt.Component component)
Sets the component.

Parameters:
component - The component to set

setConstraints

public void setConstraints(java.awt.GridBagConstraints constraints)
Sets the constraints.

Parameters:
constraints - The constraints to set


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.