|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jmex.bui.layout.BLayoutManager
public abstract class BLayoutManager
Layout managers implement a policy for laying out the children in a container. They must provide routines for computing the preferred size of a target container and for actually laying out its children.
| Constructor Summary | |
|---|---|
BLayoutManager()
|
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(BComponent comp,
Object constraints)
Components added to a container will result in a call to this method, informing the layout manager of said constraints. |
abstract Dimension |
computePreferredSize(BContainer target,
int whint,
int hhint)
Computes the preferred size for the supplied container, based on the preferred sizes of its children and the layout policy implemented by this manager. |
abstract void |
layoutContainer(BContainer target)
Effects the layout policy of this manager on the supplied target, adjusting the size and position of its children based on the size and position of the target at the time of this call. |
void |
removeLayoutComponent(BComponent comp)
Components removed to a container for which a layout manager has been configured will result in a call to this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BLayoutManager()
| Method Detail |
|---|
public void addLayoutComponent(BComponent comp,
Object constraints)
public void removeLayoutComponent(BComponent comp)
public abstract Dimension computePreferredSize(BContainer target,
int whint,
int hhint)
public abstract void layoutContainer(BContainer target)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||