Package jexer.layout
Interface LayoutManager
-
- All Known Implementing Classes:
BoxLayoutManager,StretchLayoutManager
public interface LayoutManagerA LayoutManager provides automatic positioning and sizing of a TWidget's child TWidgets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(TWidget child)Add a child widget to manage.voidonResize(TResizeEvent resize)Process the parent widget's resize event, and resize/reposition child widgets.voidremove(TWidget child)Remove a child widget from those managed by this LayoutManager.voidresetSize(TWidget child)Reset a child widget's original/preferred size.
-
-
-
Method Detail
-
onResize
void onResize(TResizeEvent resize)
Process the parent widget's resize event, and resize/reposition child widgets.- Parameters:
resize- resize event
-
add
void add(TWidget child)
Add a child widget to manage.- Parameters:
child- the widget to manage
-
remove
void remove(TWidget child)
Remove a child widget from those managed by this LayoutManager.- Parameters:
child- the widget to remove
-
resetSize
void resetSize(TWidget child)
Reset a child widget's original/preferred size.- Parameters:
child- the widget to manage
-
-