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 FocusInHandler} instances.
026 */
027public interface HasFocusInHandlers extends HasHandlers {
028        /**
029         * Adds a {@link FocusInHandler} handler.
030         * 
031         * @param handler the focusin handler
032         * @return {@link HandlerRegistration} used to remove this handler
033         */
034        HandlerRegistration addFocusInHandler(FocusInHandler handler);
035}