llnl.visit
Class FontAttributes

java.lang.Object
  extended by llnl.visit.AttributeSubject
      extended by llnl.visit.FontAttributes

public class FontAttributes
extends AttributeSubject


Field Summary
static int FONTNAME_ARIAL
           
static int FONTNAME_COURIER
           
static int FONTNAME_TIMES
           
 
Constructor Summary
FontAttributes()
           
FontAttributes(FontAttributes obj)
           
FontAttributes(int nMoreFields)
           
 
Method Summary
 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.
 
Methods inherited from class llnl.visit.AttributeSubject
Attach, boolToString, 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, WriteSelect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FONTNAME_ARIAL

public static final int FONTNAME_ARIAL
See Also:
Constant Field Values

FONTNAME_COURIER

public static final int FONTNAME_COURIER
See Also:
Constant Field Values

FONTNAME_TIMES

public static final int FONTNAME_TIMES
See Also:
Constant Field Values
Constructor Detail

FontAttributes

public FontAttributes()

FontAttributes

public FontAttributes(int nMoreFields)

FontAttributes

public FontAttributes(FontAttributes obj)
Method Detail

Offset

public int Offset()
Description copied from class: AttributeSubject
Returns the offset into the selected table where this state object's fields begin.

Overrides:
Offset in class AttributeSubject
Returns:
An offset into the selected table.

GetNumAdditionalAttributes

public int GetNumAdditionalAttributes()
Description copied from class: AttributeSubject
Returns the number of attributes added in this level of the state object.

Overrides:
GetNumAdditionalAttributes in class AttributeSubject
Returns:
The number of attributes added in this level of the state object.

equals

public boolean equals(FontAttributes obj)

SetFont

public void SetFont(int font_)

SetScale

public void SetScale(double scale_)

SetUseForegroundColor

public void SetUseForegroundColor(boolean useForegroundColor_)

SetColor

public void SetColor(ColorAttribute color_)

SetBold

public void SetBold(boolean bold_)

SetItalic

public void SetItalic(boolean italic_)

GetFont

public int GetFont()

GetScale

public double GetScale()

GetUseForegroundColor

public boolean GetUseForegroundColor()

GetColor

public ColorAttribute GetColor()

GetBold

public boolean GetBold()

GetItalic

public boolean GetItalic()

WriteAtts

public void WriteAtts(CommunicationBuffer buf)
Description copied from class: AttributeSubject
Writes the selected fields of the object to the buffer.

Overrides:
WriteAtts in class AttributeSubject
Parameters:
buf - The communication buffer to which the object will be written.

ReadAtts

public void ReadAtts(int index,
                     CommunicationBuffer buf)
Description copied from class: AttributeSubject
Reads the specified index's data from the buffer into the object.

Specified by:
ReadAtts in class AttributeSubject
buf - The communication buffer to from which the object will be read.

toString

public java.lang.String toString(java.lang.String indent)
Overrides:
toString in class AttributeSubject