public interface LayoutManager
Modifier and Type | Method and Description |
---|---|
void |
add(TWidget child)
Add a child widget to manage.
|
void |
onResize(TResizeEvent resize)
Process the parent widget's resize event, and resize/reposition child
widgets.
|
void |
remove(TWidget child)
Remove a child widget from those managed by this LayoutManager.
|
void |
resetSize(TWidget child)
Reset a child widget's original/preferred size.
|
void onResize(TResizeEvent resize)
resize
- resize eventvoid add(TWidget child)
child
- the widget to managevoid remove(TWidget child)
child
- the widget to removevoid resetSize(TWidget child)
child
- the widget to manageCopyright © 2019 Kevin Lamonte. Licensed MIT.