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 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