|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Layout.AlignmentHandler
AlignmentHandler is most commonly an advanced Layout that can
align its components.
| Method Summary | |
|---|---|
Alignment |
getComponentAlignment(Component childComponent)
Returns the current Alignment of given component. |
void |
setComponentAlignment(Component childComponent,
Alignment alignment)
Set alignment for one contained component in this layout. |
| Method Detail |
|---|
void setComponentAlignment(Component childComponent,
Alignment alignment)
layout.setComponentAlignment(myComponent, Alignment.TOP_RIGHT);
childComponent - the component to align within it's layout cell.alignment - the Alignment value to be setAlignment getComponentAlignment(Component childComponent)
childComponent -
Alignment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||