001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.gui; 003 004/** 005 * When some component (ToggleDialog, for example) is linked to button 006 * and needs information about button showing/hiding events, this interface 007 * is used, setting the listener should be implemented by @class HideableButton 008 */ 009public interface ShowHideButtonListener { 010 /** 011 * Called when the button is shown 012 */ 013 void buttonShown(); 014 015 /** 016 * Called when the button is hidden 017 */ 018 void buttonHidden(); 019}