|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.swing.impl.TableLayoutCell
public class TableLayoutCell
Represents a cell in a table layout
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
TableLayoutCell(TableLayoutRow parent)
|
Method Summary | |
---|---|
void |
addComponent(java.awt.Component component)
|
protected java.awt.GridBagConstraints |
createConstraints()
|
protected int |
getAnchor()
|
java.awt.Component |
getComponent()
|
java.awt.GridBagConstraints |
getConstraints()
|
boolean |
isColfill()
Returns the colfill. |
boolean |
isRowfill()
Returns the rowfill. |
void |
setAlign(java.lang.String align)
Sets the horizontal alignment to a case insensitive value of {LEFT, CENTER, RIGHT} |
void |
setColfill(boolean colfill)
Sets whether or not this column should allow its component to stretch to fill the space available |
void |
setColspan(int colspan)
Sets the number of columns that this cell should span. |
void |
setRowfill(boolean rowfill)
Sets whether or not this row should allow its component to stretch to fill the space available |
void |
setRowspan(int rowspan)
Sets the number of rows that this cell should span. |
void |
setValign(java.lang.String valign)
Sets the vertical alignment to a case insensitive value of {TOP, MIDDLE, BOTTOM} |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.util.logging.Logger log
Constructor Detail |
---|
public TableLayoutCell(TableLayoutRow parent)
Method Detail |
---|
public void addComponent(java.awt.Component component)
addComponent
in interface ContainerFacade
public java.awt.Component getComponent()
public void setAlign(java.lang.String align)
public void setValign(java.lang.String valign)
public void setColspan(int colspan)
public void setRowspan(int rowspan)
public boolean isColfill()
public boolean isRowfill()
public void setColfill(boolean colfill)
public void setRowfill(boolean rowfill)
public java.awt.GridBagConstraints getConstraints()
protected java.awt.GridBagConstraints createConstraints()
protected int getAnchor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |