001/********************************************** 002 * Copyright (C) 2010 Lukas Laag 003 * This file is part of lib-gwt-svg. 004 * 005 * libgwtsvg is free software: you can redistribute it and/or modify 006 * it under the terms of the GNU Lesser General Public License as published by 007 * the Free Software Foundation, either version 3 of the License, or 008 * (at your option) any later version. 009 * 010 * libgwtsvg is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 013 * GNU Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public License 016 * along with libgwtsvg. If not, see http://www.gnu.org/licenses/ 017 **********************************************/ 018package org.vectomatic.dom.svg.events; 019 020import com.google.gwt.event.shared.HandlerRegistration; 021import com.google.gwt.event.shared.HasHandlers; 022 023/** 024 * A widget that implements this interface provides registration for 025 * {@link FocusOutHandler} instances. 026 */ 027public interface HasFocusOutHandlers extends HasHandlers { 028 /** 029 * Adds a {@link FocusOutHandler} handler. 030 * 031 * @param handler the focusout handler 032 * @return {@link HandlerRegistration} used to remove this handler 033 */ 034 HandlerRegistration addFocusOutHandler(FocusOutHandler handler); 035}