Class mx.skins.RectBorder

MovieClip
   +--mx.core.UIObject
      +--mx.skins.Border
         +--mx.skins.RectBorder

Description

The abstract border class for drawing rectangular borders.

Field Index

__borderMetrics, backgroundColorName, borderColorName, borderMetrics, borderStyleName, buttonColorName, className, height, highlightColorName, offset, shadowColorName, symbolName, symbolOwner, width
Inherited from Border
borderStyle, className, idNames, symbolName, symbolOwner, tagBorder
Inherited from UIObject
__height, __onUnload, __width, _color, _endInit, _id, _maxHeight, _maxWidth, _minHeight, _minWidth, _preferredHeight, _preferredWidth, _tf, _topmost, addEventListener, bottom, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createClassChildAtDepth, createEvent, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, height, idNames, ignoreClassStyleDeclaration, initProperties, invalidateFlag, left, lineColor, lineWidth, marginLeft, marginRight, methodTable, minHeight, minWidth, notifyStyleChangeInChildren, removeEventListener, right, scaleX, scaleY, setStyle, stylecache, styleName, symbolName, symbolOwner, tabEnabled, textAlign, textColorList, textDecoration, textIndent, tfList, top, validateNow, visible, width, x, y
Inherited from 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

Method Index

new RectBorder()

draw(), drawBorder(), getBorderMetrics(), init(), setColor(), size()
Inherited from Border
Inherited from UIObject
__getTextFormat(), _createChildren(), _getTextFormat(), cancelAllDoLaters(), constructObject(), createChildren(), createClassObject(), createEmptyObject(), createLabel(), createObject(), createSkin(), destroyObject(), doLater(), doLaterDispatcher(), drawRect(), getClassStyleDeclaration(), getMinHeight(), getMinWidth(), getSkinIDName(), getStyle(), getStyleName(), initFromClipParameters(), invalidate(), invalidateStyle(), mergeClipParameters(), move(), redraw(), setMinHeight(), setMinWidth(), setSize(), setSkin(), setVisible()
Inherited from 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()

Constructor Detail

RectBorder

function RectBorder()

Field Detail

symbolName

static symbolName:String

symbolOwner

static symbolOwner:Object

className

className:String

borderStyleName

borderStyleName:String

borderColorName

borderColorName:String

shadowColorName

shadowColorName:String

highlightColorName

highlightColorName:String

buttonColorName

buttonColorName:String

backgroundColorName

backgroundColorName:String

offset

offset:Number

__borderMetrics

__borderMetrics:Object

width

width:Number [Read Only]
width of object Read-Only: use setSize() to change.

height

height:Number [Read Only]
height of object Read-Only: use setSize() to change.

borderMetrics

borderMetrics:Object [Read Only]
getter for borderMetrics

Method Detail

init

function init(Void):Void

draw

function draw(Void):Void

getBorderMetrics

function getBorderMetrics(Void):
Object
Return
Object top, bottom, left, right thickness in pixels

drawBorder

function drawBorder(Void):Void

size

function size(Void):Void

setColor

function setColor(Void):Void