001    package com.sptci.echo2.style;
002    
003    import nextapp.echo2.app.Color;
004    import nextapp.echo2.app.Component;
005    
006    /**
007     * A general style class for components.  This style does not include 
008     * any <code>LayoutData</code> and may be used to embed text in any 
009     * container.
010     *
011     * <p>Copyright 2006 Sans Pareil Technologies, Inc.</p>
012     * @author Rakesh Vidyadharan 2006-11-06
013     * @version $Id: General.java 3316 2007-06-07 16:16:27Z rakesh $
014     */
015    public class General extends Style
016    {
017      /**
018       * Initialise the style properties.
019       */
020      @Override
021      protected void init()
022      {
023        setProperty( Component.PROPERTY_BACKGROUND, new Color( 0xffffff ) );
024        setProperty( Component.PROPERTY_FONT, Font.getInstance() );
025        setProperty( Component.PROPERTY_FOREGROUND, new Color( 0x000000 ) );
026      }
027    }