패키지 | mx.containers.utilityClasses |
클래스 | public class PostScaleAdapter |
상속 | PostScaleAdapter Object |
구현 | IUIComponent, IConstraintClient, IInvalidating |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
속성 | 정의 주체 | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties | PostScaleAdapter | ||
alpha : Number | PostScaleAdapter | ||
baselinePosition : Number [읽기 전용]
| PostScaleAdapter | ||
blendMode : String | PostScaleAdapter | ||
cacheAsBitmap : Boolean | PostScaleAdapter | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
document : Object
A reference to the document object associated with this component. | PostScaleAdapter | ||
enabled : Boolean
Whether the component can accept user interaction. | PostScaleAdapter | ||
explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
explicitMaxHeight : Number [읽기 전용]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
explicitMaxWidth : Number [읽기 전용]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
explicitMinHeight : Number [읽기 전용]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
explicitMinWidth : Number [읽기 전용]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
filters : Array | PostScaleAdapter | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | PostScaleAdapter | ||
height : Number | PostScaleAdapter | ||
includeInLayout : Boolean | PostScaleAdapter | ||
isPopUp : Boolean | PostScaleAdapter | ||
loaderInfo : LoaderInfo [읽기 전용]
| PostScaleAdapter | ||
mask : DisplayObject | PostScaleAdapter | ||
maxHeight : Number [읽기 전용]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
maxWidth : Number [읽기 전용]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
measuredHeight : Number [읽기 전용]
The measured height of this object. | PostScaleAdapter | ||
measuredMinHeight : Number | PostScaleAdapter | ||
measuredMinWidth : Number | PostScaleAdapter | ||
measuredWidth : Number [읽기 전용]
The measured width of this object. | PostScaleAdapter | ||
minHeight : Number [읽기 전용]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
minWidth : Number [읽기 전용]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
mouseX : Number [읽기 전용]
| PostScaleAdapter | ||
mouseY : Number [읽기 전용]
| PostScaleAdapter | ||
name : String | PostScaleAdapter | ||
opaqueBackground : Object | PostScaleAdapter | ||
owner : DisplayObjectContainer | PostScaleAdapter | ||
parent : DisplayObjectContainer [읽기 전용]
| PostScaleAdapter | ||
percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | PostScaleAdapter | ||
percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | PostScaleAdapter | ||
root : DisplayObject [읽기 전용]
| PostScaleAdapter | ||
rotation : Number | PostScaleAdapter | ||
scale9Grid : Rectangle | PostScaleAdapter | ||
scaleX : Number | PostScaleAdapter | ||
scaleY : Number | PostScaleAdapter | ||
scrollRect : Rectangle | PostScaleAdapter | ||
stage : Stage [읽기 전용]
| PostScaleAdapter | ||
systemManager : ISystemManager
A reference to the SystemManager object for this component. | PostScaleAdapter | ||
transform : flash.geom:Transform | PostScaleAdapter | ||
tweeningProperties : Array
Used by EffectManager. | PostScaleAdapter | ||
visible : Boolean | PostScaleAdapter | ||
width : Number | PostScaleAdapter | ||
x : Number | PostScaleAdapter | ||
y : Number | PostScaleAdapter |
메서드 | 정의 주체 | ||
---|---|---|---|
PostScaleAdapter | |||
PostScaleAdapter | |||
PostScaleAdapter | |||
PostScaleAdapter | |||
[정적]
Call getCompatibleIUIComponent when you need to work with an IUIComponent that
reports width, height, min, max, explicit, measured, etc. | PostScaleAdapter | ||
Returns the specified constraint value. | PostScaleAdapter | ||
PostScaleAdapter | |||
PostScaleAdapter | |||
PostScaleAdapter | |||
PostScaleAdapter | |||
PostScaleAdapter | |||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
PostScaleAdapter | |||
PostScaleAdapter | |||
Initialize the object. | PostScaleAdapter | ||
Calling this method results in a call to the component's
validateDisplayList() method
before the display list is rendered. | PostScaleAdapter | ||
Calling this method results in a call to the component's
validateProperties() method
before the display list is rendered. | PostScaleAdapter | ||
Calling this method results in a call to the component's
validateSize() method
before the display list is rendered. | PostScaleAdapter | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
PostScaleAdapter | |||
Moves this object to the specified x and y coordinates. | PostScaleAdapter | ||
PostScaleAdapter | |||
PostScaleAdapter | |||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
PostScaleAdapter | |||
Sets the actual size of this object. | PostScaleAdapter | ||
Sets the specified constraint value. | PostScaleAdapter | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
PostScaleAdapter | |||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
Validates and updates the properties and layout of this object
by immediately calling validateProperties(),
validateSize(), and validateDisplayList(),
if necessary. | PostScaleAdapter | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
PostScaleAdapter |
accessibilityProperties | 속성 |
accessibilityProperties:AccessibilityProperties
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
구현
public function get accessibilityProperties():AccessibilityProperties
public function set accessibilityProperties(value:AccessibilityProperties):void
alpha | 속성 |
baselinePosition | 속성 |
blendMode | 속성 |
cacheAsBitmap | 속성 |
document | 속성 |
document:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
A reference to the document object associated with this component. A document object is an Object at the top of the hierarchy of a Flex application, MXML component, or ActionScript component.
구현
public function get document():Object
public function set document(value:Object):void
enabled | 속성 |
enabled:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Whether the component can accept user interaction. After setting the enabled
property to false
, some components still respond to mouse interactions such
as mouseOver. As a result, to fully disable UIComponents,
you should also set the value of the mouseEnabled
property to false
.
If you set the enabled
property to false
for a container, Flex dims the color of the container and of all
of its children, and blocks user input to the container
and to all of its children.
구현
public function get enabled():Boolean
public function set enabled(value:Boolean):void
explicitHeight | 속성 |
explicitHeight:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The explicitly specified height for the component,
in pixels, as the component's coordinates.
If no height is explicitly specified, the value is NaN
.
구현
public function get explicitHeight():Number
public function set explicitHeight(value:Number):void
explicitMaxHeight | 속성 |
explicitMaxWidth | 속성 |
explicitMinHeight | 속성 |
explicitMinWidth | 속성 |
explicitWidth | 속성 |
explicitWidth:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The explicitly specified width for the component,
in pixels, as the component's coordinates.
If no width is explicitly specified, the value is NaN
.
구현
public function get explicitWidth():Number
public function set explicitWidth(value:Number):void
filters | 속성 |
focusPane | 속성 |
focusPane:Sprite
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
A single Sprite object that is shared among components and used as an overlay for drawing the focus indicator. Components share this object if their parent is a focused component, not if the component implements the IFocusManagerComponent interface.
구현
public function get focusPane():Sprite
public function set focusPane(value:Sprite):void
height | 속성 |
includeInLayout | 속성 |
isPopUp | 속성 |
loaderInfo | 속성 |
loaderInfo:LoaderInfo
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
구현
public function get loaderInfo():LoaderInfo
mask | 속성 |
mask:DisplayObject
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
구현
public function get mask():DisplayObject
public function set mask(value:DisplayObject):void
maxHeight | 속성 |
maxWidth | 속성 |
measuredHeight | 속성 |
measuredHeight:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The measured height of this object.
This is typically hard-coded for graphical skins
because this number is simply the number of pixels in the graphic.
For code skins, it can also be hard-coded
if you expect to be drawn at a certain size.
If your size can change based on properties, you may want
to also be an ILayoutManagerClient so a measure()
method will be called at an appropriate time,
giving you an opportunity to compute a measuredHeight
.
구현
public function get measuredHeight():Number
measuredMinHeight | 속성 |
measuredMinWidth | 속성 |
measuredWidth | 속성 |
measuredWidth:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The measured width of this object.
This is typically hard-coded for graphical skins
because this number is simply the number of pixels in the graphic.
For code skins, it can also be hard-coded
if you expect to be drawn at a certain size.
If your size can change based on properties, you may want
to also be an ILayoutManagerClient so a measure()
method will be called at an appropriate time,
giving you an opportunity to compute a measuredHeight
.
구현
public function get measuredWidth():Number
minHeight | 속성 |
minWidth | 속성 |
mouseX | 속성 |
mouseY | 속성 |
name | 속성 |
opaqueBackground | 속성 |
owner | 속성 |
owner:DisplayObjectContainer
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
구현
public function get owner():DisplayObjectContainer
public function set owner(value:DisplayObjectContainer):void
parent | 속성 |
parent:DisplayObjectContainer
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
구현
public function get parent():DisplayObjectContainer
percentHeight | 속성 |
percentHeight:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Number that specifies the height of a component as a percentage of its parent's size. Allowed values are 0 to 100.
구현
public function get percentHeight():Number
public function set percentHeight(value:Number):void
percentWidth | 속성 |
root | 속성 |
root:DisplayObject
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
구현
public function get root():DisplayObject
rotation | 속성 |
scale9Grid | 속성 |
scaleX | 속성 |
scaleY | 속성 |
scrollRect | 속성 |
stage | 속성 |
systemManager | 속성 |
systemManager:ISystemManager
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
A reference to the SystemManager object for this component.
구현
public function get systemManager():ISystemManager
public function set systemManager(value:ISystemManager):void
transform | 속성 |
transform:flash.geom:Transform
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
구현
public function get transform():flash.geom:Transform
public function set transform(value:flash.geom:Transform):void
tweeningProperties | 속성 |
tweeningProperties:Array
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Used by EffectManager. Returns non-null if a component is not using the EffectManager to execute a Tween.
구현
public function get tweeningProperties():Array
public function set tweeningProperties(value:Array):void
visible | 속성 |
width | 속성 |
x | 속성 |
y | 속성 |
PostScaleAdapter | () | 생성자 |
addEventListener | () | 메서드 |
dispatchEvent | () | 메서드 |
getBounds | () | 메서드 |
public function getBounds(targetCoordinateSpace:DisplayObject):Rectangle
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
매개 변수
targetCoordinateSpace:DisplayObject |
Rectangle |
getCompatibleIUIComponent | () | 메서드 |
public static function getCompatibleIUIComponent(obj:Object):IUIComponent
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Call getCompatibleIUIComponent when you need to work with an IUIComponent that reports width, height, min, max, explicit, measured, etc. in post-scale coordinates.
매개 변수
obj:Object |
IUIComponent |
getConstraintValue | () | 메서드 |
public function getConstraintValue(constraintName:String):*
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns the specified constraint value.
매개 변수
constraintName:String — name of the constraint value. Constraint parameters are
"baseline ", "bottom ", "horizontalCenter ",
"left ", "right ", "top ", and
"verticalCenter ".
For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles. |
* — The constraint value, or null if it is not defined.
|
getExplicitOrMeasuredHeight | () | 메서드 |
getExplicitOrMeasuredWidth | () | 메서드 |
getRect | () | 메서드 |
public function getRect(targetCoordinateSpace:DisplayObject):Rectangle
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
매개 변수
targetCoordinateSpace:DisplayObject |
Rectangle |
globalToLocal | () | 메서드 |
hasEventListener | () | 메서드 |
hitTestObject | () | 메서드 |
public function hitTestObject(obj:DisplayObject):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
매개 변수
obj:DisplayObject |
Boolean |
hitTestPoint | () | 메서드 |
initialize | () | 메서드 |
public function initialize():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Initialize the object.
invalidateDisplayList | () | 메서드 |
public function invalidateDisplayList():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Calling this method results in a call to the component's
validateDisplayList()
method
before the display list is rendered.
For components that extend UIComponent, this implies
that updateDisplayList()
is called.
invalidateProperties | () | 메서드 |
public function invalidateProperties():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Calling this method results in a call to the component's
validateProperties()
method
before the display list is rendered.
For components that extend UIComponent, this implies
that commitProperties()
is called.
invalidateSize | () | 메서드 |
public function invalidateSize():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Calling this method results in a call to the component's
validateSize()
method
before the display list is rendered.
For components that extend UIComponent, this implies
that measure()
is called, unless the component
has both explicitWidth
and explicitHeight
set.
localToGlobal | () | 메서드 |
move | () | 메서드 |
owns | () | 메서드 |
public function owns(displayObject:DisplayObject):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
매개 변수
displayObject:DisplayObject |
Boolean |
parentChanged | () | 메서드 |
public function parentChanged(p:DisplayObjectContainer):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
매개 변수
p:DisplayObjectContainer |
removeEventListener | () | 메서드 |
setActualSize | () | 메서드 |
public function setActualSize(newWidth:Number, newHeight:Number):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Sets the actual size of this object.
This method is mainly for use in implementing the
updateDisplayList()
method, which is where
you compute this object's actual size based on
its explicit size, parent-relative (percent) size,
and measured size.
You then apply this actual size to the object
by calling setActualSize()
.
In other situations, you should be setting properties
such as width
, height
,
percentWidth
, or percentHeight
rather than calling this method.
매개 변수
newWidth:Number — The new width for this object.
| |
newHeight:Number — The new height for this object.
|
setConstraintValue | () | 메서드 |
public function setConstraintValue(constraintName:String, value:*):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Sets the specified constraint value.
매개 변수
constraintName:String — name of the constraint value. Constraint parameters are
"baseline ", "bottom ", "horizontalCenter ",
"left ", "right ", "top ", and
"verticalCenter ".
For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles. | |
value:* — The new value for the constraint.
|
setVisible | () | 메서드 |
validateNow | () | 메서드 |
public function validateNow():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Validates and updates the properties and layout of this object
by immediately calling validateProperties()
,
validateSize()
, and validateDisplayList()
,
if necessary.
When properties are changed, the new values do not usually have
an immediate effect on the component.
Usually, all of the application code that needs to be run
at that time is executed. Then the LayoutManager starts
calling the validateProperties()
,
validateSize()
, and validateDisplayList()
methods on components, based on their need to be validated and their
depth in the hierarchy of display list objects.
For example, setting the width
property is delayed, because
it may require recalculating the widths of the object's children
or its parent.
Delaying the processing also prevents it from being repeated
multiple times if the application code sets the width
property
more than once.
This method lets you manually override this behavior.
willTrigger | () | 메서드 |
Tue Jun 12 2018, 03:17 PM Z