Last change
on this file since 7524 was 6380, checked in by Don-vip, 11 years ago |
update license/copyright information
|
File size:
521 bytes
|
Rev | Line | |
---|
[6380] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
[4609] | 2 | package org.openstreetmap.josm.gui;
|
---|
| 3 |
|
---|
| 4 | import javax.swing.Icon;
|
---|
| 5 |
|
---|
| 6 | /**
|
---|
| 7 | * An interface to provide showing/hiding method for buttons,
|
---|
| 8 | * when hidden state is stored in preferences
|
---|
| 9 | */
|
---|
| 10 | interface HideableButton {
|
---|
[4840] | 11 | void applyButtonHiddenPreferences();
|
---|
| 12 | void setButtonHidden(boolean b);
|
---|
| 13 | void showButton();
|
---|
| 14 | void hideButton();
|
---|
| 15 | String getActionName();
|
---|
| 16 | Icon getIcon();
|
---|
| 17 | boolean isButtonVisible();
|
---|
| 18 | void setShowHideButtonListener(ShowHideButtonListener l);
|
---|
[4609] | 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.