org.springframework.richclient.command.config
Class PullDownMenuButtonConfigurer

java.lang.Object
  extended by org.springframework.richclient.command.config.DefaultCommandButtonConfigurer
      extended by org.springframework.richclient.command.config.PullDownMenuButtonConfigurer
All Implemented Interfaces:
CommandButtonConfigurer

public final class PullDownMenuButtonConfigurer
extends DefaultCommandButtonConfigurer

CommandButtonConfigurer for pulldown menu buttons.

Sets a custom icon (arrow down), and the text is shown before the icon.

Author:
Keith Donald

Constructor Summary
PullDownMenuButtonConfigurer()
           
 
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

PullDownMenuButtonConfigurer

public PullDownMenuButtonConfigurer()
Method Detail

configure

public void configure(AbstractButton button,
                      AbstractCommand command,
                      CommandFaceDescriptor faceDescriptor)
Description copied from class: DefaultCommandButtonConfigurer
Configures the given button and optional command object with the properties of the given descriptor.

Specified by:
configure in interface CommandButtonConfigurer
Overrides:
configure in class DefaultCommandButtonConfigurer
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-2008 The Spring Framework. All Rights Reserved.