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
An abstract class for implementing layout managers.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.webtoolkit.jwt.WObject
WObject.FormData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DomElement
createDomElement
(DomElement parent, boolean fitWidth, boolean fitHeight, WApplication app) Returns the container of the of the parent layout.abstract WLayoutItem
Returns the actualWLayoutItem
.abstract int
Returns the maximum height of the item.abstract int
Returns the maximum width of the item.abstract int
Returns the minimum height of the item.abstract int
Returns the minimum width of the item.Returns the parent layout of the item.Methods inherited from class eu.webtoolkit.jwt.WObject
getId, getObjectName, remove, setFormData, setObjectName, tr
-
Constructor Details
-
StdLayoutItemImpl
public StdLayoutItemImpl()Constructor.
-
-
Method Details
-
getContainer
Returns the container of the of the parent layout. -
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
Returns the parent layout of the item.Returns the parent layout of the item as a
StdLayoutImpl
if the layout is a subclass ofStdLayoutImpl
. Otherwise returns nullptr; -
createDomElement
public abstract DomElement createDomElement(DomElement parent, boolean fitWidth, boolean fitHeight, WApplication app)
-