|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
java.lang.Object | +--javax.swing.text.DefaultStyledDocument.ElementSpec
요소를 구축하는 구현입니다.
경고:
이 클래스의 직렬화 된 오브젝트는 향후의 Swing 의 릴리스와는 호환성을 가지지 않습니다. 현재의 직렬화 서포트는 단기간의 운용이나, 같은 버젼의 Swing 를 실행하는 어플리케이션간의 RMI 에 적절하고 있습니다. 1.4 에서는 모든 JavaBeansTM 의 장기 운용 서포트가, 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)
마크 업이 문서에 저장되지 않는 경우의, 마크 업에 유효한 constructor 입니다. |
|
DefaultStyledDocument.ElementSpec (AttributeSet a,
short type,
char[] txt,
int offs,
int len)
문서에의 컨텐츠와 마크 업의 배치 입력의 스펙(명세서)를, 외부적으로 작성하는 constructor 입니다. |
|
DefaultStyledDocument.ElementSpec (AttributeSet a,
short type,
int len)
데이터가 벌써 추가되고 있지만 len 정보가 필요한 경우에, 문서내에서 해석을 실시하는 constructor 입니다. |
메소드의 개요 | |
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 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
Java, Java 2 D, 및 JDBC 는 미국 및 그 외의 나라에 있어서의 미국 Sun Microsystems, Inc. 의 상표 혹은 등록상표입니다.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.