com.arsdigita.bebop
Class TextStylable
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.TextStylable
- All Implemented Interfaces:
- Cloneable, Component, Lockable
- Direct Known Subclasses:
- BaseLink, BlockStylable
- public abstract class TextStylable
- extends SimpleComponent
Encapsulates standard methods to style text in a
Bebop component.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/bebop/TextStylable.java#9 $
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
children, clone, exportAttributes, generateXML, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
versionId
public static final String versionId
- See Also:
- Constant Field Values
TextStylable
public TextStylable()
setColor
public void setColor(Color color)
- Sets a component's foreground or text color.
- Parameters:
color
- the color to set for this component
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
- Sets a component's background color.
- Parameters:
backgroundColor
- the color to set for this component's background
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC