Main Page | Packages | Class Tree | Index | Help

mx.containers.accordionclasses

class AccordionHeader

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.core.UIComponent
                    |
                    +--mx.controls.SimpleButton
                          |
                          +--mx.controls.Button
                                |
                                +--mx.containers.accordionclasses.AccordionHeader


class AccordionHeader
extends Button



Field Summary


btnOffset: Number



centerContent: Boolean
Overrides


falseDisabledSkin: String



falseDownSkin: String



falseOverSkin: String



falseUpSkin: String
Disable skins


focus_mc: MovieClip



ignoreClassStyleDeclaration



maxDepth: Number
Max depth.

static
symbolName: String


static
symbolOwner



trueDisabledSkin: String



trueDownSkin: String



trueOverSkin: String



trueUpSkin: String


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

Fields inherited from class mx.controls.Button

__label, __labelPlacement, _color, _iconLinkageName, _inherited_selected, borderW, btnOffset, centerContent, clipParameters, falseDisabledIcon, falseDisabledSkin, falseDownIcon, falseDownSkin, falseOverIcon, falseOverSkin, falseUpIcon, falseUpSkin, hitArea_mc, initIcon, labelPath, mergedClipParameters, symbolName, symbolOwner, trueDisabledIcon, trueDisabledSkin, trueDownIcon, trueDownSkin, trueOverIcon, trueOverSkin, trueUpIcon, trueUpSkin, version

Fields inherited from class mx.controls.SimpleButton

__emphasized, __emphatic, __emphaticStyleName, __state, __toggle, autoRepeat, boundingBox_mc, btnOffset, buttonDownHandler, clickHandler, detail, dfi, dfs, disabledIcon, disabledSkin, downIcon, downSkin, dti, dts, emphasizedStyleDeclaration, falseDisabled, falseDisabledIcon, falseDisabledIconEmphasized, falseDisabledSkin, falseDisabledSkinEmphasized, falseDown, falseDownIcon, falseDownIconEmphasized, falseDownSkin, falseDownSkinEmphasized, falseOver, falseOverIcon, falseOverIconEmphasized, falseOverSkin, falseOverSkinEmphasized, falseUp, falseUpIcon, falseUpIconEmphasized, falseUpSkin, falseUpSkinEmphasized, fdi, fds, fri, frs, fui, fus, iconName, idNames, initializing, interval, linkLength, phase, preset, refNames, rolloverIcon, rolloverSkin, skinName, stateNames, style3dInset, symbolName, symbolOwner, tagMap, tdi, tds, tri, trs, trueDisabled, trueDisabledIcon, trueDisabledIconEmphasized, trueDisabledSkin, trueDisabledSkinEmphasized, trueDown, trueDownIcon, trueDownIconEmphasized, trueDownSkin, trueDownSkinEmphasized, trueOver, trueOverIcon, trueOverIconEmphasized, trueOverSkin, trueOverSkinEmphasized, trueUp, trueUpIcon, trueUpIconEmphasized, trueUpSkin, trueUpSkinEmphasized, tui, tus, upIcon, upSkin, version

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

Properties inherited from class mx.controls.Button

icon, label, labelPlacement

Properties inherited from class mx.controls.SimpleButton

emphasized, selected, toggle, value

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


AccordionHeader ( )


Method Summary


drawFocus ( isFocused: Boolean ): Void
draw focus on the object.


onRollOver ( ): Void


Methods inherited from class mx.controls.Button

_getIcon, _setIcon, calcSize, createChildren, draw, getBtnOffset, getLabel, getLabelPlacement, init, invalidateStyle, onRelease, setColor, setEnabled, setHitArea, setLabel, setLabelPlacement, setSkin, setView, size, viewSkin

Methods inherited from class mx.controls.SimpleButton

calcSize, changeIcon, changeSkin, createChildren, draw, getLabel, getSelected, getState, getToggle, init, keyDown, keyUp, onDragOut, onDragOver, onKillFocus, onPress, onPressDelay, onPressRepeat, onRelease, onReleaseOutside, onRollOut, onRollOver, refresh, removeIcons, setEnabled, setIcon, setSelected, setSkin, setState, setStateVar, setToggle, setView, showEmphasized, size, viewIcon, viewSkin

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

btnOffset

var btnOffset: Number

centerContent

var centerContent: Boolean
Overrides

falseDisabledSkin

var falseDisabledSkin: String

falseDownSkin

var falseDownSkin: String

falseOverSkin

var falseOverSkin: String

falseUpSkin

var falseUpSkin: String
Disable skins

focus_mc

var focus_mc: MovieClip

ignoreClassStyleDeclaration

var ignoreClassStyleDeclaration

maxDepth

var maxDepth: Number
Max depth.

This is needed because the header edges overlap by a pixel (according to halo spec), so we need to dynamically swap depths when we are rolled over or focused. The default value is determined by the accordions mask layer.

symbolName

static var symbolName: String

symbolOwner

static var symbolOwner

trueDisabledSkin

var trueDisabledSkin: String

trueDownSkin

var trueDownSkin: String

trueOverSkin

var trueOverSkin: String

trueUpSkin

var trueUpSkin: String

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.


Constructor Documentation

AccordionHeader

function AccordionHeader()

Method Documentation

drawFocus

function drawFocus(isFocused: Boolean): Void
draw focus on the object.

Actually implemented in the theme.

Overrides:

onRollOver

function onRollOver(): Void
Overrides:


The documentation was generated from the following file:


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