Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
DateSelectorDisplayMode

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

The DateSelectorMode class defines the valid constant values for the `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>

See also

spark.components.DateSpinner

Public Methods

| Method | Defined By
--- | --- | ---
|  | DateSelectorDisplayMode() Constructor. | DateSelectorDisplayMode

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.

Sun Mar 5 2017, 03:42 PM +11:00