|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.text.DefaultStyledDocument.ElementSpec
public static class DefaultStyledDocument.ElementSpec
요소를 구축하는 구현입니다.
경고: 이 클래스의 직렬화 된 객체는, 향후의 Swing 릴리스와 호환은 아니게 될 예정입니다. 현재의 직렬화의 지원는, 단기간의 운용이나, 같은 버젼의 Swing 를 실행하는 어플리케이션간의 RMI 에 적절하고 있습니다. JDK Version 1.4 이후, 모든 JavaBeans™ 의 장기간의 운용 지원는,java.beans
패키지에 추가되고 있습니다. 자세한 것은,XMLEncoder
를 참조해 주세요.
필드의 개요 | |
---|---|
static short |
ContentType
getType 로 설정 가능한 값입니다. |
static short |
EndTagType
getType 로 설정 가능한 값입니다. |
static short |
JoinFractureDirection
getDirection 로 설정 가능한 값입니다. |
static short |
JoinNextDirection
getDirection 로 설정 가능한 값입니다. |
static short |
JoinPreviousDirection
getDirection 로 설정 가능한 값입니다. |
static short |
OriginateDirection
getDirection 로 설정 가능한 값입니다. |
static short |
StartTagType
getType 로 설정 가능한 값입니다. |
생성자 의 개요 | |
---|---|
DefaultStyledDocument.ElementSpec (AttributeSet a,
short type)
마크 업이 문서에 포함되지 않는 경우의, 마크 업에 유효한 생성자 입니다. |
|
DefaultStyledDocument.ElementSpec (AttributeSet a,
short type,
char[] txt,
int offs,
int len)
문서에의 컨텐츠와 마크 업의 배치 입력의 스펙(명세서)를, 외부적으로 작성하는 생성자 입니다. |
|
DefaultStyledDocument.ElementSpec (AttributeSet a,
short type,
int len)
데이터가 벌써 추가되고 있지만 len 정보가 필요한 경우에, 문서내에서 해석을 실시하는 생성자 입니다. |
메소드의 개요 | |
---|---|
char[] |
getArray ()
문자의 배열을 가져옵니다. |
AttributeSet |
getAttributes ()
요소의 속성을 가져옵니다. |
short |
getDirection ()
방향을 가져옵니다. |
int |
getLength ()
길이를 가져옵니다. |
int |
getOffset ()
개시 오프셋(offset)를 가져옵니다. |
short |
getType ()
요소의 형태를 가져옵니다. |
void |
setDirection (short direction)
방향을 설정합니다. |
void |
setType (short type)
요소의 형태를 설정합니다. |
String |
toString ()
요소를 캐릭터 라인으로 변환합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
public static final short StartTagType
public static final short EndTagType
public static final short ContentType
public static final short JoinPreviousDirection
public static final short JoinNextDirection
public static final short OriginateDirection
public static final short JoinFractureDirection
생성자 의 상세 |
---|
public DefaultStyledDocument.ElementSpec(AttributeSet a, short type)
a
- 요소의 속성type
- 요소의 형태 (StartTagType, EndTagType,
ContentType)public DefaultStyledDocument.ElementSpec(AttributeSet a, short type, int len)
a
- 요소의 속성type
- 요소의 형태 (StartTagType, EndTagType,
ContentType)len
- 길이 >= 0public DefaultStyledDocument.ElementSpec(AttributeSet a, short type, char[] txt, int offs, int len)
a
- 요소의 속성type
- 요소의 형태 (StartTagType, EndTagType,
ContentType)txt
- 요소의 텍스트offs
- 텍스트에 대한 오프셋(offset) >= 0len
- 텍스트의 길이 >= 0메소드의 상세 |
---|
public void setType(short type)
type
- 요소의 형태 (StartTagType, EndTagType,
ContentType)public short getType()
public void setDirection(short direction)
direction
- 방향 (JoinPreviousDirection,
JoinNextDirection)public short getDirection()
public AttributeSet getAttributes()
public char[] getArray()
public int getOffset()
public int getLength()
public String toString()
Object
내의 toString
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.