com.vaadin.client.ui.layout.

Class VLayoutSlot

    • Constructor Detail

      • VLayoutSlot

        public VLayoutSlot​(String baseClassName,
                           com.google.gwt.user.client.ui.Widget widget)
    • Method Detail

      • getCaption

        public VCaption getCaption()
      • setCaption

        public void setCaption​(VCaption caption)
      • getWidget

        public com.google.gwt.user.client.ui.Widget getWidget()
      • setAlignment

        public void setAlignment​(AlignmentInfo alignment)
      • positionHorizontally

        public void positionHorizontally​(double currentLocation,
                                         double allocatedSpace,
                                         double marginRight)
      • positionVertically

        public void positionVertically​(double currentLocation,
                                       double allocatedSpace,
                                       double marginBottom)
      • reportActualRelativeHeight

        protected void reportActualRelativeHeight​(int allocatedHeight)
      • reportActualRelativeWidth

        protected void reportActualRelativeWidth​(int allocatedWidth)
      • positionInDirection

        public void positionInDirection​(double currentLocation,
                                        double allocatedSpace,
                                        double endingMargin,
                                        boolean isVertical)
      • getWidgetSizeInDirection

        public int getWidgetSizeInDirection​(boolean isVertical)
      • getUsedWidth

        public int getUsedWidth()
      • getUsedHeight

        public int getUsedHeight()
      • getUsedSizeInDirection

        public int getUsedSizeInDirection​(boolean isVertical)
      • getCaptionHeight

        protected abstract int getCaptionHeight()
      • getCaptionWidth

        protected abstract int getCaptionWidth()
      • getWidgetHeight

        public abstract int getWidgetHeight()
      • getWidgetWidth

        public abstract int getWidgetWidth()
      • isUndefinedHeight

        public abstract boolean isUndefinedHeight()
      • isUndefinedWidth

        public abstract boolean isUndefinedWidth()
      • isUndefinedInDirection

        public boolean isUndefinedInDirection​(boolean isVertical)
      • isRelativeHeight

        public abstract boolean isRelativeHeight()
      • isRelativeWidth

        public abstract boolean isRelativeWidth()
      • isRelativeInDirection

        public boolean isRelativeInDirection​(boolean isVertical)
      • getWrapperElement

        public com.google.gwt.user.client.Element getWrapperElement()
      • setExpandRatio

        public void setExpandRatio​(double expandRatio)
      • getExpandRatio

        public double getExpandRatio()