com.levigo.util.swing.action
Class MenuComponentCreationAdapter

java.lang.Object
  extended by 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

Constructor Summary
MenuComponentCreationAdapter()
           
 
Method Summary
 void creationFailure(NamedMenuComponentFactory source, String message, String key, Throwable t)
          This method will be called if a failure occurred while menu component creation.
 void creationInformation(NamedMenuComponentFactory source, String message, String key)
          This method will be called when ever informational messages should be provided while a menu component creation.
 void creationWarning(NamedMenuComponentFactory source, String message, String key)
          This method will be called if something happens while menu component creation, which should be notified as a warning indicating a potential problem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuComponentCreationAdapter

public MenuComponentCreationAdapter()
Method Detail

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 description
key - (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 description
key - (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 message
key - (optional) The key of the menu structure or null


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.