|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SLayoutManager
For layout managers.
| Field Summary |
|---|
| Fields inherited from interface org.wings.SConstants |
|---|
BASELINE, BLOCK_ALIGN, BOTTOM, BOTTOM_ALIGN, CENTER, CENTER_ALIGN, HORIZONTAL, JUSTIFY, LEFT, LEFT_ALIGN, NO_ALIGN, RIGHT, RIGHT_ALIGN, TOP, TOP_ALIGN, UID_DIVIDER, VERTICAL |
| Method Summary | |
|---|---|
void |
addComponent(SComponent c,
Object constraint,
int index)
Adds a component to the layout manager |
int |
getBorder()
|
SContainer |
getContainer()
Returns the corresponding container |
void |
removeComponent(SComponent c)
Removes a component from the layout manager |
void |
setBorder(int pixel)
|
void |
setContainer(SContainer c)
Sets the corresponding container |
void |
updateCG()
Notification from the CGFactory that the L&F has changed. |
void |
write(Device s)
Writes the layouted container to the given device. |
| Method Detail |
|---|
void addComponent(SComponent c,
Object constraint,
int index)
c - The new componentconstraint - A (sometimes optional) constraint objectvoid removeComponent(SComponent c)
c - The new componentvoid setContainer(SContainer c)
c - The containerSContainer getContainer()
void write(Device s)
throws IOException
write in interface Renderables - The output device
IOExceptionvoid updateCG()
updateCG()void setBorder(int pixel)
int getBorder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||