|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.DefaultStyledDocument.ElementSpec
public static class DefaultStyledDocument.ElementSpec
¿ä¼Ò¸¦ ±¸ÃàÇÏ´Â ±¸ÇöÀÔ´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ Swing ¸±¸®Áî¿Í
ȣȯµÇÁö ¾ÊÀ» ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ Áö¿øÀº
´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÀüÀÇ Swing¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÀü
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 ()
¿ä¼Ò¸¦ ij¸¯ÅÍ ¶óÀÎÀ¸·Î º¯È¯ÇÕ´Ï´Ù. |
Ŭ·¡½º 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 Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.