Interface SizeAdaptableComponent
-
- All Known Implementing Classes:
MultiArrayDescription
public interface SizeAdaptableComponent
This interface defines classes which allow to adjust their height when a given width is set.- Author:
- Thomas Pfau
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setVisibleWidth(int width)
Adapt the width of the component to the provided visible width.
-
-
-
Method Detail
-
setVisibleWidth
void setVisibleWidth(int width)
Adapt the width of the component to the provided visible width. This does not necessarily indicate, that the component should have that preferred width, but it should be informed, that the visible area has changed and adapt its layout accordingly.- Parameters:
width
- the width to use
-
-