|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.swing.action.CommandCreationAdapter
public class CommandCreationAdapter
Just an adapter class of CommandCreationListener
with empty methods.
Constructor Summary | |
---|---|
CommandCreationAdapter()
|
Method Summary | |
---|---|
void |
creationFailure(NamedCommandFactory source,
String message,
String key,
Throwable t)
This method will be called if a failure occurred while command or command factory creation. |
void |
creationInformation(NamedCommandFactory source,
String message,
String key)
This method will be called when ever informational messages should be provided while a command creation. |
void |
creationWarning(NamedCommandFactory source,
String message,
String key)
This method will be called if something happens while command 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 |
---|
public CommandCreationAdapter()
Method Detail |
---|
public void creationFailure(NamedCommandFactory source, String message, String key, Throwable t)
CommandCreationListener
creationFailure
in interface CommandCreationListener
source
- The source object where the failure occurred or null
if the command
factory could not be created.message
- A failure descriptionkey
- The key of the problematic command or the name of the problematic command factoryt
- (optional) the occurred Throwable
or null
public void creationWarning(NamedCommandFactory source, String message, String key)
CommandCreationListener
creationWarning
in interface CommandCreationListener
source
- The source object where the problem occurred.message
- A problem descriptionkey
- (optional) The key of the problematic command or null
public void creationInformation(NamedCommandFactory source, String message, String key)
CommandCreationListener
creationInformation
in interface CommandCreationListener
source
- The source object which propagates the information.message
- A messagekey
- (optional) The key of the command or null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |