EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.style.echo
Class AbstractButtonStyle

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

public class AbstractButtonStyle
extends AbstractStyle

The default style to associate with button components.

Version:
$Id: AbstractButtonStyle.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 BORDER
          The border colour to use for the button.
static String DISABLED_FOREGROUND
          The foreground colour to use when the button is disabled.
static String ROLLOVER_BORDER
          The rollover border colour to apply to the button.
 
Fields inherited from class echopoint.style.AbstractStyle
level, logger
 
Constructor Summary
AbstractButtonStyle()
           
 
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

BORDER

public static final String BORDER
The border colour to use for the button. "#709bcd"

See Also:
Constant Field Values

ROLLOVER_BORDER

public static final String ROLLOVER_BORDER
The rollover border colour to apply to the button. "#bcd6f4"

See Also:
Constant Field Values

DISABLED_FOREGROUND

public static final String DISABLED_FOREGROUND
The foreground colour to use when the button is disabled. "#93bed5"

See Also:
Constant Field Values
Constructor Detail

AbstractButtonStyle

public AbstractButtonStyle()
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