public class AnnotationObject extends AttributeSubject
Modifier and Type | Field and Description |
---|---|
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_LINE3D |
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 and Description |
---|
AnnotationObject() |
AnnotationObject(AnnotationObject obj) |
AnnotationObject(int nMoreFields) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AnnotationObject obj) |
boolean |
GetActive() |
ColorAttribute |
GetColor1() |
ColorAttribute |
GetColor2() |
double |
GetDoubleAttribute1() |
boolean |
GetFontBold() |
int |
GetFontFamily() |
boolean |
GetFontItalic() |
boolean |
GetFontShadow() |
int |
GetIntAttribute1() |
int |
GetNumAdditionalAttributes()
Returns the number of attributes added in this level of the state object.
|
java.lang.String |
GetObjectName() |
int |
GetObjectType() |
MapNode |
GetOptions() |
double[] |
GetPosition() |
double[] |
GetPosition2() |
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 |
SetFontBold(boolean fontBold_) |
void |
SetFontFamily(int fontFamily_) |
void |
SetFontItalic(boolean fontItalic_) |
void |
SetFontShadow(boolean fontShadow_) |
void |
SetIntAttribute1(int intAttribute1_) |
void |
SetObjectName(java.lang.String objectName_) |
void |
SetObjectType(int objectType_) |
void |
SetOptions(MapNode options_) |
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 |
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.
|
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, WriteSelect
public static final int ANNOTATIONTYPE_TEXT2D
public static final int ANNOTATIONTYPE_TEXT3D
public static final int ANNOTATIONTYPE_TIMESLIDER
public static final int ANNOTATIONTYPE_LINE2D
public static final int ANNOTATIONTYPE_LINE3D
public static final int ANNOTATIONTYPE_ARROW2D
public static final int ANNOTATIONTYPE_ARROW3D
public static final int ANNOTATIONTYPE_BOX
public static final int ANNOTATIONTYPE_IMAGE
public static final int ANNOTATIONTYPE_LEGENDATTRIBUTES
public static final int ANNOTATIONTYPE_MAXANNOTATIONTYPE
public static final int FONTFAMILY_ARIAL
public static final int FONTFAMILY_COURIER
public static final int FONTFAMILY_TIMES
public AnnotationObject()
public AnnotationObject(int nMoreFields)
public AnnotationObject(AnnotationObject obj)
public int Offset()
AttributeSubject
Offset
in class AttributeSubject
public int GetNumAdditionalAttributes()
AttributeSubject
GetNumAdditionalAttributes
in class AttributeSubject
public boolean equals(AnnotationObject obj)
public void SetObjectName(java.lang.String objectName_)
public void SetObjectType(int objectType_)
public void SetVisible(boolean visible_)
public void SetActive(boolean active_)
public void SetPosition(double[] position_)
public void SetPosition(double e0, double e1, double e2)
public void SetPosition2(double[] position2_)
public void SetPosition2(double e0, double e1, double e2)
public void SetTextColor(ColorAttribute textColor_)
public void SetUseForegroundForTextColor(boolean useForegroundForTextColor_)
public void SetColor1(ColorAttribute color1_)
public void SetColor2(ColorAttribute color2_)
public void SetText(java.util.Vector text_)
public void SetFontFamily(int fontFamily_)
public void SetFontBold(boolean fontBold_)
public void SetFontItalic(boolean fontItalic_)
public void SetFontShadow(boolean fontShadow_)
public void SetDoubleAttribute1(double doubleAttribute1_)
public void SetIntAttribute1(int intAttribute1_)
public void SetOptions(MapNode options_)
public java.lang.String GetObjectName()
public int GetObjectType()
public boolean GetVisible()
public boolean GetActive()
public double[] GetPosition()
public double[] GetPosition2()
public ColorAttribute GetTextColor()
public boolean GetUseForegroundForTextColor()
public ColorAttribute GetColor1()
public ColorAttribute GetColor2()
public java.util.Vector GetText()
public int GetFontFamily()
public boolean GetFontBold()
public boolean GetFontItalic()
public boolean GetFontShadow()
public double GetDoubleAttribute1()
public int GetIntAttribute1()
public MapNode GetOptions()
public void WriteAtts(CommunicationBuffer buf)
AttributeSubject
WriteAtts
in class AttributeSubject
buf
- The communication buffer to which the object will be written.public void ReadAtts(int index, CommunicationBuffer buf)
AttributeSubject
ReadAtts
in class AttributeSubject
buf
- The communication buffer to from which the object will be read.public java.lang.String toString(java.lang.String indent)
toString
in class AttributeSubject