Packagespark.components.calendarClasses
Classpublic final class DateSelectorDisplayMode
InheritanceDateSelectorDisplayMode Inheritance 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
 MethodDefined By
  
Constructor.
DateSelectorDisplayMode
Public Constants
 ConstantDefined By
  AIR-only DATE : String = date
[static] Show selection options for date.
DateSelectorDisplayMode
  AIR-only DATE_AND_TIME : String = dateAndTime
[static] Show selection options for both date and time.
DateSelectorDisplayMode
  AIR-only TIME : String = time
[static] Show selection options for time.
DateSelectorDisplayMode
Constructor Detail
AIR-only DateSelectorDisplayMode()Constructor
public function DateSelectorDisplayMode()

Language Version : ActionScript 3.0
Product Version : Flex 5.0
Runtime Versions : AIR 3.0

Constructor.

Constant Detail
AIR-only DATEConstant
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.

AIR-only DATE_AND_TIMEConstant 
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.

AIR-only TIMEConstant 
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.