Field

Inheritance: java.lang.Object

public class Field

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

Constructors

Constructor Description
Field() Constructor.

Methods

Method Description
deepClone() Creates deep copy of this instance.
equals(Object arg0)
getCalendar() Determines the calendar that is used for custom properties, text fields, and element formulas.
getClass()
getDel() A flag indicating whether the element has been deleted locally.
getDisplayValue() Gets the formatted string value of this field .
getEditMode() Reserved for future use.
getFormat() Format element specifies the formatting for a text field that is a string, number, date or time, duration, or currency.
getIX() The zero-based index of the element within its parent element.
getObjectKind() Indicates the type of text field.
getType() Type specifies a data type for the text field value.
getUICat() Specifies the category of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
getUICod() Specifies the code of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
getUIFmt() Specifies the format of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
getValue() It contains the value for a text field.
hashCode()
notify()
notifyAll()
setDel(int value) For the description of this property, please see getDel()
setIX(int value) For the description of this property, please see getIX()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Field()

public Field()

Constructor.

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getCalendar()

public Calendar getCalendar()

Determines the calendar that is used for custom properties, text fields, and element formulas.

Returns: Calendar

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

getDisplayValue()

public String getDisplayValue()

Gets the formatted string value of this field .

Returns: java.lang.String

getEditMode()

public DoubleValue getEditMode()

Reserved for future use.

Returns: DoubleValue

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.

Returns: Value

getIX()

public int getIX()

The zero-based index of the element within its parent element.

Returns: int

getObjectKind()

public ObjectKind getObjectKind()

Indicates the type of text field.

Returns: ObjectKind

getType()

public TypeField getType()

Type specifies a data type for the text field value.

Returns: TypeField

getUICat()

public DoubleValue getUICat()

Specifies the category of an inserted field in versions of Microsoft Visio earlier than Visio 2000.

Returns: DoubleValue

getUICod()

public DoubleValue getUICod()

Specifies the code of an inserted field in versions of Microsoft Visio earlier than Visio 2000.

Returns: DoubleValue

getUIFmt()

public DoubleValue getUIFmt()

Specifies the format of an inserted field in versions of Microsoft Visio earlier than Visio 2000.

Returns: DoubleValue

getValue()

public Value getValue()

It contains the value for a text field.

Returns: Value

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

Parameter Type Description
value int

setIX(int value)

public void setIX(int value)

For the description of this property, please see getIX()

Parameters:

Parameter Type Description
value int

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int