public class AbsoluteTableConstraints extends AbstractTableConstraints
| Constructor and Description |
|---|
AbsoluteTableConstraints(int x,
int y,
int width,
int height,
Component component,
TableLayout tl)
Creates a new instance of DefaultTableLayoutConstraints
|
AbsoluteTableConstraints(Rectangle bounds,
Component component,
TableLayout tl) |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getAbsoluteBounds() |
int |
getHeight()
Getter for property height.
|
Rectangle |
getRelativeBounds() |
int |
getWidth()
Getter for property width.
|
int |
getX()
Getter for property x.
|
int |
getY()
Getter for property y.
|
protected void |
setAbsoluteBoundsOnly(Rectangle bounds) |
void |
setHeight(int height) |
protected void |
setRelativeBoundsOnly(Rectangle bounds) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
getComponent, getTableLayout, setAbsoluteBounds, setRelativeBounds, updateTableLayoutpublic AbsoluteTableConstraints(int x,
int y,
int width,
int height,
Component component,
TableLayout tl)
public AbsoluteTableConstraints(Rectangle bounds, Component component, TableLayout tl)
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
protected void setAbsoluteBoundsOnly(Rectangle bounds)
setAbsoluteBoundsOnly in class AbstractTableConstraintspublic Rectangle getAbsoluteBounds()
public Rectangle getRelativeBounds()
protected void setRelativeBoundsOnly(Rectangle bounds)
setRelativeBoundsOnly in class AbstractTableConstraintsCopyright © 2012–2018 SoftSmithy. All rights reserved.