001 // License: GPL. For details, see LICENSE file.
002 package 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 */
009 public interface ShowHideButtonListener {
010 public void buttonShown();
011 public void buttonHidden();
012 }