public class StyledTextAttribute
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
StyledTextAttribute.AttributeType  | 
| Modifier and Type | Field and Description | 
|---|---|
static StyledTextAttribute | 
defaultStyledTextAttribute  | 
| Constructor and Description | 
|---|
StyledTextAttribute()
Construct a StyledTextAttribute with the default label style for this look and feel 
 | 
StyledTextAttribute(java.awt.Font font, java.awt.Color foreground)
Construct a StyledTextAttribute with the given font and foreground color 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAttribute(StyledTextAttribute.AttributeType type, java.lang.Object value)  | 
boolean | 
equals(java.lang.Object o)  | 
java.lang.Object | 
getAttribute(StyledTextAttribute.AttributeType type)  | 
java.lang.String | 
toString()  | 
public static final StyledTextAttribute defaultStyledTextAttribute
public StyledTextAttribute()
public StyledTextAttribute(java.awt.Font font,
                   java.awt.Color foreground)
font -foreground -public java.lang.Object getAttribute(StyledTextAttribute.AttributeType type)
public void addAttribute(StyledTextAttribute.AttributeType type, java.lang.Object value)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object