001 package com.sptci.echo2.style;
002
003 import nextapp.echo2.app.Insets;
004
005 /**
006 * The default style class for column containers.
007 *
008 * <p>Copyright 2006 Sans Pareil Technologies, Inc.</p>
009 * @author Rakesh Vidyadharan 2006-11-06
010 * @version $Id: Column.java 3334 2007-06-08 16:25:49Z rakesh $
011 */
012 public class Column extends Style
013 {
014 /**
015 * Initialise the style properties.
016 */
017 @Override
018 protected void init()
019 {
020 setProperty( nextapp.echo2.app.Column.PROPERTY_CELL_SPACING,
021 Extent.getInstance( 10, Extent.PX ) );
022 setProperty( nextapp.echo2.app.Column.PROPERTY_INSETS, new Insets(
023 Extent.getInstance( 5, Extent.PX ), Extent.getInstance( 5, Extent.PX ),
024 Extent.getInstance( 5, Extent.PX ), Extent.getInstance( 5, Extent.PX ) ) );
025 }
026 }