/** Copyright 2010 Haiku, Inc. All rights reserved.* Distributed under the terms of the MIT License.** Authors:* Alex Wilson, yourpalal2@gmail.com** Corresponds to:* headers/os/interface/AbstractLayout.h rev 39055* src/kits/inteface/AbstractLayout.cpp rev 39055*//*!\class BAbstractLayout\ingroup layout\ingroup libbe\brief BLayout subclass providing convenience methods for derivedimplementations.\since Haiku R1This class is designed to reduce the amount of boilerplate code required towrite a BLayout subclass. In most cases, you classes should derive fromBAbstractLayout rather than BLayout.When a BAbstractLayout is attached to a BView, many of the methods providedby the BAbstractLayout class are forwarded to the BAbstractLayout'sowner BView. When a BAbstractLayout is viewless, these methods are handledlocally.\warning This class is not yet finalized, if you use it in your softwareassume that it will break some time in the future.*//*!\name Constructors@{*//*!\fn BAbstractLayout::BAbstractLayout()\brief Construct a BAbstractLayout.\since Haiku R1*//*!\fn BAbstractLayout::BAbstractLayout(BMessage* from);\brief Archive constructor.\since Haiku R1*///! @}/*!\fn BSize BAbstractLayout::MinSize()\copydoc BLayoutItem::MinSize()\since Haiku R1The return value for this method is composed (usingBLayoutUtils::ComposeSize()) from the values returned by BaseMinSize() andExplicitMinSize().*//*!\fn BSize BAbstractLayout::MaxSize()\copydoc BLayoutItem::MaxSize()The return value for this method is composed (usingBLayoutUtils::ComposeSize()) from the values returned by BaseMaxSize() andExplicitMaxSize().\since Haiku R1*//*!\fn BSize BAbstractLayout::PreferredSize()\copydoc BLayoutItem::PreferredSize()The return value for this method is composed (usingBLayoutUtils::ComposeSize()) from the values returned by BasePreferredSize()and ExplicitPreferredSize().\since Haiku R1*//*!\fn BAlignment BAbstractLayout::Alignment()\copydoc BLayoutItem::Alignment()The return value for this method is composed (usingBLayoutUtils::ComposeAlignment()) from the values returned byBaseAlignment() and ExplicitAlignment()\since Haiku R1*//*!\name Hook Methods@{*//*!\fn BSize BAbstractLayout::BaseMinSize()\brief Method to be implemented in derived classes return the minimum sizeconstraint for this BAbstractLayout.\since Haiku R1*//*!\fn BSize BAbstractLayout::BaseMaxSize()\brief Method to be implemented in derived classes return the maximum sizeconstraint for this BAbstractLayout.\since Haiku R1*//*!\fn BSize BAbstractLayout::BasePreferredSize()\brief Method to be implemented in derived classes return the preferred sizeconstraint for this BAbstractLayout.\since Haiku R1*//*!\fn BAlignment BAbstractLayout::BaseAlignment()\brief Method to be implemented in derived classes return the preferredalignment for this BAbstractLayout.*///! @}