JavaTM Platform
Standard Ed. 6

인터페이스
javax.swing.text.MutableAttributeSet 의 사용

MutableAttributeSet 를 사용하고 있는 패키지
javax.swing 모든 플랫폼에서 가능한 한 똑같이 기능하는 「경량」(Java 공통 언어) 컴퍼넌트세트를 제공합니다.  
javax.swing.text 편집 가능한 텍스트 컴퍼넌트와 편집 불능인 텍스트 컴퍼넌트를 처리하는 클래스와 인터페이스를 제공합니다.  
javax.swing.text.html HTML 텍스트 문자 편집기를 작성하기 위한 HTMLEditorKit 클래스와 지원 클래스를 제공합니다.  
 

javax.swing 에서의 MutableAttributeSet 의 사용
 

MutableAttributeSet 를 돌려주는 javax.swing 의 메소드
 MutableAttributeSet JTextPane. getInputAttributes ()
          구획의 입력 속성을 돌려줍니다.
 

javax.swing.text 에서의 MutableAttributeSet 의 사용
 

javax.swing.text 에서의 MutableAttributeSet 의 서브 인터페이스
 interface Style
          문서내의 요소에 관련한 속성의 컬렉션입니다.
 

MutableAttributeSet 를 구현하고 있는 javax.swing.text 의 클래스
 class AbstractDocument.AbstractElement
          요소의 추상 부분을 구현합니다.
 class AbstractDocument.BranchElement
          다른 요소를 포함한 복합 요소를 구현합니다.
 class AbstractDocument.LeafElement
          어떤 종류의 컨텐츠를 직접 나타내는 요소를 구현합니다.
protected  class DefaultStyledDocument.SectionElement
          문서의 디폴트 루트 요소로, 포함되는 단락이나 행을 매핑 합니다.
 class SimpleAttributeSet
          해시 테이블을 사용하는, MutableAttributeSet 의 직접적인 구현입니다.
 class StyleContext.NamedStyle
          일반적으로, 문자 및 단락의 서식을 나타내기 위해서(때문에) 사용되는 속성의 컬렉션입니다.
 

MutableAttributeSet 를 돌려주는 javax.swing.text 의 메소드
protected  MutableAttributeSet StyleContext. createLargeAttributeSet (AttributeSet  a)
          메모리 효율보다 처리 시간을 우선하는, 큰 사이즈의 속성 세트를 작성합니다.
 MutableAttributeSet StyledEditorKit. getInputAttributes ()
          구획의 입력 속성을 가져옵니다.
 

MutableAttributeSet 형의 파라미터를 가지는 javax.swing.text 의 메소드
protected  void StyledEditorKit. createInputAttributes (Element  element, MutableAttributeSet  set)
          element 의 AttributeSet 내의 키와 값의 페어를 set 에 카피합니다.
 void StyleContext. readAttributes (ObjectInputStream  in, MutableAttributeSet  a)
          속성을 읽어들이는 문맥 고유의 처리입니다.
static void StyleContext. readAttributeSet (ObjectInputStream  in, MutableAttributeSet  a)
          지정된 객체 입력 스트림로부터,writeAttributeSet 로 이전에 기입해지고 있는 속성 세트를 읽어들입니다.
static void StyleConstants. setAlignment (MutableAttributeSet  a, int align)
          배치 방법을 설정합니다.
static void StyleConstants. setBackground (MutableAttributeSet  a, Color  fg)
          백그라운드 칼라를 설정합니다.
static void StyleConstants. setBidiLevel (MutableAttributeSet  a, int o)
          BIDI 레벨을 설정합니다.
static void StyleConstants. setBold (MutableAttributeSet  a, boolean b)
          볼드 속성을 설정합니다.
static void StyleConstants. setComponent (MutableAttributeSet  a, Component  c)
          컴퍼넌트 속성을 설정합니다.
static void StyleConstants. setFirstLineIndent (MutableAttributeSet  a, float i)
          최초의 행의 인덴트를 설정합니다.
static void StyleConstants. setFontFamily (MutableAttributeSet  a, String  fam)
          폰트의 속성을 설정합니다.
static void StyleConstants. setFontSize (MutableAttributeSet  a, int s)
          font size를 설정합니다.
static void StyleConstants. setForeground (MutableAttributeSet  a, Color  fg)
          foreground 칼라를 설정합니다.
static void StyleConstants. setIcon (MutableAttributeSet  a, Icon  c)
          아이콘의 속성을 설정합니다.
static void StyleConstants. setItalic (MutableAttributeSet  a, boolean b)
          이탤릭 속성을 설정합니다.
static void StyleConstants. setLeftIndent (MutableAttributeSet  a, float i)
          왼쪽 인덴트를 설정합니다.
static void StyleConstants. setLineSpacing (MutableAttributeSet  a, float i)
          행간격을 설정합니다.
static void StyleConstants. setRightIndent (MutableAttributeSet  a, float i)
           오른쪽 인덴트를 설정합니다.
static void StyleConstants. setSpaceAbove (MutableAttributeSet  a, float i)
          위의 스페이스를 설정합니다.
static void StyleConstants. setSpaceBelow (MutableAttributeSet  a, float i)
          아래의 스페이스를 설정합니다.
static void StyleConstants. setStrikeThrough (MutableAttributeSet  a, boolean b)
          취소선속성을 설정합니다.
static void StyleConstants. setSubscript (MutableAttributeSet  a, boolean b)
          첨자 속성을 설정합니다.
static void StyleConstants. setSuperscript (MutableAttributeSet  a, boolean b)
          슈퍼 스크립트 속성을 설정합니다.
static void StyleConstants. setTabSet (MutableAttributeSet  a, TabSet  tabs)
          탭 세트를 설정합니다.
static void StyleConstants. setUnderline (MutableAttributeSet  a, boolean b)
          밑줄 속성을 설정합니다.
 

javax.swing.text.html 에서의 MutableAttributeSet 의 사용
 

MutableAttributeSet 를 구현하고 있는 javax.swing.text.html 의 클래스
 class HTMLDocument.BlockElement
          HTML 의 구조 블록을 나타내는 요소입니다.
 class HTMLDocument.RunElement
          HTML 문자 레벨 속성세트를 할당할 수 있고 있는 텍스트의 체크를 나타내는 요소입니다.
 

MutableAttributeSet 로서 선언되고 있는 javax.swing.text.html 의 필드
protected  MutableAttributeSet HTMLDocument.HTMLReader. charAttr
           
 

MutableAttributeSet 를 돌려주는 javax.swing.text.html 의 메소드
protected  MutableAttributeSet StyleSheet. createLargeAttributeSet (AttributeSet  a)
          메모리 효율보다 처리 시간을 우선하는, 큰 사이즈의 속성 세트를 작성합니다.
 MutableAttributeSet HTMLEditorKit. getInputAttributes ()
          서식 첨부 편집 액션에 사용되는 입력 속성을 돌려줍니다.
 

MutableAttributeSet 형의 파라미터를 가지는 javax.swing.text.html 의 메소드
 void StyleSheet. addCSSAttribute (MutableAttributeSet  attr, CSS.Attribute  key, String  value)
          지정된 세트에 CSS 속성을 추가합니다.
 boolean StyleSheet. addCSSAttributeFromHTML (MutableAttributeSet  attr, CSS.Attribute  key, String  value)
          지정된 세트에 CSS 속성을 추가합니다.
protected  void HTMLDocument.HTMLReader. addSpecialElement (HTML.Tag  t, MutableAttributeSet  a)
          기본적으로 속성 세트 전체로 지정되고 있는 컨텐츠를 추가합니다.
protected  void HTMLDocument.HTMLReader. blockOpen (HTML.Tag  t, MutableAttributeSet  attr)
          해석 버퍼에 명령을 추가해, 지정한 속성을 가지는 블록 요소를 생성합니다.
protected  void HTMLEditorKit. createInputAttributes (Element  element, MutableAttributeSet  set)
          element 의 AttributeSet 내의 키와 값의 페어를 set 에 카피합니다.
 void HTMLEditorKit.ParserCallback. handleSimpleTag (HTML.Tag  t, MutableAttributeSet  a, int pos)
           
 void HTMLDocument.HTMLReader. handleSimpleTag (HTML.Tag  t, MutableAttributeSet  a, int pos)
          퍼서로부터의 콜백입니다.
 void HTMLEditorKit.ParserCallback. handleStartTag (HTML.Tag  t, MutableAttributeSet  a, int pos)
           
 void HTMLDocument.HTMLReader. handleStartTag (HTML.Tag  t, MutableAttributeSet  a, int pos)
          퍼서로부터의 콜백입니다.
 void HTMLDocument.HTMLReader.TagAction. start (HTML.Tag  t, MutableAttributeSet  a)
          개시 태그가 발견되어, 이런 종류의 태그를 위해서(때문에) 액션이 등록되어 있으면, 불려 갑니다.
 void HTMLDocument.HTMLReader.BlockAction. start (HTML.Tag  t, MutableAttributeSet  attr)
           
 void HTMLDocument.HTMLReader.ParagraphAction. start (HTML.Tag  t, MutableAttributeSet  a)
           
 void HTMLDocument.HTMLReader.SpecialAction. start (HTML.Tag  t, MutableAttributeSet  a)
           
 void HTMLDocument.HTMLReader.IsindexAction. start (HTML.Tag  t, MutableAttributeSet  a)
           
 void HTMLDocument.HTMLReader.HiddenAction. start (HTML.Tag  t, MutableAttributeSet  a)
           
 void HTMLDocument.HTMLReader.PreAction. start (HTML.Tag  t, MutableAttributeSet  attr)
           
 void HTMLDocument.HTMLReader.CharacterAction. start (HTML.Tag  t, MutableAttributeSet  attr)
           
 void HTMLDocument.HTMLReader.FormAction. start (HTML.Tag  t, MutableAttributeSet  attr)
           
 


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.