EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.style.echo
Class TextComponentStyle

java.lang.Object
  extended by nextapp.echo.app.MutableStyle
      extended by echopoint.style.AbstractStyle
          extended by echopoint.style.echo.TextComponentStyle
All Implemented Interfaces:
Serializable, Style

public class TextComponentStyle
extends AbstractStyle

A default style to apply to TextComponent derivatives.

Version:
$Id: TextComponentStyle.java 208 2009-05-25 02:40:35Z sptrakesh $
Author:
Rakesh Vidyadharan 2009-05-24
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class nextapp.echo.app.MutableStyle
MutableStyle.IndexedPropertyValue
 
Field Summary
static String BACKGROUND
          The background and border colour to apply.
 
Fields inherited from class echopoint.style.AbstractStyle
level, logger
 
Constructor Summary
TextComponentStyle()
           
 
Method Summary
protected  void init()
          Mandatory style initialisation method to be implemented by all sub-classes.
 
Methods inherited from class echopoint.style.AbstractStyle
get, setFont, setForeground
 
Methods inherited from class nextapp.echo.app.MutableStyle
addStyleContent, getIndex, getIndexedProperty, getProperty, getPropertyIndices, getPropertyNames, isIndexedPropertySet, isPropertySet, removeIndexedProperty, removeProperty, set, setIndex, setIndexedProperty, setProperty, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BACKGROUND

public static final String BACKGROUND
The background and border colour to apply. "#cfdfff"

See Also:
Constant Field Values
Constructor Detail

TextComponentStyle

public TextComponentStyle()
Method Detail

init

protected void init()
Mandatory style initialisation method to be implemented by all sub-classes. The default implementation sets the default font to use. Sub-classes should generally invoke super.init().

Overrides:
init in class AbstractStyle
See Also:
DefaultFont, AbstractStyle.setFont()

EchoPoint API - 3.0.0b5
App Webcontainer