com.pietschy.command.delegate
Interface DelegateProvider

All Known Implementing Classes:
CommandContainer, DelegateProviderSupport

public interface DelegateProvider

Marks an object as being a provider of delegates.

This interface is typically used to mark JComponents as having delegates which can then be queried by the FocusTrackingDelegateMediator.

As a convenience, CommandContainers implement this interface allowing the JComponent to simply delegate to an internal CommandContainer. You can also use a DelegateProviderSupport.

Version:
$Revision: 1.5 $
Author:
andrewp
See Also:
DelegatingCommand, FocusTrackingDelegateMediator

Method Summary
 ActionCommandExecutor getActionCommandExecutor(java.lang.String commandId)
          Gets the delegate with the specified id.
 

Method Detail

getActionCommandExecutor

ActionCommandExecutor getActionCommandExecutor(java.lang.String commandId)
Gets the delegate with the specified id.

Parameters:
commandId - the commands id.
Returns:
the command with the specified id, or null if it hasn't been registered with this container of one of its parents.


Copyright © 2006 - 2007 Andrew Pietsch