|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LayoutManager
Similar to the AWT LayoutManager this interface is a base for all Layout managers usable in a Xith3D HUD.
| Method Summary | |
|---|---|
void |
addWidget(Widget widget,
java.lang.Object constraints)
Adds a new Widget to this LayoutManager with the given constraints. |
void |
clear()
Clears the Widget List. |
void |
doLayout(WidgetContainer container)
This method is invoked by the container, when it needs to be relayouted. |
boolean |
getInvisibleWidgetsHidden()
If set to true, the LayoutManager hides invisible Widgets
and doesn't use them to calculate the other Widgets' layouts. |
void |
removeWidget(Widget widget)
Removed a Widget from this LayoutManager |
void |
setInvisibleWidgetsHidden(boolean hidden)
If set to true, the LayoutManager hides invisible Widgets
and doesn't use them to calculate the other Widgets' layouts. |
| Method Detail |
|---|
void setInvisibleWidgetsHidden(boolean hidden)
LayoutManager hides invisible Widgets
and doesn't use them to calculate the other Widgets' layouts.
hidden - boolean getInvisibleWidgetsHidden()
LayoutManager hides invisible Widgets
and doesn't use them to calculate the other Widgets' layouts.
void addWidget(Widget widget,
java.lang.Object constraints)
widget - the Widget to addconstraints - the constraints to use for this Widget in this LayoutManagervoid removeWidget(Widget widget)
widget - the Widget to be removedvoid clear()
void doLayout(WidgetContainer container)
container - the container this LayoutManager is attached to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||