001    package com.sptci.echo2.style;
002    
003    import nextapp.echo2.app.Button;
004    
005    import com.sptci.echo2.Configuration;
006    
007    /**
008     * The style class for the {@link com.sptci.echo2.Logout}
009     * button component.
010     *
011     * <p>Copyright 2007 Sans Pareil Technologies, Inc.</p>
012     * @author Rakesh Vidyadharan 2007-04-23
013     * @version $Id: Logout.java 3334 2007-06-08 16:25:49Z rakesh $
014     */
015    public class Logout extends Link
016    {
017      /**
018       * Initialise the style properties.  Over-ridden to set the
019       * text for the button.
020       */
021      @Override
022      protected void init()
023      {
024        super.init();
025        setProperty( Button.PROPERTY_TEXT, Configuration.getString(
026              com.sptci.echo2.Logout.class.getName() + ".text" ) );
027        setProperty( Button.PROPERTY_TOOL_TIP_TEXT, Configuration.getString(
028              com.sptci.echo2.Logout.class.getName() + ".tooltip" ) );
029      }
030    }