public final class FieldType extends java.lang.Object implements IFieldType
Represents a type of field. This value determines which text will be set to the field portion when it will be updated.
Constructor and Description |
---|
FieldType(java.lang.String str)
Initializes a new instance of FieldType class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Checks if this field is equal to another.
|
static FieldType |
getDateTime()
Current date and time in default date time format for the rendering application.
|
static FieldType |
getDateTime1()
Current date and time in a first predefined format (MM/DD/YYYY for english).
|
static FieldType |
getDateTime10()
Current date and time in a tenth predefined format (hh:mm for english).
|
static FieldType |
getDateTime11()
Current date and time in a eleventh predefined format (hh:mm:ss for english).
|
static FieldType |
getDateTime12()
Current date and time in a twelfth predefined format (hh:mm AM/PM for english).
|
static FieldType |
getDateTime13()
Current date and time in a thirteenth predefined format (hh:mm:ss AM/PM for english).
|
static FieldType |
getDateTime2()
Current date and time in a second predefined format (Day, Month DD, YYYY for english).
|
static FieldType |
getDateTime3()
Current date and time in a third predefined format (DD Month YYYY for english).
|
static FieldType |
getDateTime4()
Current date and time in a fourth predefined format (Month DD, YYYY for english).
|
static FieldType |
getDateTime5()
Current date and time in a fifth predefined format (DD-Mon-YY for english).
|
static FieldType |
getDateTime6()
Current date and time in a sixth predefined format (Month YY for english).
|
static FieldType |
getDateTime7()
Current date and time in a seventh predefined format (Mon-YY for english).
|
static FieldType |
getDateTime8()
Current date and time in a eighth predefined format (MM/DD/YYYY hh:mm AM/PM for english).
|
static FieldType |
getDateTime9()
Current date and time in a ninth predefined format (MM/DD/YYYY hh:mm:ss AM/PM for english).
|
static FieldType |
getFooter()
Slide's footer.
|
static FieldType |
getHeader()
Slide's header.
|
java.lang.String |
getInternalString()
Returns the internal name of this FieldType object.
|
static FieldType |
getSlideNumber()
Current slide's number.
|
int |
hashCode()
Returns hashcode for this object.
|
static boolean |
op_Equality(FieldType a,
FieldType b)
Checks if two FieldType objects is equal.
|
static boolean |
op_Inequality(FieldType a,
FieldType b)
Checks if two FieldType objects is inequal.
|
void |
setInternalString(java.lang.String value)
Returns the internal name of this FieldType object.
|
public FieldType(java.lang.String str)
Initializes a new instance of FieldType class.
public final java.lang.String getInternalString()
Returns the internal name of this FieldType object.
Read/write String
.
getInternalString
in interface IFieldType
public final void setInternalString(java.lang.String value)
Returns the internal name of this FieldType object.
Read/write String
.
setInternalString
in interface IFieldType
public boolean equals(java.lang.Object obj)
Checks if this field is equal to another.
equals
in class java.lang.Object
obj
- Field to compare.public int hashCode()
Returns hashcode for this object.
hashCode
in class java.lang.Object
int
.public static boolean op_Equality(FieldType a, FieldType b)
Checks if two FieldType objects is equal.
a
- First FieldType to compare.b
- Second FieldType to compare.public static boolean op_Inequality(FieldType a, FieldType b)
Checks if two FieldType objects is inequal.
a
- First FieldType to compare.b
- Second FieldType to compare.public static FieldType getSlideNumber()
Current slide's number.
Read-only FieldType
.
public static FieldType getDateTime()
Current date and time in default date time format for the rendering application.
Read-only FieldType
.
public static FieldType getDateTime1()
Current date and time in a first predefined format (MM/DD/YYYY for english).
Read-only FieldType
.
public static FieldType getDateTime2()
Current date and time in a second predefined format (Day, Month DD, YYYY for english).
Read-only FieldType
.
public static FieldType getDateTime3()
Current date and time in a third predefined format (DD Month YYYY for english).
Read-only FieldType
.
public static FieldType getDateTime4()
Current date and time in a fourth predefined format (Month DD, YYYY for english).
Read-only FieldType
.
public static FieldType getDateTime5()
Current date and time in a fifth predefined format (DD-Mon-YY for english).
Read-only FieldType
.
public static FieldType getDateTime6()
Current date and time in a sixth predefined format (Month YY for english).
Read-only FieldType
.
public static FieldType getDateTime7()
Current date and time in a seventh predefined format (Mon-YY for english).
Read-only FieldType
.
public static FieldType getDateTime8()
Current date and time in a eighth predefined format (MM/DD/YYYY hh:mm AM/PM for english).
Read-only FieldType
.
public static FieldType getDateTime9()
Current date and time in a ninth predefined format (MM/DD/YYYY hh:mm:ss AM/PM for english).
Read-only FieldType
.
public static FieldType getDateTime10()
Current date and time in a tenth predefined format (hh:mm for english).
Read-only FieldType
.
public static FieldType getDateTime11()
Current date and time in a eleventh predefined format (hh:mm:ss for english).
Read-only FieldType
.
public static FieldType getDateTime12()
Current date and time in a twelfth predefined format (hh:mm AM/PM for english).
Read-only FieldType
.