001 package com.sptci.echo2.style;
002
003 import nextapp.echo2.app.Grid;
004 import nextapp.echo2.app.Insets;
005
006 import com.sptci.echo2.style.General;
007
008 /**
009 * The style class for the grid that is used to display the login
010 * controls in {@link com.sptci.echo2.LoginPane}.
011 *
012 * <p>Copyright 2007 Sans Pareil Technologies, Inc.</p>
013 * @author Rakesh Vidyadharan 2007-04-21
014 * @version $Id: LoginPaneGrid.java 3334 2007-06-08 16:25:49Z rakesh $
015 */
016 public class LoginPaneGrid extends General
017 {
018 /**
019 * Initialise the style properties.
020 */
021 @Override
022 protected void init()
023 {
024 super.init();
025 setProperty( Grid.PROPERTY_INSETS, new Insets( Extent.getInstance( 5 ) ) );
026 setProperty( Grid.PROPERTY_SIZE, new Integer( 2 ) );
027 }
028 }