echopoint.style
Class AnchorStyle
java.lang.Object
nextapp.echo.app.MutableStyle
echopoint.style.AbstractStyle
echopoint.style.AnchorStyle
- All Implemented Interfaces:
- Serializable, Style
public class AnchorStyle
- extends AbstractStyle
The default style used for all Anchor components.
- Version:
- $Id: AnchorStyle.java 208 2009-05-25 02:40:35Z sptrakesh $
- Author:
- Rakesh 2009-05-12
- See Also:
- Serialized Form
|
Field Summary |
static String |
COLOR
The default foreground colour for the anchor tag. |
static String |
TARGET
The default target to associate with the anchor tag. |
|
Method Summary |
protected void |
init()
Mandatory style initialisation method to be implemented by all
sub-classes. |
| Methods inherited from class nextapp.echo.app.MutableStyle |
addStyleContent, getIndex, getIndexedProperty, getProperty, getPropertyIndices, getPropertyNames, isIndexedPropertySet, isPropertySet, removeIndexedProperty, removeProperty, set, setIndex, setIndexedProperty, setProperty, size, toString |
COLOR
public static final String COLOR
- The default foreground colour for the anchor tag.
"#2f2f4f"
- See Also:
- Constant Field Values
TARGET
public static final String TARGET
- The default target to associate with the anchor tag.
"_blank"
- See Also:
- Constant Field Values
AnchorStyle
public AnchorStyle()
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()