Package com.vaadin.ui

Class GridLayout.OverlapsException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    GridLayout

    public class GridLayout.OverlapsException
    extends java.lang.RuntimeException
    Gridlayout does not support laying components on top of each other. An OverlapsException is thrown when a component already exists (even partly) at the same space on a grid with the new component.
    Since:
    3.0
    Author:
    Vaadin Ltd.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GridLayout.Area getArea()
      Gets the area .
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OverlapsException

        public OverlapsException​(GridLayout.Area existingArea)
        Constructs an OverlapsException.
        Parameters:
        existingArea - the existing area that needs overlapping
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getArea

        public GridLayout.Area getArea()
        Gets the area .
        Returns:
        the existing area.