Package eu.webtoolkit.jwt
Class StdLayoutItemImpl
- java.lang.Object
-
- eu.webtoolkit.jwt.WObject
-
- eu.webtoolkit.jwt.StdLayoutItemImpl
-
- All Implemented Interfaces:
WLayoutItemImpl
- Direct Known Subclasses:
StdLayoutImpl
public abstract class StdLayoutItemImpl extends WObject implements WLayoutItemImpl
An abstract class for implementing layout managers.- See Also:
WLayoutItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class eu.webtoolkit.jwt.WObject
WObject.FormData
-
-
Constructor Summary
Constructors Constructor Description StdLayoutItemImpl()Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DomElementcreateDomElement(DomElement parent, boolean fitWidth, boolean fitHeight, WApplication app)WContainerWidgetgetContainer()Returns the container of the of the parent layout.abstract WLayoutItemgetLayoutItem()Returns the actualWLayoutItem.abstract intgetMaximumHeight()Returns the maximum height of the item.abstract intgetMaximumWidth()Returns the maximum width of the item.abstract intgetMinimumHeight()Returns the minimum height of the item.abstract intgetMinimumWidth()Returns the minimum width of the item.StdLayoutImplgetParentLayoutImpl()Returns the parent layout of the item.-
Methods inherited from class eu.webtoolkit.jwt.WObject
getId, getObjectName, remove, setFormData, setObjectName, tr
-
-
-
-
Method Detail
-
getContainer
public WContainerWidget getContainer()
Returns the container of the of the parent layout.
-
getLayoutItem
public abstract WLayoutItem getLayoutItem()
Returns the actualWLayoutItem.
-
getMinimumWidth
public abstract int getMinimumWidth()
Returns the minimum width of the item.
-
getMinimumHeight
public abstract int getMinimumHeight()
Returns the minimum height of the item.
-
getMaximumWidth
public abstract int getMaximumWidth()
Returns the maximum width of the item.
-
getMaximumHeight
public abstract int getMaximumHeight()
Returns the maximum height of the item.
-
getParentLayoutImpl
public StdLayoutImpl getParentLayoutImpl()
Returns the parent layout of the item.Returns the parent layout of the item as a
StdLayoutImplif the layout is a subclass ofStdLayoutImpl. Otherwise returns nullptr;
-
createDomElement
public abstract DomElement createDomElement(DomElement parent, boolean fitWidth, boolean fitHeight, WApplication app)
-
-