001    package com.sptci.echo2;
002    
003    import nextapp.echo2.app.Button;
004    import nextapp.echo2.app.Style;
005    
006    /**
007     * A view component that displays the SPT logo.
008     *
009     * <p><b>Note:</b> If you wish to use a different image or style for
010     * the logo, invoke {@link #setStyle} or {@link #setStyleName} as
011     * appropriate.</p>
012     *
013     * <p>Copyright 2007 Sans Pareil Technologies, Inc.</p>
014     * @see SPTListener
015     * @see com.sptci.echo2.style.Logo
016     * @author Rakesh Vidyadharan 2007-04-21
017     * @version $Id: Logo.java 3096 2007-04-22 01:07:41Z rakesh $
018     */
019    public class Logo extends Button
020    {
021      /**
022       * The style class to use with this component.
023       */
024      private static final Style STYLE = new com.sptci.echo2.style.Logo();
025    
026      /**
027       * Create a new instance of the component.  Apply the style for the
028       * logo as well as the action listener for the logo.
029       */
030      public Logo()
031      {
032        super();
033        setStyle( STYLE );
034        addActionListener( new SPTListener() );
035      }
036    }