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>
public function DateSelectorDisplayMode()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 5.0 |
Runtime Versions : | AIR 3.0 |
Constructor.
public static const DATE:String = date
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.6 |
Show selection options for date.
public static const DATE_AND_TIME:String = dateAndTime
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.6 |
Show selection options for both date and time.
public static const TIME:String = time
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.6 |
Show selection options for time.
Wed Mar 25 2015, 07:57 PM +01:00