001    package com.sptci.rwt.webui.style;
002    
003    import nextapp.echo2.app.SplitPane;
004    
005    import com.sptci.echo2.Dimensions;
006    import com.sptci.echo2.style.Background;
007    import com.sptci.echo2.style.Extent;
008    import com.sptci.echo2.style.General;
009    
010    import com.sptci.rwt.webui.MainView;
011    
012    /**
013     * The {@link nextapp.echo2.app.StyleSheet} for the application.
014     *
015     * <p>&copy; Copyright 2007 <a href='http://sptci.com/' target='_new'>Sans Pareil Technologies, Inc.</a></p>
016     * @author Rakesh Vidyadharan 2007-09-30
017     * @version $Id: DisplayArea.java 4123 2008-05-25 21:49:01Z rakesh $
018     */
019    public class DisplayArea extends General
020    {
021      /**
022       * Initialise the style properties.
023       */
024      @Override
025      protected void init()
026      {
027        super.init();
028        setProperty( SplitPane.PROPERTY_RESIZABLE, true );
029        setProperty( SplitPane.PROPERTY_SEPARATOR_POSITION,
030            Extent.getInstance( Dimensions.getInt(
031            MainView.class.getName() + ".displayArea.width" ) ) );
032      }
033    }