Package ca.phon.ui.layout
Class GridCellConstraint
java.lang.Object
ca.phon.ui.layout.GridCellConstraint
(x,y) and w+h of a component using
the GridCellLayout layout manager.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGridCellConstraint
(int x, int y) GridCellConstraint
(int x, int y, int w) GridCellConstraint
(int x, int y, int w, int h) -
Method Summary
Modifier and TypeMethodDescriptionint
getH()
int
getW()
int
getX()
int
getY()
void
setH
(int h) void
setW
(int w) void
setX
(int x) void
setY
(int y) static GridCellConstraint
xy
(int x, int y) static GridCellConstraint
xyw
(int x, int y, int w) static GridCellConstraint
xywh
(int x, int y, int w, int h)
-
Field Details
-
x
public int xx -
y
public int yy -
w
public int ww -
h
public int hh
-
-
Constructor Details
-
GridCellConstraint
public GridCellConstraint(int x, int y) -
GridCellConstraint
public GridCellConstraint(int x, int y, int w) -
GridCellConstraint
public GridCellConstraint(int x, int y, int w, int h)
-
-
Method Details
-
xy
-
xyw
-
xywh
-
getX
public int getX() -
setX
public void setX(int x) -
getY
public int getY() -
setY
public void setY(int y) -
getW
public int getW() -
setW
public void setW(int w) -
getH
public int getH() -
setH
public void setH(int h)
-