Main Page | Packages | Class Tree | Index | Help

mx.controls

class DateField

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.core.UIComponent
                    |
                    +--mx.controls.ComboBase
                          |
                          +--mx.controls.DateField


class DateField
extends ComboBase

DateField class



Field Summary


__enabled: Boolean



bInKeyDown: Boolean



boundingBox: MovieClip



className: String



clipParameters: Object



initializing



isPressed: Boolean


static
mergedClipParameters: Boolean



openPos: Number



owner: Object



propTempStore: Object



pullDownExists: Boolean


static
symbolName: String


static
symbolOwner: Object


static
version: String
Copyright (C) 2003 Macromedia, Inc.

Fields inherited from class mx.controls.ComboBase

__border, __dataProvider, calcPreferredHeightFromData, calcPreferredWidthFromData, clearSelected, getDataProvider, getLength, getSelectedIndex, getSelectedIndices, getSelectedItem, getSelectedItems, getValue, isSelected, mixIt1, modelChanged, multipleSelection, oldOnKillFocus, oldOnSetFocus, onDownArrow, selected, selectedIndex, selectedIndices, selectedItem, selectedItems, selectItem, setDataProvider, setSelectedIndex, setSelectedIndices, setSelectedItem, symbolName, symbolOwner, value, version, wrapDownArrowButton

Fields inherited from class mx.core.UIComponent

clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, version

Fields inherited from class mx.core.UIObject

__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version

Fields inherited from class MovieClip

_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursor

Fields inherited from class Object

__proto__, constructor, prototype

Property Summary


dateFormatter: Function (read, write)
user supplied function


dayNames: Array (read, write)
names of days of week


disabledDays: Array (read, write)
disabled Days


disabledRanges: Array (read, write)
disabled ranges


displayedMonth: Number (read, write)
current displayed month


displayedYear: Number (read, write)
displayed Year


enabled: Boolean (read, write)
enabled, will handle enabled at the last


firstDayOfWeek: Number (read, write)
first day of week


monthNames: Array (read, write)
month names


pullDown: Object (read-only)
reference of pulldown


scaleY: Void (read)
-------- Date Chooser Properties ------------------------ height scaling not allowed


scaleY: Number (write)



selectableRange (read, write)
selectable range


selectedDate: Date (read, write)
selected date


showToday: Boolean (read, write)
current day highlight

Properties inherited from class mx.controls.ComboBase

editable, restrict, tabIndex, text, textField

Properties inherited from class mx.core.UIComponent

height, width

Properties inherited from class mx.core.UIObject

bottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y

Constructor


DateField ( )
Constructor

Method Summary


_changeHandler ( obj ): Void
-- Change Handler ------------------------------------


_itemRollOutHandler ( obj ): Void
-- Item Roll Out Handler ------------------------------


_itemRollOverHandler ( obj ): Void
-- Item Roll Over Handler -----------------------------


_resizeHandler ( ): Void
PRIVATE EVENT HANDLERS -- Resize Handler -------------------------------------


_scrollHandler ( obj ): Void
-- Scroll Handler --------------------------------------


checkSelectedDate ( ): Void



close ( ): Void



createChildren ( ): Void
-- Creation (children) ---------------------------------


dateFiller ( d: Date ): Void
this is the default date format which will be displayed if dateFormatter is not defined


displayPullDown ( show: Boolean ): Void
-- Display PullDown ------------------------------------


getDateFormatter ( ): Function
-- DateFormatter Function -------------------------------------


getEnabled ( ): Boolean



getPropTempStore ( ): Boolean



getPullDown ( ): Object
-- Creation (PullDown) -----------------------------------


hasPullDown ( ): Boolean
::: PROTECTED METHODS -- Has pullDown ---------------------------------------


init ( ): Void
-- Creation (self)--------------------------------------


onDownArrow ( ): Void
::: PRIVATE METHODS -- On Down Arrow -------------------------------------


onKillFocus ( n ): Void



onUnload ( ): Void
-- Destructor ------------------------------------------


open ( ): Void



setEnabled ( b: Boolean ): Void
-- Enabled ---------------------------------------------


setSize ( w: Number, h: Number, noEvent ): Void
::: PUBLIC METHODS -- Size ------------------------------------------------


setStyle ( n: String, val ): Void
set a style property.

Methods inherited from class mx.controls.ComboBase

, _changeHandler, _enterHandler, _getValue, createChildren, draw, init, invalidateStyle, layoutChildren, onKillFocus, onSetFocus, setEditable, setEnabled, setFocus, setSize, setText, setTheme, size

Methods inherited from class mx.core.UIComponent

dispatchValueChangedEvent, enabledChanged, findFocusFromObject, findFocusInChildren, getFocus, getFocusManager, init, isParent, onKillFocus, onSetFocus, pressFocus, releaseFocus, setEnabled, setFocus, setVisible, size

Methods inherited from class mx.core.UIObject

__getTextFormat, _createChildren, _getTextFormat, cancelAllDoLaters, constructObject, createChildren, createClassObject, createEmptyObject, createLabel, createObject, createSkin, destroyObject, doLater, doLaterDispatcher, draw, drawRect, getClassStyleDeclaration, getMinHeight, getMinWidth, getSkinIDName, getStyle, getStyleName, init, initFromClipParameters, invalidate, invalidateStyle, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size

Methods inherited from class MovieClip

attachAudio, attachMovie, beginFill, beginGradientFill, clear, createEmptyMovieClip, createTextField, curveTo, duplicateMovieClip, endFill, getBounds, getBytesLoaded, getBytesTotal, getDepth, getInstanceAtDepth, getNextHighestDepth, getSWFVersion, getTextSnapshot, getURL, globalToLocal, gotoAndPlay, gotoAndStop, hitTest, lineStyle, lineTo, loadMovie, loadVariables, localToGlobal, moveTo, nextFrame, onData, onDragOut, onDragOver, onEnterFrame, onKeyDown, onKeyUp, onKillFocus, onLoad, onMouseDown, onMouseMove, onMouseUp, onPress, onRelease, onReleaseOutside, onRollOut, onRollOver, onSetFocus, onUnload, play, prevFrame, removeMovieClip, setMask, startDrag, stop, stopDrag, swapDepths, unloadMovie, valueOf

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

__enabled

var __enabled: Boolean

bInKeyDown

var bInKeyDown: Boolean

boundingBox

var boundingBox: MovieClip

className

var className: String

clipParameters

var clipParameters: Object

initializing

var initializing

isPressed

var isPressed: Boolean

mergedClipParameters

static var mergedClipParameters: Boolean

openPos

var openPos: Number

owner

var owner: Object

propTempStore

var propTempStore: Object

pullDownExists

var pullDownExists: Boolean

symbolName

static var symbolName: String

symbolOwner

static var symbolOwner: Object

version

static var version: String
Copyright (C) 2003 Macromedia, Inc.

All Rights Reserved. The following is Sample Code and is subject to all restrictions on such code as contained in the End User License Agreement accompanying this product.


Property Documentation

dateFormatter

dateFormatter: Function (read, write)
user supplied function

dayNames

dayNames: Array (read, write)
names of days of week

disabledDays

disabledDays: Array (read, write)
disabled Days

disabledRanges

disabledRanges: Array (read, write)
disabled ranges

displayedMonth

displayedMonth: Number (read, write)
current displayed month

displayedYear

displayedYear: Number (read, write)
displayed Year

enabled

enabled: Boolean (read, write)
enabled, will handle enabled at the last

firstDayOfWeek

firstDayOfWeek: Number (read, write)
first day of week

monthNames

monthNames: Array (read, write)
month names

pullDown

pullDown: Object (read-only)
reference of pulldown

scaleY

scaleY: Void (read)
-------- Date Chooser Properties ------------------------ height scaling not allowed

scaleY

scaleY: Number (write)

selectableRange

selectableRange (read, write)
selectable range

selectedDate

selectedDate: Date (read, write)
selected date

showToday

showToday: Boolean (read, write)
current day highlight


Constructor Documentation

DateField

function DateField()
Constructor


Method Documentation

_changeHandler

function _changeHandler(obj): Void
-- Change Handler ------------------------------------

Overrides:

_itemRollOutHandler

function _itemRollOutHandler(obj): Void
-- Item Roll Out Handler ------------------------------

_itemRollOverHandler

function _itemRollOverHandler(obj): Void
-- Item Roll Over Handler -----------------------------

_resizeHandler

function _resizeHandler(): Void
PRIVATE EVENT HANDLERS -- Resize Handler -------------------------------------

_scrollHandler

function _scrollHandler(obj): Void
-- Scroll Handler --------------------------------------

checkSelectedDate

function checkSelectedDate(): Void

close

function close(): Void

createChildren

function createChildren(): Void
-- Creation (children) ---------------------------------

Overrides:

dateFiller

function dateFiller(d: Date): Void
this is the default date format which will be displayed if dateFormatter is not defined

displayPullDown

function displayPullDown(show: Boolean): Void
-- Display PullDown ------------------------------------

getDateFormatter

function getDateFormatter(): Function
-- DateFormatter Function -------------------------------------

getEnabled

function getEnabled(): Boolean

getPropTempStore

function getPropTempStore(): Boolean

getPullDown

function getPullDown(): Object
-- Creation (PullDown) -----------------------------------

hasPullDown

function hasPullDown(): Boolean
::: PROTECTED METHODS -- Has pullDown ---------------------------------------

init

function init(): Void
-- Creation (self)--------------------------------------

Overrides:

onDownArrow

function onDownArrow(): Void
::: PRIVATE METHODS -- On Down Arrow -------------------------------------

Overrides:

onKillFocus

function onKillFocus(n): Void
Overrides:

onUnload

function onUnload(): Void
-- Destructor ------------------------------------------

Overrides:

open

function open(): Void

setEnabled

function setEnabled(b: Boolean): Void
-- Enabled ---------------------------------------------

Overrides:

setSize

function setSize(w: Number,
 h: Number,
 noEvent): Void
::: PUBLIC METHODS -- Size ------------------------------------------------

Overrides:

Parameters:
w
width of the object
h
height of the object
noEvent
if true, doesn't broadcast "resize" event

setStyle

function setStyle(n: String,
 val): Void
set a style property.

Causes lots of processing so use sparingly. actual implementation is in mx.styles.CSSSetStyle.as

Overrides:

Parameters:
n
String prop name of style property
val
Variant value new value for style

The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc