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