001 package com.sptci.echo2.style;
002
003 /**
004 * A default style class for text components. This component is configured
005 * to render within a grid container.
006 *
007 * <p>Copyright 2006 Sans Pareil Technologies, Inc.</p>
008 * @author Rakesh Vidyadharan 2006-11-06
009 * @version $Id: DefaultTextComponent.java 3098 2007-04-22 02:53:49Z rakesh $
010 */
011 public class DefaultTextComponent extends TextComponent
012 {
013 /**
014 * Initialise the style properties. Over-ridden to set the layout
015 * data for the buton.
016 */
017 @Override
018 protected void init()
019 {
020 super.init();
021 setProperty( nextapp.echo2.app.text.TextComponent.PROPERTY_LAYOUT_DATA, getGridLayoutData() );
022 }
023 }