|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayoutManageable
This interface defines container Components that are capable of having a LayoutManager specified.
When child components are added or removed from the LayoutManageable object, it is expected to notify the attached LayoutManager.
Field Summary | |
---|---|
static java.lang.String |
LAYOUT_MANAGED_CHANGED_PROPERTY
This property name is fired when the LayoutManager changes |
Method Summary | |
---|---|
void |
add(Component comp)
Adds a child component to the LayoutManageable container with a null contraints object. |
void |
add(Component comp,
int index)
Adds a child component to the LayoutManageable container with a null contraints object at the specified index. |
void |
add(Component comp,
java.lang.Object constraints)
Adds a child component to the LayoutManageable container with the specified contraints object. |
void |
add(Component comp,
java.lang.Object constraints,
int index)
Adds a child component to the LayoutManageable container with the specified contraints object, at the specified index. |
LayoutManager |
getLayoutManager()
Returns the LayoutManager of the LayoutManageable container, or null if one is not present. |
void |
remove(Component comp)
Removes a component from the container Component and informs the LayoutManager of this removal. |
void |
remove(int index)
Removes a component at the specified index from the container Component and informs the LayoutManager of this removal. |
void |
setLayoutManager(LayoutManager newLayoutManager)
Sets a new LayoutManager into the LayoutManageable container. |
Field Detail |
---|
static final java.lang.String LAYOUT_MANAGED_CHANGED_PROPERTY
Method Detail |
---|
void add(Component comp)
void add(Component comp, int index)
void add(Component comp, java.lang.Object constraints)
The contraints object is allowed to be null.
void add(Component comp, java.lang.Object constraints, int index)
This method would then inform any LayoutManager that is present.
The contraints object is allowed to be null.
LayoutManager getLayoutManager()
void remove(int index)
void remove(Component comp)
void setLayoutManager(LayoutManager newLayoutManager)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |