com.levigo.util.swing.action
Class MenuComponentCreationAdapter
java.lang.Object
com.levigo.util.swing.action.MenuComponentCreationAdapter
- All Implemented Interfaces:
- MenuComponentCreationListener
public class MenuComponentCreationAdapter
- extends Object
- implements MenuComponentCreationListener
Just an adapter class of MenuComponentCreationListener
with empty methods.
- Author:
- Carolin Koehler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuComponentCreationAdapter
public MenuComponentCreationAdapter()
creationFailure
public void creationFailure(NamedMenuComponentFactory source,
String message,
String key,
Throwable t)
- Description copied from interface:
MenuComponentCreationListener
- This method will be called if a failure occurred while menu component creation.
- Specified by:
creationFailure
in interface MenuComponentCreationListener
- Parameters:
source
- The source object where the failure occurred.message
- A failure descriptionkey
- (optional) The key of the problematic menu structure or null
t
- (optional) the occurred Throwable
or null
creationWarning
public void creationWarning(NamedMenuComponentFactory source,
String message,
String key)
- Description copied from interface:
MenuComponentCreationListener
- This method will be called if something happens while menu component creation, which should be
notified as a warning indicating a potential problem.
- Specified by:
creationWarning
in interface MenuComponentCreationListener
- Parameters:
source
- The source object where the problem occurred.message
- A problem descriptionkey
- (optional) The key of the problematic menu structure or null
creationInformation
public void creationInformation(NamedMenuComponentFactory source,
String message,
String key)
- Description copied from interface:
MenuComponentCreationListener
- This method will be called when ever informational messages should be provided while a menu
component creation.
- Specified by:
creationInformation
in interface MenuComponentCreationListener
- Parameters:
source
- The source object which propagates the information.message
- A messagekey
- (optional) The key of the menu structure or null