| Package | spark.components.calendarClasses |
| Class | public final class DateSelectorDisplayMode |
| Inheritance | DateSelectorDisplayMode Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 4.6 |
| Runtime Versions: | AIR 3.0 |
displayMode property of the Spark DateSpinner control.
Use the constants in ActionsScript, as the following example shows:
myDateSpinner.mode = DateSelectorMode.DATE_AND_TIME;
In MXML, use the String value of the constants, as the following example shows:
<s:DateSpinner id="mySpinner"
displayMode="dateAndTime">
...
</s:DateSpinner>
Related API Elements
Public Properties
Public Methods
| Method | Defined By | ||
|---|---|---|---|
Constructor. | DateSelectorDisplayMode | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
Public Constants
| Constant | Defined By | ||
|---|---|---|---|
| DATE : String = "date" [static]
Show selection options for date. | DateSelectorDisplayMode | ||
| DATE_AND_TIME : String = "dateAndTime" [static]
Show selection options for both date and time. | DateSelectorDisplayMode | ||
| TIME : String = "time" [static]
Show selection options for time. | DateSelectorDisplayMode | ||
Constructor Detail
DateSelectorDisplayMode | () | Constructor |
public function DateSelectorDisplayMode()| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 5.0 |
| Runtime Versions: | AIR 3.0 |
Constructor.
Constant Detail
DATE | Constant |
public static const DATE:String = "date"| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 4.6 |
| Runtime Versions: | AIR 3 |
Show selection options for date.
DATE_AND_TIME | Constant |
public static const DATE_AND_TIME:String = "dateAndTime"| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 4.6 |
| Runtime Versions: | AIR 3 |
Show selection options for both date and time.
TIME | Constant |
public static const TIME:String = "time"| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 4.6 |
| Runtime Versions: | AIR 3 |
Show selection options for time.
Mon Nov 28 2011, 06:48 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties