|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--matthew.awt.StrutLayout.VectorConstraint
Represents a strut with arbritrary direction and length.
StrutLayout.StrutConstraint| Field Summary | |
int |
fromConnector
|
int |
hdelta
|
java.awt.Component |
parent
|
int |
toConnector
|
int |
vdelta
|
| Constructor Summary | |
StrutLayout.VectorConstraint(java.awt.Component parent,
int fromConnector,
int toConnector,
int hdelta,
int vdelta)
Create a strut between connection points on a parent and a child component. |
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public java.awt.Component parent
public int fromConnector
public int toConnector
public int hdelta
public int vdelta
| Constructor Detail |
public StrutLayout.VectorConstraint(java.awt.Component parent,
int fromConnector,
int toConnector,
int hdelta,
int vdelta)
parent - The component to attach the child to.fromConnector - The connection point on the parent to
attach the strut to (eg. BOTTOM_LEFT).toConnector - The connection point on the child to attach
the strut to (eg. TOP_LEFT).hdelta - The amount in the horizontal (x) direction that
the strut extends (eg. -n implies left n pixels).vdelta - The amount in the vertical (y) direction that the
strut extends (eg. -n implies up n pixels).StrutLayout.StrutConstraint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||