| 패키지 | spark.utils | 
| 클래스 | public class TextFlowUtil | 
| 상속 | TextFlowUtil    Object | 
| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 4 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
| 메서드 | 정의 주체 | ||
|---|---|---|---|
[정적] 
      Exports a TextFlow into the markup language
      used by the Text Layout Framework, in the form of XML.  | TextFlowUtil | ||
![]()  | 
	 지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.  | Object | |
importFromString(markup:String, whiteSpaceCollapse:String = "collapse"):flashx.textLayout.elements:TextFlow [정적] 
      Creates a TextFlow by importing (i.e., parsing) a String
      containing the markup language used by the Text Layout Framework.  | TextFlowUtil | ||
importFromXML(markup:XML, whiteSpaceCollapse:String = "collapse"):flashx.textLayout.elements:TextFlow [정적] 
      Creates a TextFlow by importing (parsing) XML
      that contains the markup language used by the Text Layout Framework.  | TextFlowUtil | ||
![]()  | 
	 Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
	 지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.  | Object | |
![]()  | 
     루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.  | Object | |
![]()  | 
	 로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
	 지정된 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
	 지정된 객체의 프리미티브 값을 반환합니다.  | Object | |
export | () | 메서드 | 
 public static function export(textFlow:flashx.textLayout.elements:TextFlow):XML| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 4 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
Exports a TextFlow into the markup language used by the Text Layout Framework, in the form of XML.
The root tag of the exported XML will be
      <TextFlow xmlns="http://ns.adobe.com/textLayout/2008" ...>
      
      
     
      매개 변수
textFlow:flashx.textLayout.elements:TextFlow — The TextFlow to be exported
      in Text Layout Framework markup language.
     
       | 
XML — XML containing Text Layout Framework
      markup language.
      
       | 
importFromString | () | 메서드 | 
 public static function importFromString(markup:String, whiteSpaceCollapse:String = "collapse"):flashx.textLayout.elements:TextFlow| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 4 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
Creates a TextFlow by importing (i.e., parsing) a String containing the markup language used by the Text Layout Framework.
An example of a markup string is
      "<TextFlow xmlns='http://ns.adobe.com/textLayout/2008'>
      Hello, World!
</TextFlow>"
      
      
     
      However, you can use terser markup such as
"Hello, World!".
      It will get wrapped with a TextFlow tag in the proper namespace,
      and span and paragraph tags will get automatically inserted
      where needed to comply with the structure of a TextFlow.
     
      If you specify the TextFlow tag yourself,
      it must be in the correct XML namespace
      for runtime Text Layout Framework markup, which is
      "http://ns.adobe.com/textLayout/2008".
Incorrect markup will cause this method to throw various exceptions. The error message will contain information about why it could not be parsed.
매개 변수
markup:String — The markup String to be imported.
     
       | |
whiteSpaceCollapse:String (default = "collapse") — A String indicating whether
      the whitespace in the markup should be collapsed or preserved.
      The possible values are
      WhiteSpaceCollapse.COLLAPSE and
      WhiteSpaceCollapse.PRESERVE in the
      flashx.textLayout.formats.WhiteSpaceCollapse class.
      The default value is WhiteSpaceCollapse.COLLAPSE.
     
       | 
flashx.textLayout.elements:TextFlow — A new TextFlow instance created from the markup.
      
       | 
importFromXML | () | 메서드 | 
 public static function importFromXML(markup:XML, whiteSpaceCollapse:String = "collapse"):flashx.textLayout.elements:TextFlow| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 4 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
Creates a TextFlow by importing (parsing) XML that contains the markup language used by the Text Layout Framework.
An example of markup XML is
      <TextFlow xmlns='http://ns.adobe.com/textLayout/2008'>
        Hello, World!
      </TextFlow>
      
      
     
      You can also use terser markup such as the following:
      "Hello, <span fontWeight='bold'>World!</span>"
      
      The parser wraps the markup with a <TextFlow> tag in the proper namespace.
      The parser also inserts <span> and <paragraph> tags
      where needed to comply with the structure of a TextFlow object.
     
      If you specify the TextFlow tag yourself,
      it must be in the correct XML namespace
      for runtime Text Layout Framework markup, which is
      "http://ns.adobe.com/textLayout/2008".
Incorrect markup causes this method to throw various exceptions. The error message contains information about why it could not be parsed.
매개 변수
markup:XML — The markup XML to be imported.
     
       | |
whiteSpaceCollapse:String (default = "collapse") — A String indicating whether
      the whitespace in the markup should be collapsed or preserved.
      The possible values are
      WhiteSpaceCollapse.COLLAPSE and
      WhiteSpaceCollapse.PRESERVE in the
      flashx.textLayout.formats.WhiteSpaceCollapse class.
      The default value is WhiteSpaceCollapse.COLLAPSE.
     
       | 
flashx.textLayout.elements:TextFlow — A new TextFlow instance created from the markup.
      
       | 
Tue Jun 12 2018, 03:17 PM Z
 
 상속되는 공용 속성 숨기기
 상속되는 공용 속성 표시