llnl.visit
Class AnnotationObject

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

public class AnnotationObject
extends AttributeSubject


Field Summary
static int ANNOTATIONTYPE_ARROW2D
           
static int ANNOTATIONTYPE_ARROW3D
           
static int ANNOTATIONTYPE_BOX
           
static int ANNOTATIONTYPE_IMAGE
           
static int ANNOTATIONTYPE_LEGENDATTRIBUTES
           
static int ANNOTATIONTYPE_LINE2D
           
static int ANNOTATIONTYPE_MAXANNOTATIONTYPE
           
static int ANNOTATIONTYPE_TEXT2D
           
static int ANNOTATIONTYPE_TEXT3D
           
static int ANNOTATIONTYPE_TIMESLIDER
           
static int FONTFAMILY_ARIAL
           
static int FONTFAMILY_COURIER
           
static int FONTFAMILY_TIMES
           
 
Constructor Summary
AnnotationObject()
           
AnnotationObject(AnnotationObject obj)
           
AnnotationObject(int nMoreFields)
           
 
Method Summary
 boolean equals(AnnotationObject obj)
           
 boolean GetActive()
           
 ColorAttribute GetColor1()
           
 ColorAttribute GetColor2()
           
 double GetDoubleAttribute1()
           
 java.util.Vector GetDoubleVector1()
           
 boolean GetFontBold()
           
 int GetFontFamily()
           
 boolean GetFontItalic()
           
 boolean GetFontShadow()
           
 int GetIntAttribute1()
           
 int GetIntAttribute2()
           
 int GetIntAttribute3()
           
 int GetNumAdditionalAttributes()
          Returns the number of attributes added in this level of the state object.
 java.lang.String GetObjectName()
           
 int GetObjectType()
           
 double[] GetPosition()
           
 double[] GetPosition2()
           
 java.util.Vector GetStringVector1()
           
 java.util.Vector GetStringVector2()
           
 java.util.Vector GetText()
           
 ColorAttribute GetTextColor()
           
 boolean GetUseForegroundForTextColor()
           
 boolean GetVisible()
           
 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 SetActive(boolean active_)
           
 void SetColor1(ColorAttribute color1_)
           
 void SetColor2(ColorAttribute color2_)
           
 void SetDoubleAttribute1(double doubleAttribute1_)
           
 void SetDoubleVector1(java.util.Vector doubleVector1_)
           
 void SetFontBold(boolean fontBold_)
           
 void SetFontFamily(int fontFamily_)
           
 void SetFontItalic(boolean fontItalic_)
           
 void SetFontShadow(boolean fontShadow_)
           
 void SetIntAttribute1(int intAttribute1_)
           
 void SetIntAttribute2(int intAttribute2_)
           
 void SetIntAttribute3(int intAttribute3_)
           
 void SetObjectName(java.lang.String objectName_)
           
 void SetObjectType(int objectType_)
           
 void SetPosition(double[] position_)
           
 void SetPosition(double e0, double e1, double e2)
           
 void SetPosition2(double[] position2_)
           
 void SetPosition2(double e0, double e1, double e2)
           
 void SetStringVector1(java.util.Vector stringVector1_)
           
 void SetStringVector2(java.util.Vector stringVector2_)
           
 void SetText(java.util.Vector text_)
           
 void SetTextColor(ColorAttribute textColor_)
           
 void SetUseForegroundForTextColor(boolean useForegroundForTextColor_)
           
 void SetVisible(boolean visible_)
           
 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

ANNOTATIONTYPE_TEXT2D

public static final int ANNOTATIONTYPE_TEXT2D
See Also:
Constant Field Values

ANNOTATIONTYPE_TEXT3D

public static final int ANNOTATIONTYPE_TEXT3D
See Also:
Constant Field Values

ANNOTATIONTYPE_TIMESLIDER

public static final int ANNOTATIONTYPE_TIMESLIDER
See Also:
Constant Field Values

ANNOTATIONTYPE_LINE2D

public static final int ANNOTATIONTYPE_LINE2D
See Also:
Constant Field Values

ANNOTATIONTYPE_ARROW2D

public static final int ANNOTATIONTYPE_ARROW2D
See Also:
Constant Field Values

ANNOTATIONTYPE_ARROW3D

public static final int ANNOTATIONTYPE_ARROW3D
See Also:
Constant Field Values

ANNOTATIONTYPE_BOX

public static final int ANNOTATIONTYPE_BOX
See Also:
Constant Field Values

ANNOTATIONTYPE_IMAGE

public static final int ANNOTATIONTYPE_IMAGE
See Also:
Constant Field Values

ANNOTATIONTYPE_LEGENDATTRIBUTES

public static final int ANNOTATIONTYPE_LEGENDATTRIBUTES
See Also:
Constant Field Values

ANNOTATIONTYPE_MAXANNOTATIONTYPE

public static final int ANNOTATIONTYPE_MAXANNOTATIONTYPE
See Also:
Constant Field Values

FONTFAMILY_ARIAL

public static final int FONTFAMILY_ARIAL
See Also:
Constant Field Values

FONTFAMILY_COURIER

public static final int FONTFAMILY_COURIER
See Also:
Constant Field Values

FONTFAMILY_TIMES

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

AnnotationObject

public AnnotationObject()

AnnotationObject

public AnnotationObject(int nMoreFields)

AnnotationObject

public AnnotationObject(AnnotationObject 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(AnnotationObject obj)

SetObjectName

public void SetObjectName(java.lang.String objectName_)

SetObjectType

public void SetObjectType(int objectType_)

SetVisible

public void SetVisible(boolean visible_)

SetActive

public void SetActive(boolean active_)

SetPosition

public void SetPosition(double[] position_)

SetPosition

public void SetPosition(double e0,
                        double e1,
                        double e2)

SetPosition2

public void SetPosition2(double[] position2_)

SetPosition2

public void SetPosition2(double e0,
                         double e1,
                         double e2)

SetTextColor

public void SetTextColor(ColorAttribute textColor_)

SetUseForegroundForTextColor

public void SetUseForegroundForTextColor(boolean useForegroundForTextColor_)

SetColor1

public void SetColor1(ColorAttribute color1_)

SetColor2

public void SetColor2(ColorAttribute color2_)

SetText

public void SetText(java.util.Vector text_)

SetFontFamily

public void SetFontFamily(int fontFamily_)

SetFontBold

public void SetFontBold(boolean fontBold_)

SetFontItalic

public void SetFontItalic(boolean fontItalic_)

SetFontShadow

public void SetFontShadow(boolean fontShadow_)

SetDoubleAttribute1

public void SetDoubleAttribute1(double doubleAttribute1_)

SetIntAttribute1

public void SetIntAttribute1(int intAttribute1_)

SetIntAttribute2

public void SetIntAttribute2(int intAttribute2_)

SetIntAttribute3

public void SetIntAttribute3(int intAttribute3_)

SetDoubleVector1

public void SetDoubleVector1(java.util.Vector doubleVector1_)

SetStringVector1

public void SetStringVector1(java.util.Vector stringVector1_)

SetStringVector2

public void SetStringVector2(java.util.Vector stringVector2_)

GetObjectName

public java.lang.String GetObjectName()

GetObjectType

public int GetObjectType()

GetVisible

public boolean GetVisible()

GetActive

public boolean GetActive()

GetPosition

public double[] GetPosition()

GetPosition2

public double[] GetPosition2()

GetTextColor

public ColorAttribute GetTextColor()

GetUseForegroundForTextColor

public boolean GetUseForegroundForTextColor()

GetColor1

public ColorAttribute GetColor1()

GetColor2

public ColorAttribute GetColor2()

GetText

public java.util.Vector GetText()

GetFontFamily

public int GetFontFamily()

GetFontBold

public boolean GetFontBold()

GetFontItalic

public boolean GetFontItalic()

GetFontShadow

public boolean GetFontShadow()

GetDoubleAttribute1

public double GetDoubleAttribute1()

GetIntAttribute1

public int GetIntAttribute1()

GetIntAttribute2

public int GetIntAttribute2()

GetIntAttribute3

public int GetIntAttribute3()

GetDoubleVector1

public java.util.Vector GetDoubleVector1()

GetStringVector1

public java.util.Vector GetStringVector1()

GetStringVector2

public java.util.Vector GetStringVector2()

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