| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected java.lang.String |
styleName |
action, DEFAULT_STYLE, exFont| コンストラクタと説明 |
|---|
NamedTextStyle(java.lang.String styleName,
ExtendedFont exFont)
Constructs a named text style with the specified style name and
extended font.
|
NamedTextStyle(java.lang.String styleName,
java.awt.Font font)
Constructs a named text style with the specified style name and font.
|
NamedTextStyle(java.lang.String styleName,
java.awt.Font font,
java.awt.Color color)
Constructs a named text style with the specified style name, font,
and color.
|
NamedTextStyle(java.lang.String styleName,
java.awt.Font font,
java.awt.Color color,
boolean underline)
Constructs a named text style with the specified style name, font,
color, and underline.
|
NamedTextStyle(java.lang.String styleName,
java.lang.String name,
int style,
int size)
Constructs a named text style with the specified style name, font name,
font style and font size.
|
NamedTextStyle(java.lang.String styleName,
java.lang.String name,
int style,
int size,
java.awt.Color color)
Constructs a named text style with the specified style name, font name,
font style, font size and color.
|
NamedTextStyle(java.lang.String styleName,
java.lang.String name,
int style,
int size,
java.awt.Color color,
boolean underline)
Constructs a named text style with the specified style name, font name,
font style, font size, color, and underline.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.Object |
clone()
Returns a clone of this text style.
|
boolean |
equals(java.lang.Object anObject)
Compares two objects for equality.
|
java.lang.String |
getStyleName()
Returns the style name of this named text style.
|
int |
hashCode()
Returns a hashcode for this named text style.
|
void |
setStyleName(java.lang.String styleName)
Sets the style name of this named text style.
|
basedOn, concreteStyle, deriveBoldStyle, deriveItalicStyle, deriveStyle, deriveStyle, deriveStyle, deriveStyle, drawText, equalsFontAndAction, getClickableTextAction, getExtendedFont, getFont, getFontMetrics, isClickable, setClickableTextAction, toStringpublic NamedTextStyle(java.lang.String styleName,
java.lang.String name,
int style,
int size)
styleName - the style name of the text style.name - the name of the font.style - the style of the font.size - the point size of the font.public NamedTextStyle(java.lang.String styleName,
java.lang.String name,
int style,
int size,
java.awt.Color color)
styleName - the style name of the text style.name - the name of the font.style - the style of the font.size - the point size of the font.color - the color of the font.public NamedTextStyle(java.lang.String styleName,
java.lang.String name,
int style,
int size,
java.awt.Color color,
boolean underline)
styleName - the style name of the text style.name - the name of the font.style - the style of the font.size - the point size of the font.color - the color of the font.underline - the font is underlined.public NamedTextStyle(java.lang.String styleName,
java.awt.Font font)
styleName - the style name of the text style.font - the font of the style.public NamedTextStyle(java.lang.String styleName,
java.awt.Font font,
java.awt.Color color)
styleName - the style name of the text style.font - the font of the style.color - the color of the font.public NamedTextStyle(java.lang.String styleName,
java.awt.Font font,
java.awt.Color color,
boolean underline)
styleName - the style name of the text style.font - the font of the style.color - the color of the font.underline - the font is underlined.public NamedTextStyle(java.lang.String styleName,
ExtendedFont exFont)
styleName - the style name of the text style.exFont - the extended font of the style.public java.lang.String getStyleName()
public void setStyleName(java.lang.String styleName)
public int hashCode()
public boolean equals(java.lang.Object anObject)