org.springframework.richclient.command.config
Interface CommandButtonConfigurer

All Known Implementing Classes:
DefaultCommandButtonConfigurer, MenuItemButtonConfigurer, PullDownMenuButtonConfigurer, ToolBarCommandButtonConfigurer

public interface CommandButtonConfigurer

A configurer for Swing buttons that have an associated command.

Author:
Keith Donald

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.
 

Method Detail

configure

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

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.
Throws:
IllegalArgumentException - if button or faceDescriptor are null.


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