|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rational.test.ft.value.FontInfo
public class FontInfo
Provides information about a font.
| Field Summary | |
|---|---|
static int |
BOLD
|
static int |
ITALIC
|
static int |
PLAIN
|
static int |
STRIKEOUT
|
static int |
UNDERLINE
|
| Constructor Summary | |
|---|---|
FontInfo(java.lang.String name,
int style,
int size)
Constructs a FontInfo object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Returns true if the other object is a FontInfo object with
the same value. |
java.lang.String |
getName()
Returns the font name. |
int |
getSize()
Returns the font size. |
int |
getStyle()
Returns the font style. |
int |
hashCode()
Overloads the java.lang.Object core specification to return a data-specific
hash value rather than the default instance-specific hash code. |
void |
setName(java.lang.String name)
Sets the font name. |
void |
setSize(int size)
Sets the font size. |
void |
setStyle(int style)
Sets the font style. |
java.lang.String |
toString()
Returns a String describing the font. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PLAIN
public static final int BOLD
public static final int ITALIC
public static final int UNDERLINE
public static final int STRIKEOUT
| Constructor Detail |
|---|
public FontInfo(java.lang.String name,
int style,
int size)
FontInfo object.
name - the font namestyle - the font stylesize - the font sizeFont| Method Detail |
|---|
public java.lang.String getName()
public int getStyle()
public int getSize()
public void setName(java.lang.String name)
public void setStyle(int style)
public void setSize(int size)
public java.lang.String toString()
String describing the font.
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
true if the other object is a FontInfo object with
the same value. Otherwise, it returns false.
equals in class java.lang.Objectpublic int hashCode()
java.lang.Object core specification to return a data-specific
hash value rather than the default instance-specific hash code.
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||