source: josm/trunk/src/org/openstreetmap/josm/gui/ShowHideButtonListener.java@ 12902

Last change on this file since 12902 was 12391, checked in by michael2402, 7 years ago

See #14794: Documentation for the gui package

  • Property svn:eol-style set to native
File size: 525 bytes
RevLine 
[4609]1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui;
3
4/**
5 * When some component (ToggleDialog, for example) is linked to button
[6070]6 * and needs information about button showing/hiding events, this interface
[4609]7 * is used, setting the listener should be implemented by @class HideableButton
8 */
9public interface ShowHideButtonListener {
[12391]10 /**
11 * Called when the button is shown
12 */
[8512]13 void buttonShown();
[8510]14
[12391]15 /**
16 * Called when the button is hidden
17 */
[8512]18 void buttonHidden();
[4609]19}
Note: See TracBrowser for help on using the repository browser.