|
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 ()
ij¸¯ÅÍÀÇ ¹è¿À» ÃëµæÇÕ´Ï´Ù. |
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 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.