org.springframework.richclient.command.config
Class DefaultCommandButtonConfigurer

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.command.config.DefaultCommandButtonConfigurer
All Implemented Interfaces:
CommandButtonConfigurer
Direct Known Subclasses:
JTaskPaneCommandButtonConfigurer, MenuItemButtonConfigurer, PullDownMenuButtonConfigurer, ToolBarCommandButtonConfigurer

public class DefaultCommandButtonConfigurer
extends Object
implements CommandButtonConfigurer

The default implementation of the CommandButtonConfigurer interface. This implementation ignores the command object and only configures the button.

Author:
Keith Donald

Constructor Summary
DefaultCommandButtonConfigurer()
           
 
Method Summary
 void configure(AbstractButton button, AbstractCommand command, CommandFaceDescriptor faceDescriptor)
          Configures the given button and optional command object with the properties of the given descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCommandButtonConfigurer

public DefaultCommandButtonConfigurer()
Method Detail

configure

public void configure(AbstractButton button,
                      AbstractCommand command,
                      CommandFaceDescriptor faceDescriptor)
Configures the given button and optional command object with the properties of the given descriptor.

Specified by:
configure in interface CommandButtonConfigurer
Parameters:
button - The button to be configured. Must not be null.
command - The command to be configured. May be null.
faceDescriptor - The object describing the visual properties of the command button. Must not be null.


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.