Skip to main content

TextFieldType Class

Contains information about a text field type in a presentation document.

Declaration

public final class TextFieldType extends Struct<TextFieldType>

Inherited Members

com.devexpress.system.Struct.equals(java.lang.Object)
com.devexpress.system.Struct.getHashCode()
com.devexpress.system.Struct.hashCode()
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.Struct
TextFieldType

Constructors

TextFieldType() Constructor

Initializes a new instance of the TextFieldType class.

Declaration

public TextFieldType()

TextFieldType(String name) Constructor

Initializes a new instance of the TextFieldType class with specified settings.

Declaration

public TextFieldType(String name)

Parameters

Name Type Description
name String

The name of the text field type.

Fields

DATE_TIME Field

The default date time format in the presentation rendering application.

Declaration

public static final TextFieldType DATE_TIME

Field Value

Type Description
TextFieldType

The default date time format in the presentation rendering application.

DATE_TIME_1 Field

The date-time value in the “MM/DD/YYYY” format. For example, “10/12/2026”.

Declaration

public static final TextFieldType DATE_TIME_1

Field Value

Type Description
TextFieldType

The date-time value in the “MM/DD/YYYY” format. For example, “10/12/2026”.

DATE_TIME_10 Field

The date-time value in the “hh:mm” format. For example, “14:30”.

Declaration

public static final TextFieldType DATE_TIME_10

Field Value

Type Description
TextFieldType

The date-time value in the “hh:mm” format. For example, “14:30”.

DATE_TIME_11 Field

The date-time value in the “hh:mm:ss” format. For example, “14:30:45”.

Declaration

public static final TextFieldType DATE_TIME_11

Field Value

Type Description
TextFieldType

The date-time value in the “hh:mm:ss” format. For example, “14:30:45”.

DATE_TIME_12 Field

The date-time value in the “hh:mm AM/PM” format. For example, “02:30 PM”.

Declaration

public static final TextFieldType DATE_TIME_12

Field Value

Type Description
TextFieldType

The date-time value in the “hh:mm AM/PM” format. For example, “02:30 PM”.

DATE_TIME_13 Field

The date-time value in the “hh:mm:ss AM/PM” format. For example, “02:30:45 PM”.

Declaration

public static final TextFieldType DATE_TIME_13

Field Value

Type Description
TextFieldType

The date-time value in the “hh:mm:ss AM/PM” format. For example, “02:30:45 PM”.

DATE_TIME_2 Field

The date-time value in the “Day, Month DD, YYYY” format. For example, “Sunday, October 12, 2026”.

Declaration

public static final TextFieldType DATE_TIME_2

Field Value

Type Description
TextFieldType

The date-time value in the “Day, Month DD, YYYY” format. For example, “Sunday, October 12, 2026”.

DATE_TIME_3 Field

The date-time value in the “DD Month YYYY” format. For example, “12 October 2026”.

Declaration

public static final TextFieldType DATE_TIME_3

Field Value

Type Description
TextFieldType

The date-time value in the “DD Month YYYY” format. For example, “12 October 2026”.

DATE_TIME_4 Field

The date-time value in the “Month DD, YYYY” format. For example, “October 12, 2026”.

Declaration

public static final TextFieldType DATE_TIME_4

Field Value

Type Description
TextFieldType

The date-time value in the “Month DD, YYYY” format. For example, “October 12, 2025”.

DATE_TIME_5 Field

The date-time value in the “DD-Mon-YY” format. For example, “12-Oct-26”.

Declaration

public static final TextFieldType DATE_TIME_5

Field Value

Type Description
TextFieldType

The date-time value in the “DD-Mon-YY” format. For example, “12-Oct-26”.

DATE_TIME_6 Field

The date-time value in the “Month YY” format. For example, “October 26”.

Declaration

public static final TextFieldType DATE_TIME_6

Field Value

Type Description
TextFieldType

The date-time value in the “Month YY” format. For example, “October 26”.

DATE_TIME_7 Field

The date-time value in the “Mon-YY” format. For example, “Oct-26”.

Declaration

public static final TextFieldType DATE_TIME_7

Field Value

Type Description
TextFieldType

The date-time value in the “Mon-YY” format. For example, “Oct-26”.

DATE_TIME_8 Field

The date-time value in the “MM/DD/YYYY hh:mm” format. For example, “10/12/2026 14:30”.

Declaration

public static final TextFieldType DATE_TIME_8

Field Value

Type Description
TextFieldType

The date-time value in the “MM/DD/YYYY hh:mm” format. For example, “10/12/2026 14:30”.

DATE_TIME_9 Field

The date-time value in the “MM/DD/YYYY hh:mm:ss AM/PM” format. For example, “10/12/2026 02:30:45 PM”.

Declaration

public static final TextFieldType DATE_TIME_9

Field Value

Type Description
TextFieldType

The date-time value in the “MM/DD/YYYY hh:mm:ss AM/PM” format. For example, “10/12/2026 02:30:45 PM”.

Name Field

The name of the text field type.

Declaration

public String Name

Field Value

Type Description
String

The name of the text field type.

SLIDE_NUMBER Field

The presentation slide number.

Declaration

public static final TextFieldType SLIDE_NUMBER

Field Value

Type Description
TextFieldType

The presentation slide number.

Methods

equals(Object obj) Method

Determines whether the specified object is equal to the current TextFieldType object.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

An object to compare with the current TextFieldType object.

Returns

Type Description
boolean

true if the specified object is equal to the current object; otherwise, false.

equals(TextFieldType other) Method

Determines whether the specified text field type is equal to this instance.

Declaration

public boolean equals(TextFieldType other)

Parameters

Name Type Description
other TextFieldType

The text field type to compare with this instance.

Returns

Type Description
boolean

true if the specified text field type is equal to this instance; otherwise, false.

hashCode() Method

Returns a hash code value for this text field type.

Declaration

public int hashCode()

Returns

Type Description
int

The hash code.