public class RelativeTableConstraints extends AbstractTableConstraints
Constructor and Description |
---|
RelativeTableConstraints(Component component,
TableLayout tl) |
RelativeTableConstraints(int column,
int row,
int colSpan,
int rowSpan,
Component component,
TableLayout tl) |
RelativeTableConstraints(Rectangle bounds,
Component component,
TableLayout tl) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
getAbsoluteBounds() |
int |
getColSpan()
Getter for property colSpan.
|
int |
getColumn()
Gets a string representation of this TableLayoutConstraints.
|
int |
getHeight() |
Rectangle |
getRelativeBounds() |
int |
getRow() |
int |
getRowSpan()
Getter for property rowSpan.
|
int |
getWidth() |
int |
getX() |
int |
getY() |
protected void |
setAbsoluteBoundsOnly(Rectangle bounds) |
void |
setColSpan(int colSpan)
Setter for property colSpan.
|
void |
setColumn(int column)
Setter for property column.
|
protected void |
setRelativeBoundsOnly(Rectangle bounds) |
void |
setRow(int row)
Setter for property row.
|
void |
setRowSpan(int rowSpan)
Setter for property rowSpan.
|
getComponent, getTableLayout, setAbsoluteBounds, setRelativeBounds, updateTableLayout
public RelativeTableConstraints(Component component, TableLayout tl)
public RelativeTableConstraints(int column, int row, int colSpan, int rowSpan, Component component, TableLayout tl)
public RelativeTableConstraints(Rectangle bounds, Component component, TableLayout tl)
public int getColumn()
public int getRow()
public int getColSpan()
public int getRowSpan()
public int getHeight()
public int getWidth()
public int getX()
public int getY()
protected void setAbsoluteBoundsOnly(Rectangle bounds)
setAbsoluteBoundsOnly
in class AbstractTableConstraints
public void setColSpan(int colSpan)
colSpan
- New value of property colSpan.public void setColumn(int column)
column
- New value of property column.public void setRow(int row)
row
- New value of property row.public void setRowSpan(int rowSpan)
rowSpan
- New value of property rowSpan.public Rectangle getAbsoluteBounds()
public Rectangle getRelativeBounds()
protected void setRelativeBoundsOnly(Rectangle bounds)
setRelativeBoundsOnly
in class AbstractTableConstraints
Copyright © 2012–2015 SoftSmithy. All rights reserved.