패키지 | mx.core |
클래스 | public class UITextField |
상속 | UITextField FlexTextField TextField InteractiveObject DisplayObject EventDispatcher Object |
구현 | IAutomationObject, IIMESupport, IFlexModule, IInvalidating, ISimpleStyleClient, IToolTipManagerClient, IUITextField |
하위 클래스 | AdvancedDataGridItemRenderer, DataGridItemRenderer, UITextFieldGridItemRenderer |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The UITextField class extends the flash.text.TextField class to support additional functionality required by Flex, such as CSS styles, invalidation/measurement/layout, enabling/disabling, tooltips, and IME (Input Method Editor) support for entering Chinese, Japanese, and Korean text.
Warning: if UITextField 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
true로 설정하면 텍스트 필드에 포커스가 없는 경우 Flash Player에서 텍스트 필드의 선택 영역이 회색으로 강조 표시됩니다. | TextField | ||
antiAliasType : String
이 텍스트 필드에 사용되는 앤티앨리어싱 유형입니다. | TextField | ||
automationDelegate : Object
The delegate object which is handling the automation related functionality. | UITextField | ||
automationEnabled : Boolean [읽기 전용]
True if this component is enabled for automation, false
otherwise. | UITextField | ||
automationName : String
Name that can be used as an identifier for this object. | UITextField | ||
automationOwner : DisplayObjectContainer [읽기 전용]
The owner of this component for automation purposes. | UITextField | ||
automationParent : DisplayObjectContainer [읽기 전용]
The parent of this component for automation purposes. | UITextField | ||
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. | UITextField | ||
automationVisible : Boolean [읽기 전용]
True if this component is visible for automation, false
otherwise. | UITextField | ||
autoSize : String
텍스트 필드의 자동 크기 조절 및 정렬을 제어합니다. | TextField | ||
background : Boolean
텍스트 필드에 배경 칠이 있는지 여부를 지정합니다. | TextField | ||
backgroundColor : uint
텍스트 필드의 배경색입니다. | TextField | ||
baselinePosition : Number [읽기 전용]
The y-coordinate of the baseline of the first line of text. | UITextField | ||
blendMode : String
사용할 블렌드 모드를 지정하는 BlendMode 클래스 값입니다. | DisplayObject | ||
blendShader : Shader [쓰기 전용]
전경 및 배경을 블렌딩하는 데 사용되는 셰이더를 설정합니다. | DisplayObject | ||
border : Boolean
텍스트 필드에 테두리가 있는지 여부를 지정합니다. | TextField | ||
borderColor : uint
텍스트 필드의 테두리 색상입니다. | TextField | ||
bottomScrollV : int [읽기 전용]
지정된 텍스트 필드에서 현재 맨 아래에 표시되는 행을 나타내는 정수 인덱스(1부터 시작)입니다. | TextField | ||
cacheAsBitmap : Boolean
true로 설정된 경우 Flash 런타임은 표시 객체의 내부 비트맵 표현을 캐시합니다. | DisplayObject | ||
cacheAsBitmapMatrix : Matrix
null이 아닌 경우 이 Matrix 객체는 cacheAsBitmap이 true로 설정될 때 표시 객체가 렌더링되는 방법을 정의합니다. | DisplayObject | ||
caretIndex : int [읽기 전용]
삽입점(캐럿) 위치의 인덱스입니다. | TextField | ||
className : String [읽기 전용]
The name of this instance's class, such as
"DataGridItemRenderer". | UITextField | ||
condenseWhite : Boolean
HTML 텍스트가 있는 텍스트 필드에서 공백 문자, 줄 바꿈 등의 불필요한 공백을 제거할지 여부를 지정하는 부울 값입니다. | TextField | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
contextMenu : NativeMenu
이 객체에 연결된 컨텍스트 메뉴를 지정합니다. | InteractiveObject | ||
defaultTextFormat : flash.text:TextFormat
replaceSelectedText() 메서드로 삽입한 텍스트 또는 사용자가 입력한 텍스트 등 새로 삽입되는 텍스트에 적용할 서식을 지정합니다. | TextField | ||
displayAsPassword : Boolean
텍스트 필드가 암호 텍스트 필드인지 여부를 지정합니다. | TextField | ||
document : Object
A reference to the document object associated with this UITextField object. | UITextField | ||
doubleClickEnabled : Boolean
이 객체에서 doubleClick 이벤트를 받을지 여부를 지정합니다. | InteractiveObject | ||
embedFonts : Boolean
포함된 글꼴 외곽선을 사용하여 렌더링할지 여부를 지정합니다. | TextField | ||
enabled : Boolean
A Boolean value that indicates whether the component is enabled. | UITextField | ||
enableIME : Boolean [읽기 전용]
A flag that indicates whether the IME should
be enabled when the component receives focus. | UITextField | ||
explicitHeight : Number
Number that specifies the explicit height of the component,
in pixels, in the component's coordinates. | UITextField | ||
explicitMaxHeight : Number [읽기 전용]
Number that specifies the maximum height of the component,
in pixels, in the component's coordinates, if the maxHeight property
is set. | UITextField | ||
explicitMaxWidth : Number [읽기 전용]
Number that specifies the maximum width of the component,
in pixels, in the component's coordinates, if the maxWidth property
is set. | UITextField | ||
explicitMinHeight : Number [읽기 전용]
The minimum recommended height of the component to be considered
by the parent during layout. | UITextField | ||
explicitMinWidth : Number [읽기 전용]
The minimum recommended width of the component to be considered
by the parent during layout. | UITextField | ||
explicitWidth : Number
Number that specifies the explicit width of the component,
in pixels, in the component's coordinates. | UITextField | ||
filters : Array
현재 표시 객체와 연관된 각 필터 객체가 들어 있는 인덱싱된 배열입니다. | DisplayObject | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | UITextField | ||
focusRect : Object
이 객체에서 포커스 사각형을 표시할지 여부를 지정합니다. | InteractiveObject | ||
gridFitType : String
이 텍스트 필드에 사용되는 격자 맞춤의 유형입니다. | TextField | ||
height : Number
표시 객체의 높이를 픽셀 단위로 나타냅니다. | DisplayObject | ||
htmlText : String
텍스트 필드 내용의 HTML 표현이 들어 있습니다. | TextField | ||
ignorePadding : Boolean
If true, the paddingLeft and
paddingRight styles will not add space
around the text of the component. | UITextField | ||
imeMode : String
Specifies the IME (input method editor) mode. | UITextField | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | UITextField | ||
inheritingStyles : Object
The beginning of this UITextField's chain of inheriting styles. | UITextField | ||
initialized : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required)
| UITextField | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | UITextField | ||
length : int [읽기 전용]
텍스트 필드의 문자 수입니다. | TextField | ||
loaderInfo : LoaderInfo [읽기 전용]
이 표시 객체가 속한 파일의 로딩 정보가 포함된 LoaderInfo 객체를 반환합니다. | DisplayObject | ||
mask : DisplayObject
호출하는 표시 객체는 지정된 mask 객체에 의해 마스크 처리됩니다. | DisplayObject | ||
maxChars : int
사용자가 입력하여 텍스트 필드에 포함될 수 있는 최대 문자 수입니다. | TextField | ||
maxHeight : Number [읽기 전용]
The maximum recommended height of the component to be considered
by the parent during layout. | UITextField | ||
maxScrollH : int [읽기 전용]
scrollH의 최대값입니다. | TextField | ||
maxScrollV : int [읽기 전용]
scrollV의 최대값입니다. | TextField | ||
maxWidth : Number [읽기 전용]
The maximum recommended width of the component to be considered
by the parent during layout. | UITextField | ||
measuredHeight : Number [읽기 전용]
The default height of the component, in pixels. | UITextField | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | UITextField | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | UITextField | ||
measuredWidth : Number [읽기 전용]
The default width of the component, in pixels. | UITextField | ||
metaData : Object
PlaceObject4 태그를 통해 SWF 파일에 해당 DisplayObject의 인스턴스와 함께 메타데이터가 저장된 경우 DisplayObject 인스턴스의 메타데이터 객체를 가져옵니다. | DisplayObject | ||
minHeight : Number [읽기 전용]
The minimum recommended height of the component to be considered
by the parent during layout. | UITextField | ||
minWidth : Number [읽기 전용]
The minimum recommended width of the component to be considered
by the parent during layout. | UITextField | ||
moduleFactory : IFlexModuleFactory
The moduleFactory that is used to create TextFields in the correct SWF context. | UITextField | ||
mouseEnabled : Boolean
이 객체가 마우스 또는 기타 사용자 입력, 메시지를 수신할지 여부를 지정합니다. | InteractiveObject | ||
mouseWheelEnabled : Boolean
사용자가 텍스트 필드를 클릭하고 마우스 휠을 굴릴 때 여러 줄 텍스트 필드가 자동으로 스크롤되는지 여부를 나타내는 부울 값입니다. | TextField | ||
mouseX : Number [읽기 전용]
마우스 또는 사용자 입력 장치 위치의 x 좌표를 픽셀로 나타냅니다. | DisplayObject | ||
mouseY : Number [읽기 전용]
마우스 또는 사용자 입력 장치 위치의 y 좌표를 픽셀로 나타냅니다. | DisplayObject | ||
multiline : Boolean
필드가 여러 행 텍스트 필드인지 여부를 나타냅니다. | TextField | ||
name : String
DisplayObject의 인스턴스 이름을 나타냅니다. | DisplayObject | ||
needsSoftKeyboard : Boolean
이 InteractiveObject 인스턴스가 포커스를 받을 때 가상 키보드(화면의 소프트웨어 키보드)를 표시할지 여부를 지정합니다. | InteractiveObject | ||
nestLevel : int
Depth of this object in the containment hierarchy. | UITextField | ||
nonInheritingStyles : Object
The beginning of this UITextField's chain of non-inheriting styles. | UITextField | ||
nonZeroTextHeight : Number [읽기 전용]
Unlike textHeight, this returns a non-zero value
even when the text is empty. | UITextField | ||
numLines : int [읽기 전용]
여러 행 텍스트 필드의 텍스트 행 수를 정의합니다. | TextField | ||
opaqueBackground : Object
표시 객체를 특정 배경색으로 불투명하게 처리할지 여부를 지정합니다. | DisplayObject | ||
owner : DisplayObjectContainer
By default, set to the parent container of this object. | UITextField | ||
parent : DisplayObjectContainer [재정의] [읽기 전용]
The parent container or component for this component. | UITextField | ||
percentHeight : Number
Specifies the height of a component as a percentage
of its parent's size. | UITextField | ||
percentWidth : Number
Specifies the width of a component as a percentage
of its parent's size. | UITextField | ||
processedDescriptors : Boolean
Set to true after the createChildren()
method creates any internal component children. | UITextField | ||
restrict : String
사용자가 텍스트 필드에 입력할 수 있는 문자 세트를 나타냅니다. | TextField | ||
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
현재 가로 스크롤 위치입니다. | TextField | ||
scrollRect : Rectangle
표시 객체의 스크롤 사각형 경계입니다. | DisplayObject | ||
scrollV : int
텍스트 필드에서 텍스트의 수직 위치입니다. | TextField | ||
selectable : Boolean
텍스트 필드를 선택할 수 있는지 여부를 나타내는 부울 값입니다. | TextField | ||
selectionBeginIndex : int [읽기 전용]
현재 선택 영역에 있는 첫 문자의 문자 인덱스 값(0부터 시작)입니다. | TextField | ||
selectionEndIndex : int [읽기 전용]
현재 선택 영역에 있는 마지막 문자의 문자 인덱스 값(0부터 시작)입니다. | TextField | ||
sharpness : Number
이 텍스트 필드의 글리프 가장자리 선명도입니다. | TextField | ||
softKeyboard : String
소프트 키보드의 모양을 제어합니다. | InteractiveObject | ||
softKeyboardInputAreaOfInterest : Rectangle
소프트 키보드가 표시될 때 화면에서 그대로 유지되는 영역을 정의합니다(iOS에서는 사용할 수 없음). | InteractiveObject | ||
stage : Stage [읽기 전용]
표시 객체의 Stage입니다. | DisplayObject | ||
styleName : Object
The class style used by this component. | UITextField | ||
styleSheet : StyleSheet
텍스트 필드에 스타일 시트를 연결합니다. | TextField | ||
systemManager : ISystemManager
Returns the SystemManager object used by this component. | UITextField | ||
tabEnabled : Boolean
이 객체가 탭 순서에 있는지 여부를 지정합니다. | InteractiveObject | ||
tabIndex : int
SWF 파일에서 객체의 탭 순서를 지정합니다. | InteractiveObject | ||
text : String
텍스트 필드의 현재 텍스트인 문자열입니다. | TextField | ||
textColor : uint
텍스트 필드의 16진수 형식 텍스트 색상입니다. | TextField | ||
textHeight : Number [읽기 전용]
텍스트의 높이(픽셀 단위)입니다. | TextField | ||
textInteractionMode : String [읽기 전용]
상호 작용 모드 속성으로서, 기본값은 TextInteractionMode.NORMAL입니다. | TextField | ||
textWidth : Number [읽기 전용]
텍스트의 폭(픽셀 단위)입니다. | TextField | ||
thickness : Number
이 텍스트 필드의 글리프 가장자리 두께입니다. | TextField | ||
toolTip : String
Text to display in the ToolTip. | UITextField | ||
transform : flash.geom:Transform
표시 객체의 행렬, 색상 변환 및 픽셀 경계와 관련된 속성을 가진 객체입니다. | DisplayObject | ||
tweeningProperties : Array
Array of properties that are currently being tweened on this object. | UITextField | ||
type : String
텍스트 필드의 유형입니다. | TextField | ||
updateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required)
| UITextField | ||
useRichTextClipboard : Boolean
텍스트와 함께 텍스트 서식을 복사하여 붙여 넣을지 여부를 지정합니다. | TextField | ||
visible : Boolean
표시 객체가 표시되는지 여부를 나타냅니다. | DisplayObject | ||
width : Number
표시 객체의 폭을 픽셀 단위로 나타냅니다. | DisplayObject | ||
wordWrap : Boolean
텍스트 필드에 자동 줄 바꿈이 사용되는지 여부를 나타내는 부울 값입니다. | TextField | ||
x : Number
부모 DisplayObjectContainer의 로컬 좌표를 기준으로 DisplayObject 인스턴스의 x 좌표를 나타냅니다. | DisplayObject | ||
y : Number
부모 DisplayObjectContainer의 로컬 좌표를 기준으로 DisplayObject 인스턴스의 y 좌표를 나타냅니다. | DisplayObject | ||
z : Number
3D parent 컨테이너를 기준으로 DisplayObject 인스턴스의 z축에 있는 z 좌표 위치를 나타냅니다. | DisplayObject |
메서드 | 정의 주체 | ||
---|---|---|---|
Constructor. | UITextField | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | EventDispatcher | ||
newText 매개 변수에 지정된 문자열을 텍스트 필드의 텍스트 끝에 추가합니다. | TextField | ||
이벤트를 이벤트 흐름으로 전달합니다. | EventDispatcher | ||
targetCoordinateSpace 객체의 좌표계를 기준으로 표시 객체의 영역을 정의하는 사각형을 반환합니다. | DisplayObject | ||
문자의 경계 상자인 사각형을 반환합니다. | TextField | ||
x 및 y 매개 변수로 지정된 점에 있는 문자의 인덱스 값(0부터 시작)을 반환합니다. | TextField | ||
A convenience method for determining whether to use the
explicit or measured height
| UITextField | ||
A convenience method for determining whether to use the
explicit or measured width
| UITextField | ||
지정된 문자 인덱스와 같은 단락에 있는 첫 문자의 인덱스를 반환합니다. | TextField | ||
<img> 태그를 사용하여 HTML 형식 텍스트 필드에 추가된 이미지 또는 SWF 파일에 대한 지정된 ID의 DisplayObject 참조를 반환합니다. | TextField | ||
x 및 y 매개 변수로 지정된 점에 있는 행의 인덱스 값(0부터 시작)을 반환합니다. | TextField | ||
charIndex 매개 변수로 지정된 문자가 들어 있는 행의 인덱스 값(0부터 시작)을 반환합니다. | TextField | ||
특정 텍스트 행의 문자 수를 반환합니다. | TextField | ||
지정된 텍스트 행에 대한 메트릭 정보를 반환합니다. | TextField | ||
lineIndex 매개 변수로 지정된 행에 있는 첫 문자의 문자 인덱스를 반환합니다. | TextField | ||
lineIndex 매개 변수로 지정된 행의 텍스트를 반환합니다. | TextField | ||
지정된 문자 인덱스가 포함된 단락의 길이를 반환합니다. | TextField | ||
대상 좌표 공간 매개 변수에 의해 정의되는 좌표계를 기준으로 모양의 획을 제외하고 표시 객체의 경계를 정의하는 사각형을 반환합니다. | DisplayObject | ||
Gets a style property that has been set anywhere in this
component's style lookup chain. | UITextField | ||
beginIndex 및 endIndex 매개 변수로 지정된 텍스트 범위에 대한 서식 정보가 들어 있는 TextFormat 객체를 반환합니다. | TextField | ||
Returns the TextFormat object that represents
character formatting information for this UITextField object. | UITextField | ||
Returns a UITextFormat object that contains formatting information for this component. | UITextField | ||
Point 객체를 Stage 전역 좌표에서 표시 객체의 로컬 좌표로 변환합니다. | DisplayObject | ||
Stage(전역) 좌표의 2차원 점을 3차원 표시 객체(로컬) 좌표로 변환합니다. | DisplayObject | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
표시 객체의 경계 상자를 평가하여 obj 표시 객체의 경계 상자와 겹치거나 교차하는지 확인합니다. | DisplayObject | ||
표시 객체를 평가하여 x 및 y 매개 변수에 의해 지정된 점과 겹치거나 교차하는지 확인합니다. | DisplayObject | ||
Initializes this component. | UITextField | ||
Marks a component so that its updateDisplayList()
method gets called during a later screen update. | UITextField | ||
Marks a component so that its commitProperties()
method gets called during a later screen update. | UITextField | ||
Marks a component so that its measure()
method gets called during a later screen update. | UITextField | ||
[정적]
지정된 fontName 및 fontStyle로 포함된 글꼴을 사용할 수 있고 Font.fontType이 flash.text.FontType.EMBEDDED이면 true를 반환합니다. | TextField | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
3차원 표시 객체의 로컬 좌표에 있는 3차원 점을 Stage 전역 좌표의 2차원 점으로 변환합니다. | DisplayObject | ||
Point 객체를 표시 객체의 로컬 좌표에서 Stage 전역 좌표로 변환합니다. | DisplayObject | ||
Moves the component to a specified position within its parent. | UITextField | ||
Returns true if the child is parented or owned by this object. | UITextField | ||
This function is called when a UITextField object is assigned
a parent. | UITextField | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
EventDispatcher 객체에서 리스너를 제거합니다. | EventDispatcher | ||
현재 선택 내용을 value 매개 변수의 내용으로 바꿉니다. | TextField | ||
beginIndex 및 endIndex 매개 변수로 지정된 문자 범위를 newText 매개 변수의 내용으로 바꿉니다. | TextField | ||
Replays the specified event. | UITextField | ||
가상 키보드를 표시합니다. | InteractiveObject | ||
Sizes the object. | UITextField | ||
Sets the font color of the text. | UITextField | ||
Sets the focus to this component. | UITextField | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
beginIndex 및 endIndex 매개 변수로 지정된 첫 번째 및 마지막 문자의 인덱스 값으로 지정된 텍스트를 선택된 상태로 설정합니다. | TextField | ||
Does nothing. | UITextField | ||
텍스트 필드의 지정된 텍스트에 format 매개 변수로 지정된 텍스트 서식을 적용합니다. | TextField | ||
Sets the visible property of this UITextField object. | UITextField | ||
Detects changes to style properties. | UITextField | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
[재정의]
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application. | FlexTextField | ||
Truncate text to make it fit horizontally in the area defined for the control,
and append an ellipsis, three periods (...), to the text. | UITextField | ||
Validate and update the properties and layout of this object
and redraw it, if necessary. | UITextField | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher |
스타일은 일반적이거나 특정 테마와 연결되어 있을 수 있습니다. 일반적인 스타일인 경우 모든 테마와 함께 사용할 수 있지만, 특정 테마와 연결된 스타일인 경우 응용 프로그램이 해당 테마를 사용하는 경우에만 스타일을 사용할 수 있습니다.
스타일 | 설명 | 정의 주체 | ||
---|---|---|---|---|
color | 유형: uint 형식: Color CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Color of text in the component, including the component label. The default value for the Halo theme is 0x0B333C .
The default value for the Spark theme is 0x000000 .
| UITextField | ||
disabledColor | 유형: uint 형식: Color CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Color of text in the component if it is disabled. 기본값: 0xAAB3B3 . | UITextField | ||
fontAntiAliasType | 유형: String CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Sets the antiAliasType property of internal TextFields. The possible values are
"normal" (flash.text.AntiAliasType.NORMAL )
and "advanced" (flash.text.AntiAliasType.ADVANCED ).
The default value is This style has no effect for system fonts. This style applies to all the text in a TextField subcontrol; you cannot apply it to some characters and not others. 기본값: "advanced" .관련 API 요소 | UITextField | ||
fontFamily | 유형: String CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Name of the font to use. Unlike in a full CSS implementation, comma-separated lists are not supported. You can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. The default font for the Halo theme is "Verdana" .
The default font for the Spark theme is "Arial" .
| UITextField | ||
fontGridFitType | 유형: String CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Sets the gridFitType property of internal TextFields that represent text in Flex controls.
The possible values are "none" (flash.text.GridFitType.NONE ),
"pixel" (flash.text.GridFitType.PIXEL ),
and "subpixel" (flash.text.GridFitType.SUBPIXEL ).
This property only applies when you are using an embedded font
and the This style has no effect for system fonts. This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others. 기본값: "pixel" .관련 API 요소 | UITextField | ||
fontSharpness | 유형: Number CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Sets the sharpness property of internal TextFields that represent text in Flex controls.
This property specifies the sharpness of the glyph edges. The possible values are Numbers
from -400 through 400.
This property only applies when you are using an embedded font
and the This style has no effect for system fonts. This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others. 기본값: 0 .관련 API 요소 | UITextField | ||
fontSize | 유형: Number 형식: Length CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Height of the text, in pixels. In the Halo theme, the default value is 10 for all controls except the ColorPicker control. For the Halo themed ColorPicker control, the default value is 11. In the Spark theme, the default value is 12 for all controls except the ColorPicker control. For the Spark themed ColorPicker control, the default value is 11. | UITextField | ||
fontStyle | 유형: String CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Determines whether the text is italic font. Recognized values are "normal" and "italic" .
기본값: "normal" . | UITextField | ||
fontThickness | 유형: Number CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Sets the thickness property of internal TextFields that represent text in Flex controls.
This property specifies the thickness of the glyph edges.
The possible values are Numbers from -200 to 200.
This property only applies when you are using an embedded font
and the This style has no effect on system fonts. This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others. 기본값: 0 .관련 API 요소 | UITextField | ||
fontWeight | 유형: String CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Determines whether the text is boldface. Recognized values are normal and bold .
The default value for Button controls is bold .
The default value for all other controls is normal .
| UITextField | ||
kerning | 유형: Boolean CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 A Boolean value that indicates whether kerning is enabled ( true ) or disabled (false ).
Kerning adjusts the gap between certain character pairs
to improve readability, and should be used only when necessary,
such as with headings in large fonts.
Kerning is supported for embedded fonts only.
Certain fonts, such as Verdana, and monospaced fonts,
such as Courier New, do not support kerning.
기본값: false . | UITextField | ||
leading | 유형: Number 형식: Length CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Additional vertical space between lines of text. The default value is 2. The default value for the ComboBox control is 0. | UITextField | ||
letterSpacing | 유형: Number CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 The number of additional pixels to appear between each character. A positive value increases the character spacing beyond the normal spacing, while a negative value decreases it. 기본값: 0 . | UITextField | ||
locale | 유형: String CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 4 런타임 버전: Flash10, AIR 1.5 The locale of the text displayed by this component. FTE and TLF use this locale to map Unicode characters to font glyphs and to find fallback fonts. Note: This style only applies when an MX component
specifies UIFTETextField as its "en" . | UITextField | ||
paddingLeft | 유형: Number 형식: Length CSS 상속: 아니요 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Number of pixels between the component's left border and the left edge of its content area. The default value is 0. The default value for a Button control in the Halo theme is 10 and in the Spark theme is 6. The default value for the ComboBox control is 5. The default value for the Form container is 16. The default value for the Tree control is 2. | UITextField | ||
paddingRight | 유형: Number 형식: Length CSS 상속: 아니요 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Number of pixels between the component's right border and the right edge of its content area. The default value is 0. The default value for a Button control in the Halo theme is 10 and in the Spark theme is 6. The default value for the ComboBox control is 5. The default value for the Form container is 16. | UITextField | ||
textAlign | 유형: String CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Alignment of text within a container. Possible values are "left" , "right" ,
or "center" .
The default value for most components is | UITextField | ||
textDecoration | 유형: String CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Determines whether the text is underlined. Possible values are "none" and "underline" .
기본값: "none" . | UITextField | ||
textFieldClass | 유형: Class CSS 상속: 아니요 언어 버전: ActionScript 3.0 제품 버전: Flex 4 런타임 버전: Flash10, AIR 1.5 The class implementing IUITextField that is used by this component to render text. It can be set to either the mx.core.UITextField class (to use the classic TextField class built into Flash Player) or the mx.core.UIFTETextField class (to use the Text Layout Framework to get improved text rendering, including bidirectional layout). 기본값: mx.core.UITextField . | UITextField | ||
textIndent | 유형: Number 형식: Length CSS 상속: 예 언어 버전: ActionScript 3.0 제품 버전: Flex 3 런타임 버전: Flash9, AIR 1.1 Offset of first line of text from the left side of the container, in pixels. 기본값: 0 . | UITextField |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
A reference to the document object associated with this UITextField object. A document object is an Object at the top of the hierarchy of a Flex application, MXML component, or AS 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 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, in the component's coordinates, if the maxWidth property is set. Because maxWidth 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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 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
ignorePadding | 속성 |
ignorePadding:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Unlike textHeight, this returns a non-zero value even when the text is empty. In this case, it returns what the textHeight would be if the text weren't empty.
구현
public function get nonZeroTextHeight():Number
owner | 속성 |
owner:DisplayObjectContainer
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The parent container or component for this component.
구현
override public function get parent():DisplayObjectContainer
percentHeight | 속성 |
percentHeight:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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
UITextField | () | 생성자 |
public function UITextField()
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructor.
getExplicitOrMeasuredHeight | () | 메서드 |
getExplicitOrMeasuredWidth | () | 메서드 |
getStyle | () | 메서드 |
public function getStyle(styleProp:String):*
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
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