|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
public class StyledEditorKit
특정의 타입의 텍스트 문서에 대해서 적절한 에디터로서 기능하기 위해서, 텍스트 컴퍼넌트에 필요한 세트입니다. 이 구현은, 텍스트를 서식 첨부 텍스트로서 처리해, 서식 첨부 텍스트를 편집하기 위한 액션의 최소 세트를 제공하는 디폴트의 구현을 제공합니다.
상자의 클래스의 개요 | |
---|---|
static class |
StyledEditorKit.AlignmentAction
단락의 배치 방법을 설정하는 액션입니다. |
static class |
StyledEditorKit.BoldAction
볼드 속성을 바꾸는 액션입니다. |
static class |
StyledEditorKit.FontFamilyAction
관련하는 JEditorPane 의 폰트 패밀리를 설정하는 액션입니다. |
static class |
StyledEditorKit.FontSizeAction
관련하는 JEditorPane 의 font size를 설정하는 액션입니다. |
static class |
StyledEditorKit.ForegroundAction
foreground 칼라를 설정하는 액션입니다. |
static class |
StyledEditorKit.ItalicAction
이탤릭 속성을 바꾸는 액션입니다. |
static class |
StyledEditorKit.StyledTextAction
인스톨 된 StyledEditorKit (또는 서브 클래스)에 의해 JEditorPane 로 트리거된다고 보여지는 액션입니다. |
static class |
StyledEditorKit.UnderlineAction
밑줄 속성을 바꾸는 액션입니다. |
클래스 javax.swing.text. DefaultEditorKit 로부터 상속된 상자의 클래스/인터페이스 |
---|
DefaultEditorKit.BeepAction , DefaultEditorKit.CopyAction , DefaultEditorKit.CutAction , DefaultEditorKit.DefaultKeyTypedAction , DefaultEditorKit.InsertBreakAction , DefaultEditorKit.InsertContentAction , DefaultEditorKit.InsertTabAction , DefaultEditorKit.PasteAction |
필드의 개요 |
---|
생성자 의 개요 | |
---|---|
StyledEditorKit ()
서식 첨부 문서로 사용하는 새로운 EditorKit 를 작성합니다. |
메소드의 개요 | |
---|---|
Object |
clone ()
편집 킷의 카피를 작성합니다. |
Document |
createDefaultDocument ()
이 형태의 에디터에 적절하고 있는 미초기화 텍스트 스토리지 모델을 작성합니다. |
protected void |
createInputAttributes (Element element,
MutableAttributeSet set)
element 의 AttributeSet 내의 키와 값의 페어를 set 에 카피합니다. |
void |
deinstall (JEditorPane c)
킷이 JEditorPane 로부터 삭제되고 있을 때 불려 갑니다. |
Action [] |
getActions ()
에디터의 커멘드 리스트를 가져옵니다. |
Element |
getCharacterAttributeRun ()
caret에 대응하는 현재의 문자 속성을 나타내는 요소를 가져옵니다. |
MutableAttributeSet |
getInputAttributes ()
구획의 입력 속성을 가져옵니다. |
ViewFactory |
getViewFactory ()
이 킷이 작성한 임의의 모델의 뷰를 작성하는데 적합한 팩토리를 가져옵니다. |
void |
install (JEditorPane c)
킷이 JEditorPane 에 인스톨 되고 있을 때 불려 갑니다. |
클래스 javax.swing.text. DefaultEditorKit 로부터 상속된 메소드 |
---|
createCaret , getContentType , read , read , write , write |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public StyledEditorKit()
메소드의 상세 |
---|
public MutableAttributeSet getInputAttributes()
public Element getCharacterAttributeRun()
public Action [] getActions()
DefaultEditorKit
내의 getActions
public Document createDefaultDocument()
DefaultEditorKit
내의 createDefaultDocument
public void install(JEditorPane c)
EditorKit
내의 install
c
- JEditorPanepublic void deinstall(JEditorPane c)
EditorKit
내의 deinstall
c
- JEditorPanepublic ViewFactory getViewFactory()
DefaultEditorKit
내의 getViewFactory
public Object clone()
EditorKit
내의 clone
Cloneable
protected void createInputAttributes(Element element, MutableAttributeSet set)
element
의 AttributeSet 내의 키와 값의 페어를 set
에 카피합니다. 이 메소드는, 컴퍼넌트, 아이콘, 요소명의 각 속성은 카피하지 않습니다. 서브 클래스에서는, 어느 속성을 카피해 어느 속성을 카피하지 않는가를 변경할 수도 있습니다. 다만, 최초로 set
내의 모든 속성을 반드시 삭제해 주세요. 이 메소드는, caret가 다른 위치로 이동할 때마다 불려 갑니다.
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.