aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbsoluteLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/AbsoluteLayout.java')
-rw-r--r--src/com/vaadin/ui/AbsoluteLayout.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/AbsoluteLayout.java b/src/com/vaadin/ui/AbsoluteLayout.java
index 7d8c402fc9..3fe5eb055a 100644
--- a/src/com/vaadin/ui/AbsoluteLayout.java
+++ b/src/com/vaadin/ui/AbsoluteLayout.java
@@ -30,6 +30,7 @@ public class AbsoluteLayout extends AbstractLayout implements
private AbsoluteLayoutServerRpc rpc = new AbsoluteLayoutServerRpc() {
+ @Override
public void layoutClick(MouseEventDetails mouseDetails,
Connector clickedConnector) {
fireEvent(LayoutClickEvent.createEvent(AbsoluteLayout.this,
@@ -56,6 +57,7 @@ public class AbsoluteLayout extends AbstractLayout implements
* Gets an iterator for going through all components enclosed in the
* absolute layout.
*/
+ @Override
public Iterator<Component> getComponentIterator() {
return componentToCoordinates.keySet().iterator();
}
@@ -66,6 +68,7 @@ public class AbsoluteLayout extends AbstractLayout implements
*
* @return the number of contained components
*/
+ @Override
public int getComponentCount() {
return componentToCoordinates.size();
}
@@ -74,6 +77,7 @@ public class AbsoluteLayout extends AbstractLayout implements
* Replaces one component with another one. The new component inherits the
* old components position.
*/
+ @Override
public void replaceComponent(Component oldComponent, Component newComponent) {
ComponentPosition position = getPosition(oldComponent);
removeComponent(oldComponent);
@@ -612,12 +616,14 @@ public class AbsoluteLayout extends AbstractLayout implements
}
+ @Override
public void addListener(LayoutClickListener listener) {
addListener(LayoutClickEventHandler.LAYOUT_CLICK_EVENT_IDENTIFIER,
LayoutClickEvent.class, listener,
LayoutClickListener.clickMethod);
}
+ @Override
public void removeListener(LayoutClickListener listener) {
removeListener(LayoutClickEventHandler.LAYOUT_CLICK_EVENT_IDENTIFIER,
LayoutClickEvent.class, listener);