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:
  • Constructor Details

    • StdLayoutItemImpl

      public StdLayoutItemImpl()
      Constructor.
  • Method Details

    • getContainer

      public WContainerWidget getContainer()
      Returns the container of the of the parent layout.
    • getLayoutItem

      public abstract WLayoutItem getLayoutItem()
      Returns the actual WLayoutItem.
    • 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 StdLayoutImpl if the layout is a subclass of StdLayoutImpl. Otherwise returns nullptr;

    • createDomElement

      public abstract DomElement createDomElement(DomElement parent, boolean fitWidth, boolean fitHeight, WApplication app)