com.vaadin.ui
Class GridLayout.OverlapsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.vaadin.ui.GridLayout.OverlapsException
All Implemented Interfaces:
Serializable
Enclosing class:
GridLayout

public class GridLayout.OverlapsException
extends 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
Version:
7.0.0.alpha3
Author:
Vaadin Ltd.
See Also:
Serialized Form

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)
Constructs an OverlapsException.

Parameters:
existingArea -
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getArea

public GridLayout.Area getArea()
Gets the area .

Returns:
the existing area.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.