Main Page | Packages | Class Tree | Index | Help

mx.controls

class DateChooser

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.core.UIComponent
                    |
                    +--mx.controls.DateChooser


class DateChooser
extends UIComponent

The class for handling DateChooser functionality.



Field Summary


__enabled: Boolean
Properties


__monthNames: Array



_color: Object



background_mc: MovieClip



backgroundDepth: Number



backMonthButton: SimpleButton



backMonthButtonDisabledSymbolName: String



backMonthButtonDownSymbolName: String



backMonthButtonSkinID: Number
Skins for month backward button


backMonthButtonUpSymbolName: String



backMonthHit: MovieClip



border_mc: MovieClip



borderDepth: Number



boundingBox: MovieClip
Children


buttonHitAreaDepth: Number



calHeader: MovieClip
defining to compile


className: String
name of this class


clipParameters: Object



dateDisplay: TextField



dateGrid: CalendarLayout



dateGridDepth: Number
Depths in DateChooser


defaultHeight



defaultWidth



distance: Number
Constants Layout


fwdMonthButton: SimpleButton



fwdMonthButtonDisabledSymbolName: String



fwdMonthButtonDownSymbolName: String



fwdMonthButtonSkinID: Number
skin buttons to now remain according to the new version of Royale Skins for month forward button


fwdMonthButtonUpSymbolName: String



fwdMonthHit: MovieClip



gridY: Number



headerDepth: Number



headerDisplay: MovieClip



headerDisplayDepth: Number


static
mergedClipParameters: Boolean



previousSelectedCellIndex: Number
Other state information

static
symbolName: String


static
symbolOwner: Object



todayIndicator: MovieClip



uninitializer: Object


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

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


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)



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


monthNames: Array (read, write)
month names


selectableRange (read, write)
selectable range


selectedDate: Date (read, write)
selected date


showToday: Boolean (read, write)
current day highlight

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


DateChooser ( )
Constructor

Method Summary


backMonthButtonDownHandler ( ): Void



createChildren ( ): Void



dispatchChangeEvent ( ): Void



dispatchScrollEvent ( detail: String ): Void



fwdMonthButtonDownHandler ( ): Void
Event handling


getEnabled ( ): Boolean



getInitializer ( ): Boolean
a temp object which stores the values from PI till CalendarLayout it not there.


getMonthNames ( ): Array



init ( ): Void



invalidateStyle ( ): Void
called if just styles are changing so subclasses don't have to redraw everything


setEnabled ( b: Boolean ): Void



setMonthNames ( a : Array ): Void



setSize ( w: Number, h: Number, noEvent: Boolean ): Void
size the object


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

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
Properties

__monthNames

var __monthNames: Array

_color

var _color: Object

background_mc

var background_mc: MovieClip

backgroundDepth

var backgroundDepth: Number

backMonthButton

var backMonthButton: SimpleButton

backMonthButtonDisabledSymbolName

var backMonthButtonDisabledSymbolName: String

backMonthButtonDownSymbolName

var backMonthButtonDownSymbolName: String

backMonthButtonSkinID

var backMonthButtonSkinID: Number
Skins for month backward button

backMonthButtonUpSymbolName

var backMonthButtonUpSymbolName: String

backMonthHit

var backMonthHit: MovieClip

border_mc

var border_mc: MovieClip

borderDepth

var borderDepth: Number

boundingBox

var boundingBox: MovieClip
Children

buttonHitAreaDepth

var buttonHitAreaDepth: Number

calHeader

var calHeader: MovieClip
defining to compile

className

var className: String
name of this class

clipParameters

var clipParameters: Object

dateDisplay

var dateDisplay: TextField

dateGrid

var dateGrid: CalendarLayout

dateGridDepth

var dateGridDepth: Number
Depths in DateChooser

defaultHeight

var defaultHeight

defaultWidth

var defaultWidth

distance

var distance: Number
Constants Layout

fwdMonthButton

var fwdMonthButton: SimpleButton

fwdMonthButtonDisabledSymbolName

var fwdMonthButtonDisabledSymbolName: String

fwdMonthButtonDownSymbolName

var fwdMonthButtonDownSymbolName: String

fwdMonthButtonSkinID

var fwdMonthButtonSkinID: Number
skin buttons to now remain according to the new version of Royale Skins for month forward button

fwdMonthButtonUpSymbolName

var fwdMonthButtonUpSymbolName: String

fwdMonthHit

var fwdMonthHit: MovieClip

gridY

var gridY: Number

headerDepth

var headerDepth: Number

headerDisplay

var headerDisplay: MovieClip

headerDisplayDepth

var headerDisplayDepth: Number

mergedClipParameters

static var mergedClipParameters: Boolean

previousSelectedCellIndex

var previousSelectedCellIndex: Number
Other state information

symbolName

static var symbolName: String

symbolOwner

static var symbolOwner: Object

todayIndicator

var todayIndicator: MovieClip

uninitializer

var uninitializer: 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

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)

firstDayOfWeek

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

monthNames

monthNames: Array (read, write)
month names

selectableRange

selectableRange (read, write)
selectable range

selectedDate

selectedDate: Date (read, write)
selected date

showToday

showToday: Boolean (read, write)
current day highlight


Constructor Documentation

DateChooser

function DateChooser()
Constructor


Method Documentation

backMonthButtonDownHandler

function backMonthButtonDownHandler(): Void

createChildren

function createChildren(): Void
Overrides:

dispatchChangeEvent

function dispatchChangeEvent(): Void

dispatchScrollEvent

function dispatchScrollEvent(detail: String): Void

fwdMonthButtonDownHandler

function fwdMonthButtonDownHandler(): Void
Event handling

getEnabled

function getEnabled(): Boolean

getInitializer

function getInitializer(): Boolean
a temp object which stores the values from PI till CalendarLayout it not there.

getMonthNames

function getMonthNames(): Array

init

function init(): Void
Overrides:

invalidateStyle

function invalidateStyle(): Void
called if just styles are changing so subclasses don't have to redraw everything

Overrides:

setEnabled

function setEnabled(b: Boolean): Void
Overrides:

setMonthNames

function setMonthNames(a : Array): Void

setSize

function setSize(w: Number,
 h: Number,
 noEvent: Boolean): Void
size the object

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