Package com.vaadin.ui
Class GridLayout.OverlapsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.vaadin.ui.GridLayout.OverlapsException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- GridLayout
public class GridLayout.OverlapsException extends java.lang.RuntimeExceptionGridlayout does not support laying components on top of each other. AnOverlapsExceptionis 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
-
-
Constructor Summary
Constructors Constructor Description OverlapsException(GridLayout.Area existingArea)Constructs anOverlapsException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GridLayout.AreagetArea()Gets the area .java.lang.StringgetMessage()
-
-
-
Constructor Detail
-
OverlapsException
public OverlapsException(GridLayout.Area existingArea)
Constructs anOverlapsException.- Parameters:
existingArea- the existing area that needs overlapping
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
getArea
public GridLayout.Area getArea()
Gets the area .- Returns:
- the existing area.
-
-