패키지 | mx.core |
클래스 | public class UIFTETextField |
상속 | UIFTETextField FTETextField Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
구현 | IAutomationObject, IIMESupport, IFlexModule, IInvalidating, ISimpleStyleClient, IToolTipManagerClient, IUITextField |
하위 클래스 | DefaultGridItemRenderer, FTEAdvancedDataGridItemRenderer, FTEDataGridItemRenderer |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
UIFTETextField extends FTETextField in the same way that UITextField extends TextField. By extending FTETextField, it makes it possible for MX components to use the Flash Text Engine. Benefits of using FTE over TextField include higher-quality typography, bidirectional text, and rotatable text.
When MX components use FTE, they can use the same
embedded fonts as Spark components, which always use FTE.
Otherwise, a font must be embedded with embedAsCFF="false"
for use by TextField-based components, and with
embedAsCFF="true"
for use by FTE-based components.
MX components that display text use the textFieldClass
style to determine whether to create instances
of UITextField or UIFTETextField.
They are able to use either class because both classes implement
the IUITextField interface.
Warning: if UIFTETextField inherits layoutDirection="rtl"
, it
will modify its own transform.matrix
to restore the default
coordinate system locally.
관련 API 요소
속성 | 정의 주체 | ||
---|---|---|---|
accessibilityImplementation : AccessibilityImplementation
이 InteractiveObject 인스턴스에 대한 현재 액세스 가능성 구현(AccessibilityImplementation)입니다. | InteractiveObject | ||
accessibilityProperties : AccessibilityProperties
이 표시 객체의 현재 액세스 가능성 옵션입니다. | DisplayObject | ||
alpha : Number
지정된 객체의 알파 투명도 값을 나타냅니다. | DisplayObject | ||
alwaysShowSelection : Boolean
This property is not implemented in FTETextField
because FTETextField does not support selection. | FTETextField | ||
antiAliasType : String
This property has no effect in FTETextField
because FTE uses a newer font renderer than TextField. | FTETextField | ||
automationDelegate : Object
The delegate object which is handling the automation related functionality. | UIFTETextField | ||
automationEnabled : Boolean [읽기 전용]
True if this component is enabled for automation, false
otherwise. | UIFTETextField | ||
automationName : String
Name that can be used as an identifier for this object. | UIFTETextField | ||
automationOwner : DisplayObjectContainer [읽기 전용]
The owner of this component for automation purposes. | UIFTETextField | ||
automationParent : DisplayObjectContainer [읽기 전용]
The parent of this component for automation purposes. | UIFTETextField | ||
automationValue : Array [읽기 전용]
This value generally corresponds to the rendered appearance of the
object and should be usable for correlating the identifier with
the object as it appears visually within the application. | UIFTETextField | ||
automationVisible : Boolean [읽기 전용]
True if this component is visible for automation, false
otherwise. | UIFTETextField | ||
autoSize : String
텍스트 필드의 자동 크기 조절 및 정렬을 제어합니다. | FTETextField | ||
background : Boolean
텍스트 필드에 배경 칠이 있는지 여부를 지정합니다. | FTETextField | ||
backgroundColor : uint
텍스트 필드의 배경색입니다. | FTETextField | ||
baselinePosition : Number [읽기 전용]
The y-coordinate of the baseline of the first line of text. | UIFTETextField | ||
blendMode : String
사용할 블렌드 모드를 지정하는 BlendMode 클래스 값입니다. | DisplayObject | ||
blendShader : Shader [쓰기 전용]
전경 및 배경을 블렌딩하는 데 사용되는 셰이더를 설정합니다. | DisplayObject | ||
border : Boolean
텍스트 필드에 테두리가 있는지 여부를 지정합니다. | FTETextField | ||
borderColor : uint
텍스트 필드의 테두리 색상입니다. | FTETextField | ||
bottomScrollV : int [읽기 전용]
This property has not been implemented in FTETextField
because FTETextField does not support scrolling. | FTETextField | ||
buttonMode : Boolean
이 Sprite의 버튼 모드를 지정합니다. | Sprite | ||
cacheAsBitmap : Boolean
true로 설정된 경우 Flash 런타임은 표시 객체의 내부 비트맵 표현을 캐시합니다. | DisplayObject | ||
cacheAsBitmapMatrix : Matrix
null이 아닌 경우 이 Matrix 객체는 cacheAsBitmap이 true로 설정될 때 표시 객체가 렌더링되는 방법을 정의합니다. | DisplayObject | ||
caretIndex : int [읽기 전용]
This property has not been implemented in FTETextField
because FTETextField does not support editing. | FTETextField | ||
className : String [읽기 전용]
The name of this instance's class, such as
"DataGridItemRenderer". | UIFTETextField | ||
condenseWhite : Boolean
HTML 텍스트가 있는 텍스트 필드에서 공백 문자, 줄 바꿈 등의 불필요한 공백을 제거할지 여부를 지정하는 부울 값입니다. | FTETextField | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
contextMenu : NativeMenu
이 객체에 연결된 컨텍스트 메뉴를 지정합니다. | InteractiveObject | ||
defaultTextFormat : flash.text:TextFormat
replaceSelectedText() 메서드로 삽입한 텍스트 또는 사용자가 입력한 텍스트 등 새로 삽입되는 텍스트에 적용할 서식을 지정합니다. | FTETextField | ||
direction : String
The directionality of the text displayed by the FTETextField. | FTETextField | ||
displayAsPassword : Boolean
This property has not been implemented in FTETextField
because FTETextField does not support editing. | FTETextField | ||
document : Object
A reference to the document object associated with this UITextField object. | UIFTETextField | ||
doubleClickEnabled : Boolean
이 객체에서 doubleClick 이벤트를 받을지 여부를 지정합니다. | InteractiveObject | ||
dropTarget : DisplayObject [읽기 전용]
드래그하는 Sprite 아래의 표시 객체 또는 Sprite를 드래그해 놓은 표시 객체를 지정합니다. | Sprite | ||
embedFonts : Boolean
포함된 글꼴 외곽선을 사용하여 렌더링할지 여부를 지정합니다. | FTETextField | ||
enabled : Boolean
A Boolean value that indicates whether the component is enabled. | UIFTETextField | ||
enableIME : Boolean [읽기 전용]
A flag that indicates whether the IME should
be enabled when the component receives focus. | UIFTETextField | ||
explicitHeight : Number
Number that specifies the explicit height of the component,
in pixels, in the component's coordinates. | UIFTETextField | ||
explicitMaxHeight : Number [읽기 전용]
Number that specifies the maximum height of the component,
in pixels, in the component's coordinates, if the maxHeight property
is set. | UIFTETextField | ||
explicitMaxWidth : Number [읽기 전용]
Number that specifies the maximum width of the component,
in pixels, in the component's coordinates, if the maxWidth property
is set. | UIFTETextField | ||
explicitMinHeight : Number [읽기 전용]
The minimum recommended height of the component to be considered
by the parent during layout. | UIFTETextField | ||
explicitMinWidth : Number [읽기 전용]
The minimum recommended width of the component to be considered
by the parent during layout. | UIFTETextField | ||
explicitWidth : Number
Number that specifies the explicit width of the component,
in pixels, in the component's coordinates. | UIFTETextField | ||
filters : Array
현재 표시 객체와 연관된 각 필터 객체가 들어 있는 인덱싱된 배열입니다. | DisplayObject | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | UIFTETextField | ||
focusRect : Object
이 객체에서 포커스 사각형을 표시할지 여부를 지정합니다. | InteractiveObject | ||
fontContext : IFlexModuleFactory
The IFlexModuleFactory instance that FTETextField
uses for creating TextLine objects. | FTETextField | ||
graphics : Graphics [읽기 전용]
벡터 드로잉 명령을 내릴 수 있는 이 Sprite에 속한 Graphics 객체를 지정합니다. | Sprite | ||
gridFitType : String
This property has no effect in FTETextField
because FTE uses a newer font renderer than TextField. | FTETextField | ||
height : Number
표시 객체의 높이를 픽셀 단위로 나타냅니다. | DisplayObject | ||
hitArea : Sprite
Sprite의 히트 영역으로 사용할 다른 Sprite를 지정합니다. | Sprite | ||
htmlText : String
텍스트 필드 내용의 HTML 표현이 들어 있습니다. | FTETextField | ||
ignorePadding : Boolean
If true, the paddingLeft and
paddingRight styles will not add space
around the text of the component. | UIFTETextField | ||
imeMode : String
Specifies the IME (input method editor) mode. | UIFTETextField | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | UIFTETextField | ||
inheritingStyles : Object
The beginning of this UITextField's chain of inheriting styles. | UIFTETextField | ||
initialized : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required). | UIFTETextField | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | UIFTETextField | ||
length : int [읽기 전용]
텍스트 필드의 문자 수입니다. | FTETextField | ||
loaderInfo : LoaderInfo [읽기 전용]
이 표시 객체가 속한 파일의 로딩 정보가 포함된 LoaderInfo 객체를 반환합니다. | DisplayObject | ||
locale : String
The locale of the text displayed by FTETextField. | FTETextField | ||
mask : DisplayObject
호출하는 표시 객체는 지정된 mask 객체에 의해 마스크 처리됩니다. | DisplayObject | ||
maxChars : int
This property has not been implemented in FTETextField
because FTETextField does not support editing. | FTETextField | ||
maxHeight : Number [읽기 전용]
The maximum recommended height of the component to be considered
by the parent during layout. | UIFTETextField | ||
maxScrollH : int [읽기 전용]
This property has not been implemented in FTETextField
because FTETextField does not support scrolling. | FTETextField | ||
maxScrollV : int [읽기 전용]
This property has not been implemented in FTETextField
because FTETextField does not support scrolling. | FTETextField | ||
maxWidth : Number [읽기 전용]
The maximum recommended width of the component to be considered
by the parent during layout. | UIFTETextField | ||
measuredHeight : Number [읽기 전용]
The default height of the component, in pixels. | UIFTETextField | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | UIFTETextField | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | UIFTETextField | ||
measuredWidth : Number [읽기 전용]
The default width of the component, in pixels. | UIFTETextField | ||
metaData : Object
PlaceObject4 태그를 통해 SWF 파일에 해당 DisplayObject의 인스턴스와 함께 메타데이터가 저장된 경우 DisplayObject 인스턴스의 메타데이터 객체를 가져옵니다. | DisplayObject | ||
minHeight : Number [읽기 전용]
The minimum recommended height of the component to be considered
by the parent during layout. | UIFTETextField | ||
minWidth : Number [읽기 전용]
The minimum recommended width of the component to be considered
by the parent during layout. | UIFTETextField | ||
moduleFactory : IFlexModuleFactory
The moduleFactory that is used to create TextFields in the correct SWF context. | UIFTETextField | ||
mouseChildren : Boolean
해당 객체의 자식에서 마우스 또는 사용자 입력 장치가 사용하도록 설정되어 있는지 여부를 결정합니다. | DisplayObjectContainer | ||
mouseEnabled : Boolean
이 객체가 마우스 또는 기타 사용자 입력, 메시지를 수신할지 여부를 지정합니다. | InteractiveObject | ||
mouseWheelEnabled : Boolean
This property has not been implemented in FTETextField
because FTETextField does not support scrolling. | FTETextField | ||
mouseX : Number [읽기 전용]
마우스 또는 사용자 입력 장치 위치의 x 좌표를 픽셀로 나타냅니다. | DisplayObject | ||
mouseY : Number [읽기 전용]
마우스 또는 사용자 입력 장치 위치의 y 좌표를 픽셀로 나타냅니다. | DisplayObject | ||
multiline : Boolean
This property has no effect in FTETextField
because FTETextField does not support editing. | FTETextField | ||
name : String
DisplayObject의 인스턴스 이름을 나타냅니다. | DisplayObject | ||
needsSoftKeyboard : Boolean
이 InteractiveObject 인스턴스가 포커스를 받을 때 가상 키보드(화면의 소프트웨어 키보드)를 표시할지 여부를 지정합니다. | InteractiveObject | ||
nestLevel : int
Depth of this object in the containment hierarchy. | UIFTETextField | ||
nonInheritingStyles : Object
The beginning of this UITextField's chain of non-inheriting styles. | UIFTETextField | ||
nonZeroTextHeight : Number [읽기 전용]
The height of the text, in pixels. | UIFTETextField | ||
numChildren : int [읽기 전용]
이 객체의 자식 수를 반환합니다. | DisplayObjectContainer | ||
numLines : int [읽기 전용]
여러 행 텍스트 필드의 텍스트 행 수를 정의합니다. | FTETextField | ||
opaqueBackground : Object
표시 객체를 특정 배경색으로 불투명하게 처리할지 여부를 지정합니다. | DisplayObject | ||
owner : DisplayObjectContainer
By default, set to the parent container of this object. | UIFTETextField | ||
parent : DisplayObjectContainer [재정의] [읽기 전용]
The parent container or component for this component. | UIFTETextField | ||
percentHeight : Number
Specifies the height of a component as a percentage
of its parent's size. | UIFTETextField | ||
percentWidth : Number
Specifies the width of a component as a percentage
of its parent's size. | UIFTETextField | ||
processedDescriptors : Boolean
Set to true after the createChildren()
method creates any internal component children. | UIFTETextField | ||
restrict : String
This property has not been implemented in FTETextField
because FTETextField does not support scrolling. | FTETextField | ||
root : DisplayObject [읽기 전용]
로드된 SWF 파일에 있는 표시 객체의 경우, 해당 SWF 파일이 나타내는 표시 목록의 트리 구조 부분에서 맨 위에 위치하는 표시 객체가 루트 속성이 됩니다. | DisplayObject | ||
rotation : Number
DisplayObject 인스턴스가 원점으로부터 회전한 각도입니다. | DisplayObject | ||
rotationX : Number
DisplayObject 인스턴스가 3D parent 컨테이너를 기준으로 원점으로부터 x축 회전한 각도를 나타냅니다. | DisplayObject | ||
rotationY : Number
DisplayObject 인스턴스가 3D parent 컨테이너를 기준으로 원점으로부터 y축 회전한 각도를 나타냅니다. | DisplayObject | ||
rotationZ : Number
DisplayObject 인스턴스가 3D parent 컨테이너를 기준으로 원점으로부터 z축 회전한 각도를 나타냅니다. | DisplayObject | ||
scale9Grid : Rectangle
현재 적용 중인 크기 조절 격자입니다. | DisplayObject | ||
scaleX : Number
등록 포인트에서 적용된 객체의 가로 크기(백분율)를 나타냅니다. | DisplayObject | ||
scaleY : Number
객체의 등록 포인트에서 적용된 객체의 세로 크기(백분율)를 나타냅니다. | DisplayObject | ||
scaleZ : Number
객체의 등록 포인트에서 적용된 객체의 깊이 크기(백분율)를 나타냅니다. | DisplayObject | ||
scrollH : int
This property has not been implemented in FTETextField
because FTETextField does not support scrolling. | FTETextField | ||
scrollRect : Rectangle
표시 객체의 스크롤 사각형 경계입니다. | DisplayObject | ||
scrollV : int
This property has not been implemented in FTETextField
because FTETextField does not support scrolling. | FTETextField | ||
selectable : Boolean
Setting this property has no effect in FTETextField
because FTETextField does not support selection. | FTETextField | ||
selectionBeginIndex : int [읽기 전용]
This property has not been implemented in FTETextField
because FTETextField does not support selection. | FTETextField | ||
selectionEndIndex : int [읽기 전용]
This property has not been implemented in FTETextField
because FTETextField does not support selection. | FTETextField | ||
sharpness : Number
This property has no effect in FTETextField. | FTETextField | ||
softKeyboard : String
소프트 키보드의 모양을 제어합니다. | InteractiveObject | ||
softKeyboardInputAreaOfInterest : Rectangle
소프트 키보드가 표시될 때 화면에서 그대로 유지되는 영역을 정의합니다(iOS에서는 사용할 수 없음). | InteractiveObject | ||
soundTransform : flash.media:SoundTransform
이 Sprite 내에서 사운드를 제어합니다. | Sprite | ||
stage : Stage [읽기 전용]
표시 객체의 Stage입니다. | DisplayObject | ||
styleName : Object
The class style used by this component. | UIFTETextField | ||
styleSheet : StyleSheet
텍스트 필드에 스타일 시트를 연결합니다. | FTETextField | ||
systemManager : ISystemManager
Returns the SystemManager object used by this component. | UIFTETextField | ||
tabChildren : Boolean
객체의 자식에서 탭 기능을 사용할 수 있는지 여부를 결정합니다. | DisplayObjectContainer | ||
tabEnabled : Boolean
이 객체가 탭 순서에 있는지 여부를 지정합니다. | InteractiveObject | ||
tabIndex : int
SWF 파일에서 객체의 탭 순서를 지정합니다. | InteractiveObject | ||
text : String
텍스트 필드의 현재 텍스트인 문자열입니다. | FTETextField | ||
textColor : uint
텍스트 필드의 16진수 형식 텍스트 색상입니다. | FTETextField | ||
textHeight : Number [읽기 전용]
텍스트의 높이(픽셀 단위)입니다. | FTETextField | ||
textSnapshot : flash.text:TextSnapshot [읽기 전용]
이 DisplayObjectContainer 인스턴스에 대한 TextSnapshot 객체를 반환합니다. | DisplayObjectContainer | ||
textWidth : Number [읽기 전용]
텍스트의 폭(픽셀 단위)입니다. | FTETextField | ||
thickness : Number
This property has no effect in FTETextField
because FTE uses a newer font renderer than TextField. | FTETextField | ||
toolTip : String
Text to display in the ToolTip. | UIFTETextField | ||
transform : flash.geom:Transform
표시 객체의 행렬, 색상 변환 및 픽셀 경계와 관련된 속성을 가진 객체입니다. | DisplayObject | ||
tweeningProperties : Array
Array of properties that are currently being tweened on this object. | UIFTETextField | ||
type : String
텍스트 필드의 유형입니다. | FTETextField | ||
updateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required)
| UIFTETextField | ||
useHandCursor : Boolean
buttonMode 속성이 true로 설정된 스프라이트 위로 포인터를 움직일 때 손 모양(손 모양 커서)을 표시할지 여부를 나타내는 부울 값입니다. | Sprite | ||
useRichTextClipboard : Boolean
This property is not implemented in FTETextField
because FTETextField does not support selection
or clipboard operations. | FTETextField | ||
visible : Boolean
표시 객체가 표시되는지 여부를 나타냅니다. | DisplayObject | ||
width : Number
표시 객체의 폭을 픽셀 단위로 나타냅니다. | DisplayObject | ||
wordWrap : Boolean
텍스트 필드에 자동 줄 바꿈이 사용되는지 여부를 나타내는 부울 값입니다. | FTETextField | ||
x : Number
부모 DisplayObjectContainer의 로컬 좌표를 기준으로 DisplayObject 인스턴스의 x 좌표를 나타냅니다. | DisplayObject | ||
y : Number
부모 DisplayObjectContainer의 로컬 좌표를 기준으로 DisplayObject 인스턴스의 y 좌표를 나타냅니다. | DisplayObject | ||
z : Number
3D parent 컨테이너를 기준으로 DisplayObject 인스턴스의 z축에 있는 z 좌표 위치를 나타냅니다. | DisplayObject |
메서드 | 정의 주체 | ||
---|---|---|---|
Constructor. | UIFTETextField | ||
이 DisplayObjectContainer 인스턴스에 자식 DisplayObject 인스턴스를 추가합니다. | DisplayObjectContainer | ||
이 DisplayObjectContainer 인스턴스에 자식 DisplayObject 인스턴스를 추가합니다. | DisplayObjectContainer | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | EventDispatcher | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
지정된 point 점으로 DisplayObjectContainer.getObjectsUnderPoint() 메서드를 호출하여 반환된 목록에서 임의의 표시 객체가 보안 제한 사항으로 인해 생략되는지 여부를 나타냅니다. | DisplayObjectContainer | ||
지정된 표시 객체가 DisplayObjectContainer 인스턴스의 자식인지 아니면 인스턴스 자체인지를 확인합니다. | DisplayObjectContainer | ||
이벤트를 이벤트 흐름으로 전달합니다. | EventDispatcher | ||
targetCoordinateSpace 객체의 좌표계를 기준으로 표시 객체의 영역을 정의하는 사각형을 반환합니다. | DisplayObject | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
지정된 인덱스에 존재하는 자식 표시 객체 인스턴스를 반환합니다. | DisplayObjectContainer | ||
지정된 이름을 가진 자식 표시 객체를 반환합니다. | DisplayObjectContainer | ||
자식 DisplayObject 인스턴스의 인덱스 위치를 반환합니다. | DisplayObjectContainer | ||
A convenience method for determining whether to use the
explicit or measured height
| UIFTETextField | ||
A convenience method for determining whether to use the
explicit or measured width
| UIFTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
지정된 텍스트 행에 대한 메트릭 정보를 반환합니다. | FTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
이 DisplayObjectContainer 인스턴스의 자식(또는 손자 등)으로서 지정된 점 아래에 있는 객체의 배열을 반환합니다. | DisplayObjectContainer | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
대상 좌표 공간 매개 변수에 의해 정의되는 좌표계를 기준으로 모양의 획을 제외하고 표시 객체의 경계를 정의하는 사각형을 반환합니다. | DisplayObject | ||
Gets a style property that has been set anywhere in this
component's style lookup chain. | UIFTETextField | ||
This method has been implemented in FTETextField
to simply return a copy of the defaultTextFormat,
because FTETextField does not support formatting a range. | FTETextField | ||
Returns the TextFormat object that represents
character formatting information for this UITextField object. | UIFTETextField | ||
Returns a UITextFormat object that contains formatting information for this component. | UIFTETextField | ||
Point 객체를 Stage 전역 좌표에서 표시 객체의 로컬 좌표로 변환합니다. | DisplayObject | ||
Stage(전역) 좌표의 2차원 점을 3차원 표시 객체(로컬) 좌표로 변환합니다. | DisplayObject | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
표시 객체의 경계 상자를 평가하여 obj 표시 객체의 경계 상자와 겹치거나 교차하는지 확인합니다. | DisplayObject | ||
표시 객체를 평가하여 x 및 y 매개 변수에 의해 지정된 점과 겹치거나 교차하는지 확인합니다. | DisplayObject | ||
Initializes this component. | UIFTETextField | ||
Marks a component so that its updateDisplayList()
method gets called during a later screen update. | UIFTETextField | ||
Marks a component so that its commitProperties()
method gets called during a later screen update. | UIFTETextField | ||
Marks a component so that its measure()
method gets called during a later screen update. | UIFTETextField | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
3차원 표시 객체의 로컬 좌표에 있는 3차원 점을 Stage 전역 좌표의 2차원 점으로 변환합니다. | DisplayObject | ||
Point 객체를 표시 객체의 로컬 좌표에서 Stage 전역 좌표로 변환합니다. | DisplayObject | ||
Moves the component to a specified position within its parent. | UIFTETextField | ||
Returns true if the child is parented or owned by this object. | UIFTETextField | ||
This function is called when a UITextField object is assigned
a parent. | UIFTETextField | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
지정된 자식 DisplayObject 인스턴스를 DisplayObjectContainer 인스턴스의 자식 목록에서 제거합니다. | DisplayObjectContainer | ||
DisplayObjectContainer 자식 목록에서 지정된 인덱스 위치에 있는 자식 DisplayObject를 제거합니다. | DisplayObjectContainer | ||
모든 자식 DisplayObject 인스턴스를 DisplayObjectContainer 인스턴스의 자식 목록에서 제거합니다. | DisplayObjectContainer | ||
EventDispatcher 객체에서 리스너를 제거합니다. | EventDispatcher | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
This method has not been implemented in FTETextField
because very few components use it in TextField. | FTETextField | ||
Replays the specified event. | UIFTETextField | ||
가상 키보드를 표시합니다. | InteractiveObject | ||
Sizes the object. | UIFTETextField | ||
표시 객체 컨테이너에서 기존 자식의 위치를 변경합니다. | DisplayObjectContainer | ||
Sets the font color of the text. | UIFTETextField | ||
Sets the focus to this component. | UIFTETextField | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
This method has not been implemented in FTETextField
because FTETextField does not support selection. | FTETextField | ||
Does nothing. | UIFTETextField | ||
This method has no effect on a FTETextField if beginIndex
or endIndex does not equal -1
because FTETextField does not support formatting a range. | FTETextField | ||
Sets the visible property of this UITextField object. | UIFTETextField | ||
지정된 Sprite를 드래그할 수 있도록 합니다. | Sprite | ||
터치 지원 장치에서 지정된 스프라이트를 드래그할 수 있도록 합니다. | Sprite | ||
이 객체가 루트로 지정된 모든 MovieClip의 타임라인 실행을 재귀적으로 중지합니다. | DisplayObjectContainer | ||
startDrag() 메서드를 종료합니다. | Sprite | ||
startTouchDrag() 메서드를 종료합니다. 터치 지원 장치에서 사용합니다. | Sprite | ||
Detects changes to style properties. | UIFTETextField | ||
지정된 두 개의 자식 객체의 z 순서(전후 순서)를 맞바꿉니다. | DisplayObjectContainer | ||
자식 목록에서 지정된 두 곳의 인덱스 위치에 있는 자식 객체의 z 순서(전후 순서)를 맞바꿉니다. | DisplayObjectContainer | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
Truncate text to make it fit horizontally in the area defined for the control,
and append an ellipsis, three periods (...), to the text. | UIFTETextField | ||
Validate and update the properties and layout of this object
and redraw it, if necessary. | UIFTETextField | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher |
automationDelegate | 속성 |
automationEnabled | 속성 |
automationName | 속성 |
automationOwner | 속성 |
automationOwner:DisplayObjectContainer
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The owner of this component for automation purposes.
구현
public function get automationOwner():DisplayObjectContainer
automationParent | 속성 |
automationParent:DisplayObjectContainer
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The parent of this component for automation purposes.
구현
public function get automationParent():DisplayObjectContainer
automationValue | 속성 |
automationValue:Array
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.
구현
public function get automationValue():Array
automationVisible | 속성 |
baselinePosition | 속성 |
className | 속성 |
className:String
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The name of this instance's class, such as
"DataGridItemRenderer"
.
This string does not include the package name.
If you need the package name as well, call the
getQualifiedClassName()
method in the flash.utils package.
It will return a string such as
"mx.controls.dataGridClasses::DataGridItemRenderer"
.
구현
public function get className():String
document | 속성 |
document:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
A reference to the document object associated with this UITextField object. A document object is an Object at the top of the hierarchy of an 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 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
A Boolean value that indicates whether the component is enabled.
This property only affects
the color of the text and not whether the UITextField is editable.
To control editability, use the
flash.text.TextField.type
property.
기본값: true.
구현
public function get enabled():Boolean
public function set enabled(value:Boolean):void
관련 API 요소
enableIME | 속성 |
explicitHeight | 속성 |
explicitHeight:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Number that specifies the explicit height of the component, in pixels, in the component's coordinates.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true explicitHeight
with respect to its parent
is affected by the scaleY
property.
Setting the height
property also sets this property to
the specified height value.
구현
public function get explicitHeight():Number
public function set explicitHeight(value:Number):void
explicitMaxHeight | 속성 |
explicitMaxHeight:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Number that specifies the maximum height of the component, in pixels, in the component's coordinates, if the maxHeight property is set. Because maxHeight is read-only, this method returns NaN. You must override this method and add a setter to use this property.
기본값: NaN.
구현
public function get explicitMaxHeight():Number
관련 API 요소
explicitMaxWidth | 속성 |
explicitMaxWidth:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Number that specifies the maximum width of the component,
in pixels, in the component's coordinates, if the maxWidth
property
is set. Because the maxWidth
property is read-only, this method returns NaN
.
You must override this method and add a setter to use this
property.
기본값: NaN.
구현
public function get explicitMaxWidth():Number
관련 API 요소
explicitMinHeight | 속성 |
explicitMinHeight:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The minimum recommended height of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels.
Application developers typically do not set the explicitMinHeight property. Instead, they set the value of the minHeight property, which sets the explicitMinHeight property. The value of minHeight does not change.
At layout time, if minHeight was explicitly set by the application developer, then the value of explicitMinHeight is used. Otherwise, the value of measuredMinHeight is used.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true minHeight
with respect to its parent
is affected by the scaleY
property.
구현
public function get explicitMinHeight():Number
explicitMinWidth | 속성 |
explicitMinWidth:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The minimum recommended width of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels.
Application developers typically do not set the explicitMinWidth property. Instead, they set the value of the minWidth property, which sets the explicitMinWidth property. The value of minWidth does not change.
At layout time, if minWidth was explicitly set by the application developer, then the value of explicitMinWidth is used. Otherwise, the value of measuredMinWidth is used.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true minWidth
with respect to its parent
is affected by the scaleX
property.
구현
public function get explicitMinWidth():Number
explicitWidth | 속성 |
explicitWidth:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Number that specifies the explicit width of the component, in pixels, in the component's coordinates.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true explicitWidth
with respect to its parent
is affected by the scaleX
property.
Setting the width
property also sets this property to
the specified width value.
구현
public function get explicitWidth():Number
public function set explicitWidth(value:Number):void
focusPane | 속성 |
focusPane:Sprite
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
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
ignorePadding | 속성 |
ignorePadding:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
If true
, the paddingLeft
and
paddingRight
styles will not add space
around the text of the component.
기본값: true.
구현
public function get ignorePadding():Boolean
public function set ignorePadding(value:Boolean):void
imeMode | 속성 |
imeMode:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Specifies the IME (input method editor) mode. The IME enables users to enter text in Chinese, Japanese, and Korean. Flex sets the specified IME mode when the control gets the focus, and sets it back to the previous value when the control loses the focus.
The flash.system.IMEConversionMode class defines constants for the
valid values for this property.
You can also specify null
to specify no IME.
기본값: null.
구현
public function get imeMode():String
public function set imeMode(value:String):void
관련 API 요소
includeInLayout | 속성 |
includeInLayout:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Specifies whether this component is included in the layout of the
parent container.
If true
, the object is included in its parent container's
layout and is sized and positioned by its parent container as per its layout rules.
If false
, the object size and position are not affected by its parent container's
layout.
구현
public function get includeInLayout():Boolean
public function set includeInLayout(value:Boolean):void
inheritingStyles | 속성 |
inheritingStyles:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The beginning of this UITextField's chain of inheriting styles.
The getStyle()
method accesses
inheritingStyles[styleName]
to search the entire
prototype-linked chain.
This object is set up by the initProtoChain()
method.
You typically never need to access this property directly.
구현
public function get inheritingStyles():Object
public function set inheritingStyles(value:Object):void
initialized | 속성 |
initialized:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
A flag that determines if an object has been through all three phases of layout validation (provided that any were required).
구현
public function get initialized():Boolean
public function set initialized(value:Boolean):void
isPopUp | 속성 |
maxHeight | 속성 |
maxHeight:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The maximum recommended height of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels. The default value of this property is set by the component developer.
The component developer uses this property to set an upper limit on the height of the component.
If the application developer overrides the default value of maxHeight, the new value is stored in explicitMaxHeight. The default value of maxHeight does not change. As a result, at layout time, if maxHeight was explicitly set by the application developer, then the value of explicitMaxHeight is used for the component's maximum recommended height. If maxHeight is not set explicitly by the user, then the default value is used.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true maxHeight
with respect to its parent
is affected by the scaleY
property.
Some components have no theoretical limit to their height.
In those cases their maxHeight
is set to
UIComponent.DEFAULT_MAX_HEIGHT
.
구현
public function get maxHeight():Number
maxWidth | 속성 |
maxWidth:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The maximum recommended width of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels. The default value of this property is set by the component developer.
The component developer uses this property to set an upper limit on the width of the component.
If the application developer overrides the default value of maxWidth, the new value is stored in explicitMaxWidth. The default value of maxWidth does not change. As a result, at layout time, if maxWidth was explicitly set by the application developer, then the value of explicitMaxWidth is used for the component's maximum recommended width. If maxWidth is not set explicitly by the user, then the default value is used.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true maxWidth
with respect to its parent
is affected by the scaleX
property.
Some components have no theoretical limit to their width.
In those cases their maxWidth
is set to
UIComponent.DEFAULT_MAX_WIDTH
.
구현
public function get maxWidth():Number
measuredHeight | 속성 |
measuredMinHeight | 속성 |
measuredMinWidth | 속성 |
measuredWidth | 속성 |
minHeight | 속성 |
minHeight:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The minimum recommended height of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels. The default value depends on the component's implementation.
If the application developer sets the value of minHeight, the new value is stored in explicitMinHeight. The default value of minHeight does not change. As a result, at layout time, if minHeight was explicitly set by the application developer, then the value of explicitMinHeight is used for the component's minimum recommended height. If minHeight is not set explicitly by the application developer, then the value of measuredMinHeight is used.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true minHeight
with respect to its parent
is affected by the scaleY
property.
구현
public function get minHeight():Number
minWidth | 속성 |
minWidth:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The minimum recommended width of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels. The default value depends on the component's implementation.
If the application developer sets the value of minWidth, the new value is stored in explicitMinWidth. The default value of minWidth does not change. As a result, at layout time, if minWidth was explicitly set by the application developer, then the value of explicitMinWidth is used for the component's minimum recommended width. If minWidth is not set explicitly by the application developer, then the value of measuredMinWidth is used.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true minWidth
with respect to its parent
is affected by the scaleX
property.
구현
public function get minWidth():Number
moduleFactory | 속성 |
moduleFactory:IFlexModuleFactory
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The moduleFactory that is used to create TextFields in the correct SWF context. This is necessary so that embedded fonts will work.
구현
public function get moduleFactory():IFlexModuleFactory
public function set moduleFactory(value:IFlexModuleFactory):void
nestLevel | 속성 |
nestLevel:int
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Depth of this object in the containment hierarchy. This number is used by the measurement and layout code. The value is 0 if this component is not on the DisplayList.
구현
public function get nestLevel():int
public function set nestLevel(value:int):void
nonInheritingStyles | 속성 |
nonInheritingStyles:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The beginning of this UITextField's chain of non-inheriting styles.
The getStyle()
method accesses
nonInheritingStyles[styleName]
method to search the entire
prototype-linked chain.
This object is set up by the initProtoChain()
method.
You typically never need to access this property directly.
구현
public function get nonInheritingStyles():Object
public function set nonInheritingStyles(value:Object):void
nonZeroTextHeight | 속성 |
nonZeroTextHeight:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The height of the text, in pixels. Unlike the textHeight
property,
the nonZeroTextHeight
property returns a non-zero value of what the
height of the text would be, even if the text is empty.
구현
public function get nonZeroTextHeight():Number
owner | 속성 |
owner:DisplayObjectContainer
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
By default, set to the parent container of this object. However, if this object is a child component that is popped up by its parent, such as the dropdown list of a ComboBox control, the owner is the component that popped up this object.
This property is not managed by Flex, but by each component.
Therefore, if you use the PopUpManger.createPopUp()
or
PopUpManger.addPopUp()
method to pop up a child component,
you should set the owner
property of the child component
to the component that popped it up.
The default value is the value of the parent
property.
구현
public function get owner():DisplayObjectContainer
public function set owner(value:DisplayObjectContainer):void
parent | 속성 |
parent:DisplayObjectContainer
[읽기 전용] [재정의] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The parent container or component for this component.
구현
override public function get parent():DisplayObjectContainer
percentHeight | 속성 |
percentHeight:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Specifies the height of a component as a percentage
of its parent's size. Allowed values are 0-100. The default value is NaN.
Setting the height
or explicitHeight
properties
resets this property to NaN.
This property returns a numeric value only if the property was previously set; it does not reflect the exact size of the component in percent.
This property is always set to NaN for the UITextField control.
When used with Spark layouts, this property is used to calculate the
height of the component's bounds after scaling and rotation. For example
if the component is rotated at 90 degrees, then specifying
percentHeight
will affect the component's width.
구현
public function get percentHeight():Number
public function set percentHeight(value:Number):void
percentWidth | 속성 |
percentWidth:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Specifies the width of a component as a percentage
of its parent's size. Allowed values are 0-100. The default value is NaN.
Setting the width
or explicitWidth
properties
resets this property to NaN.
This property returns a numeric value only if the property was previously set; it does not reflect the exact size of the component in percent.
This property is always set to NaN for the UITextField control.
When used with Spark layouts, this property is used to calculate the
width of the component's bounds after scaling and rotation. For example
if the component is rotated at 90 degrees, then specifying
percentWidth
will affect the component's height.
구현
public function get percentWidth():Number
public function set percentWidth(value:Number):void
processedDescriptors | 속성 |
styleName | 속성 |
styleName:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The class style used by this component. This can be a String, CSSStyleDeclaration or an IStyleClient.
If this is a String, it is the name of one or more whitespace delimited class
declarations in an <fx:Style>
tag or CSS file. You do not include the period
in the styleName
. For example, if you have a class style named ".bigText"
,
set the styleName
property to "bigText"
(no period).
If this is an IStyleClient (typically a UIComponent), all styles in the
styleName
object are used by this component.
구현
public function get styleName():Object
public function set styleName(value:Object):void
systemManager | 속성 |
systemManager:ISystemManager
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Returns the SystemManager object used by this component.
구현
public function get systemManager():ISystemManager
public function set systemManager(value:ISystemManager):void
toolTip | 속성 |
tweeningProperties | 속성 |
tweeningProperties:Array
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Array of properties that are currently being tweened on this object.
Used to alert the EffectManager that certain properties of this object are being tweened, so that the EffectManger doesn't attempt to animate the same properties.
구현
public function get tweeningProperties():Array
public function set tweeningProperties(value:Array):void
updateCompletePendingFlag | 속성 |
updateCompletePendingFlag:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
A flag that determines if an object has been through all three phases of layout validation (provided that any were required)
구현
public function get updateCompletePendingFlag():Boolean
public function set updateCompletePendingFlag(value:Boolean):void
UIFTETextField | () | 생성자 |
public function UIFTETextField()
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Constructor.
getExplicitOrMeasuredHeight | () | 메서드 |
getExplicitOrMeasuredWidth | () | 메서드 |
getStyle | () | 메서드 |
public function getStyle(styleProp:String):*
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Gets a style property that has been set anywhere in this component's style lookup chain.
This same method is used to get any kind of style property, so the value returned can be a Boolean, String, Number, int, uint (for an RGB color), Class (for a skin), or any kind of object. Therefore the return type is simply specified as *.
If you are getting a particular style property, you know its type and often want to store the result in a variable of that type. No casting from * to that type is necessary.
var backgroundColor:uint = getStyle("backgroundColor");
If the style property has not been set anywhere in the
style lookup chain, the value returned by getStyle()
is undefined
.
Note that undefined
is a special value that is
not the same as false
, ""
,
NaN
, 0
, or null
.
No valid style value is ever undefined
.
You can use the method
IStyleManager2.isValidStyleValue()
to test whether the value was set.
매개 변수
styleProp:String — Name of the style property.
|
* — Style value.
|
getTextStyles | () | 메서드 |
public function getTextStyles():flash.text:TextFormat
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Returns the TextFormat object that represents character formatting information for this UITextField object.
반환값flash.text:TextFormat — A TextFormat object.
|
관련 API 요소
getUITextFormat | () | 메서드 |
public function getUITextFormat():mx.core:UITextFormat
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Returns a UITextFormat object that contains formatting information for this component.
This method is similar to the getTextFormat()
method of the
flash.text.TextField class, but it returns a UITextFormat object instead
of a TextFormat object.
The UITextFormat class extends the TextFormat class to add the text measurement methods
measureText()
and measureHTMLText()
.
mx.core:UITextFormat — An object that contains formatting information for this component.
|
관련 API 요소
initialize | () | 메서드 |
public function initialize():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Initializes this component.
This method is required by the IUIComponent interface, but it actually does nothing for a UITextField.
invalidateDisplayList | () | 메서드 |
public function invalidateDisplayList():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Marks a component so that its updateDisplayList()
method gets called during a later screen update.
Invalidation is a useful mechanism for eliminating duplicate work by delaying processing of changes to a component until a later screen update. For example, if you want to change the width and height, it would be wasteful to update the component immediately after you change the width and then update again with the new height. It is more efficient to change both properties and then render the component with its new size once.
Invalidation methods rarely get called. In general, setting a property on a component automatically calls the appropriate invalidation method.
invalidateProperties | () | 메서드 |
public function invalidateProperties():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Marks a component so that its commitProperties()
method gets called during a later screen update.
Invalidation is a useful mechanism for eliminating duplicate work by delaying processing of changes to a component until a later screen update. For example, if you want to change the text color and size, it would be wasteful to update the color immediately after you change it and then update the size when it gets set. It is more efficient to change both properties and then render the text with its new size and color once.
Invalidation methods rarely get called. In general, setting a property on a component automatically calls the appropriate invalidation method.
invalidateSize | () | 메서드 |
public function invalidateSize():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Marks a component so that its measure()
method gets called during a later screen update.
Invalidation is a useful mechanism for eliminating duplicate work by delaying processing of changes to a component until a later screen update. For example, if you want to change the text and font size, it would be wasteful to update the text immediately after you change it and then update the size when it gets set. It is more efficient to change both properties and then render the text with its new size once.
Invalidation methods rarely get called. In general, setting a property on a component automatically calls the appropriate invalidation method.
move | () | 메서드 |
public function move(x:Number, y:Number):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Moves the component to a specified position within its parent.
Calling this method is exactly the same as
setting the component's x
and y
properties.
If you are overriding the updateDisplayList()
method
in a custom component, call the move()
method
rather than setting the x
and y
properties.
The difference is that the move()
method changes the location
of the component and then dispatches a move
event when you
call the method, while setting the x
and y
properties changes the location of the component and dispatches
the event on the next screen refresh.
매개 변수
x:Number — Left position of the component within its parent.
| |
y:Number — Top position of the component within its parent.
|
owns | () | 메서드 |
public function owns(child:DisplayObject):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Returns true
if the child is parented or owned by this object.
매개 변수
child:DisplayObject — The child DisplayObject.
|
Boolean — true if the child is parented or owned by this UITextField object.
|
관련 API 요소
parentChanged | () | 메서드 |
public function parentChanged(p:DisplayObjectContainer):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
This function is called when a UITextField object is assigned a parent. You typically never need to call this method.
매개 변수
p:DisplayObjectContainer — The parent of this UITextField object.
|
replayAutomatableEvent | () | 메서드 |
public function replayAutomatableEvent(event:Event):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Replays the specified event. A component author should probably call super.replayAutomatableEvent in case default replay behavior has been defined in a superclass.
매개 변수
event:Event — The event to replay.
|
Boolean — true if a replay was successful.
|
setActualSize | () | 메서드 |
public function setActualSize(w:Number, h:Number):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Sizes the object.
Unlike directly setting the width
and height
properties, calling the setActualSize()
method
does not set the explictWidth
and
explicitHeight
properties, so a future layout
calculation can result in the object returning to its previous size.
This method is used primarily by component developers implementing
the updateDisplayList()
method, by Effects,
and by the LayoutManager.
매개 변수
w:Number — Width of the object.
| |
h:Number — Height of the object.
|
setColor | () | 메서드 |
setFocus | () | 메서드 |
public function setFocus():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Sets the focus to this component. The component can in turn pass focus to a subcomponent.
Note: Only the TextInput and TextArea controls show a highlight when this method sets the focus. All controls show a highlight when the user tabs to the control.
setStyle | () | 메서드 |
setVisible | () | 메서드 |
public function setVisible(visible:Boolean, noEvent:Boolean = false):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Sets the visible
property of this UITextField object.
매개 변수
visible:Boolean — true to make this UITextField visible,
and false to make it invisible.
| |
noEvent:Boolean (default = false ) — true to suppress generating an event when you change visibility.
|
styleChanged | () | 메서드 |
public function styleChanged(styleProp:String):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Detects changes to style properties. When any style property is set,
Flex calls the styleChanged()
method,
passing to it the name of the style being set.
This is an advanced method that you might override
when creating a subclass of UIComponent. When you create a custom component,
you can override the styleChanged()
method
to check the style name passed to it, and handle the change accordingly.
This lets you override the default behavior of an existing style,
or add your own custom style properties.
If you handle the style property, your override of
the styleChanged()
method should call the
invalidateDisplayList()
method to cause Flex to execute
the component's updateDisplayList()
method at the next screen update.
매개 변수
styleProp:String — The name of the style property, or null if all styles for this
component have changed.
|
truncateToFit | () | 메서드 |
public function truncateToFit(truncationIndicator:String = null):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Truncate text to make it fit horizontally in the area defined for the control, and append an ellipsis, three periods (...), to the text.
매개 변수
truncationIndicator:String (default = null ) — The text to be appended after truncation.
If you pass null , a localizable string
such as "..." will be used.
|
Boolean — true if the text needed truncation.
|
validateNow | () | 메서드 |
public function validateNow():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Validate and update the properties and layout of this object
and redraw it, if necessary.
Processing properties that require substantial computation are normally
not processed until the script finishes executing.
For example setting the width
property is delayed, because it can
require recalculating the widths of the objects children or its parent.
Delaying the processing prevents it from being repeated
multiple times if the script sets the width
property more than once.
This method lets you manually override this behavior.
Tue Jun 12 2018, 03:17 PM Z