001    /*
002     * $Header$
003     * $Revision: 1998 $
004     * $Date: 2008-03-06 13:18:03 +0100 (Thu, 06 Mar 2008) $
005     *
006     * Copyright Computer Science Innovations (CSI), 2004. All rights reserved.
007     */
008    package org.springframework.richclient.factory;
009    
010    import javax.swing.AbstractButton;
011    
012    /**
013     * Marker for button configurers.
014     *
015     * @author Keith Donald
016     */
017    public interface ButtonConfigurer {
018    
019            /**
020             * Configure the given button.
021             *
022             * @param button The button that needs to be configured.
023             * @return the configured button.
024             */
025        public AbstractButton configure(AbstractButton button);
026    }