We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
Enclosing class:
- extends RuntimeException
public class GridLayout.OverlapsException
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
Version:
6.8.18
Author:
Vaadin Ltd.
See Also:
Constructor Summary | |
---|---|
GridLayout.OverlapsException(GridLayout.Area existingArea)
Constructs an OverlapsException . |
Method Summary | |
---|---|
GridLayout.Area |
getArea()
Gets the area . |
String |
getMessage()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, 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 |
---|
GridLayout.OverlapsException
public GridLayout.OverlapsException(GridLayout.Area existingArea)
- Parameters:
existingArea
-
Constructs an OverlapsException
.
Method Detail |
---|
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
getArea
public GridLayout.Area getArea()
- Returns:
- the existing area.
Gets the area .