com.aspose.diagram
Class Field

java.lang.Object
    extended by com.aspose.diagram.Field

public class Field 
extends java.lang.Object

Contains elements that specify functions and formulas inserted in the shape's text.


Constructor Summary
Field()
           Constructor.
 
Property Getters/Setters Summary
CalendargetCalendar()
           Determines the calendar that is used for custom properties, text fields, and element formulas.
intgetDel()
voidsetDel(int)
           A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
java.lang.StringgetDisplayValue()
           Gets the formatted string value of this field .
DoubleValuegetEditMode()
           Reserved for future use.
ValuegetFormat()
           Format element specifies the formatting for a text field that is a string, number, date or time, duration, or currency. The text field type is specified in the corresponding Type element.
intgetIX()
voidsetIX(int)
           The zero-based index of the element within its parent element.
ObjectKindgetObjectKind()
           Indicates the type of text field.
TypeFieldgetType()
           Type specifies a data type for the text field value.
DoubleValuegetUICat()
           Specifies the category of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
DoubleValuegetUICod()
           Specifies the code of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
DoubleValuegetUIFmt()
           Specifies the format of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
ValuegetValue()
           It contains the value for a text field.
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
 

Constructor Detail

Field

public Field()
Constructor.

Property Getters/Setters Detail

getIX/setIX

public int getIX() / public void setIX(int value)
The zero-based index of the element within its parent element.

getDel/setDel

public int getDel() / public void setDel(int value)
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

getValue

public Value getValue()
It contains the value for a text field.

getDisplayValue

public java.lang.String getDisplayValue()
Gets the formatted string value of this field .

getEditMode

public DoubleValue getEditMode()
Reserved for future use.

getFormat

public Value getFormat()
Format element specifies the formatting for a text field that is a string, number, date or time, duration, or currency. The text field type is specified in the corresponding Type element.

getType

public TypeField getType()
Type specifies a data type for the text field value.

getUICat

public DoubleValue getUICat()
Specifies the category of an inserted field in versions of Microsoft Visio earlier than Visio 2000.

getUICod

public DoubleValue getUICod()
Specifies the code of an inserted field in versions of Microsoft Visio earlier than Visio 2000.

getUIFmt

public DoubleValue getUIFmt()
Specifies the format of an inserted field in versions of Microsoft Visio earlier than Visio 2000.

getCalendar

public Calendar getCalendar()
Determines the calendar that is used for custom properties, text fields, and element formulas.

getObjectKind

public ObjectKind getObjectKind()
Indicates the type of text field.

Method Detail

deepClone

public java.lang.Object deepClone()
                throws java.lang.Exception
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.