public class FontAttributes extends AttributeSubject
| Modifier and Type | Field and Description |
|---|---|
static int |
FONTNAME_ARIAL |
static int |
FONTNAME_COURIER |
static int |
FONTNAME_TIMES |
| Constructor and Description |
|---|
FontAttributes() |
FontAttributes(FontAttributes obj) |
FontAttributes(int nMoreFields) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(FontAttributes obj) |
boolean |
GetBold() |
ColorAttribute |
GetColor() |
int |
GetFont() |
boolean |
GetItalic() |
int |
GetNumAdditionalAttributes()
Returns the number of attributes added in this level of the state object.
|
double |
GetScale() |
boolean |
GetUseForegroundColor() |
int |
Offset()
Returns the offset into the selected table where this state object's fields begin.
|
void |
ReadAtts(int index,
CommunicationBuffer buf)
Reads the specified index's data from the buffer into the object.
|
void |
SetBold(boolean bold_) |
void |
SetColor(ColorAttribute color_) |
void |
SetFont(int font_) |
void |
SetItalic(boolean italic_) |
void |
SetScale(double scale_) |
void |
SetUseForegroundColor(boolean useForegroundColor_) |
java.lang.String |
toString(java.lang.String indent) |
void |
WriteAtts(CommunicationBuffer buf)
Writes the selected fields of the object to the buffer.
|
Attach, boolArrayToString, boolToString, boolVectorToString, Detach, doubleArrayToString, doubleToString, doubleVectorToString, floatArrayToString, floatToString, floatVectorToString, GetAttributeId, GetClassName, intArrayToString, intToString, intVectorToString, IsSelected, Notify, NumAttributes, NumAttributesSelected, Read, Select, SelectAll, SetAttributeId, stringToString, stringVectorToString, toString, ucharArrayToString, ucharToString, ucharVectorToString, UnSelectAll, Write, WriteSelectpublic static final int FONTNAME_ARIAL
public static final int FONTNAME_COURIER
public static final int FONTNAME_TIMES
public FontAttributes()
public FontAttributes(int nMoreFields)
public FontAttributes(FontAttributes obj)
public int Offset()
AttributeSubjectOffset in class AttributeSubjectpublic int GetNumAdditionalAttributes()
AttributeSubjectGetNumAdditionalAttributes in class AttributeSubjectpublic boolean equals(FontAttributes obj)
public void SetFont(int font_)
public void SetScale(double scale_)
public void SetUseForegroundColor(boolean useForegroundColor_)
public void SetColor(ColorAttribute color_)
public void SetBold(boolean bold_)
public void SetItalic(boolean italic_)
public int GetFont()
public double GetScale()
public boolean GetUseForegroundColor()
public ColorAttribute GetColor()
public boolean GetBold()
public boolean GetItalic()
public void WriteAtts(CommunicationBuffer buf)
AttributeSubjectWriteAtts in class AttributeSubjectbuf - The communication buffer to which the object will be written.public void ReadAtts(int index,
CommunicationBuffer buf)
AttributeSubjectReadAtts in class AttributeSubjectbuf - The communication buffer to from which the object will be read.public java.lang.String toString(java.lang.String indent)
toString in class AttributeSubject