|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.text.SimpleAttributeSet
ÇØ½Ã Å×À̺íÀ» »ç¿ëÇÏ´Â MutableAttributeSet ÀÇ Á÷Á¢ÀûÀÎ ±¸ÇöÀÔ´Ï´Ù.
°æ°í:
ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ÀÇ ¸±¸®½º¿Í´Â ȣȯ¼ºÀ» °¡ÁöÁö ¾Ê½À´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈ ¼Æ÷Æ®´Â ´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. 1.4 ¿¡¼´Â ¸ðµç JavaBeansTM ÀÇ Àå±â ¿î¿ë ¼Æ÷Æ®°¡, java.beans
ÆÐŰÁö¿¡ Ãß°¡µÇ¾ú½À´Ï´Ù. XMLEncoder
¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä |
Ŭ·¡½º javax.swing.text. AttributeSet À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
AttributeSet.CharacterAttribute , AttributeSet.ColorAttribute , AttributeSet.FontAttribute , AttributeSet.ParagraphAttribute |
ÇʵåÀÇ °³¿ä | |
static AttributeSet |
EMPTY
ÇÏ´ÃÀÇ ¼Ó¼º ¼¼Æ®ÀÔ´Ï´Ù. |
ÀÎÅÍÆäÀ̽º javax.swing.text. AttributeSet ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
NameAttribute , ResolveAttribute |
»ý¼ºÀÚÀÇ °³¿ä | |
SimpleAttributeSet ()
»õ·Î¿î ¼Ó¼º ¼¼Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
SimpleAttributeSet (AttributeSet source)
ÁöÁ¤µÈ ¼Ó¼º ¼¼Æ®¿¡ ±Ù°ÅÇØ »õ·Î¿î ¼Ó¼º ¼¼Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
void |
addAttribute (Object name,
Object value)
¸®½ºÆ®¿¡ ¼Ó¼ºÀ» Ãß°¡ÇÕ´Ï´Ù. |
void |
addAttributes (AttributeSet attributes)
¼Ó¼º ¼¼Æ®¸¦ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
Object |
clone ()
¼Ó¼º ¼¼Æ®¸¦ º¹Á¦ÇÕ´Ï´Ù. |
boolean |
containsAttribute (Object name,
Object value)
¼Ó¼º ¸®½ºÆ®·Î ÁöÁ¤µÈ ¼Ó¼º¸í°ú °ªÀÇ Æä¾î°¡ ÀÖÀ»Áö ¾î¶³Áö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
boolean |
containsAttributes (AttributeSet attributes)
¼Ó¼º ¸®½ºÆ®·Î ÁöÁ¤µÈ ¸ðµç À̸§°ú °ªÀÇ Æä¾î°¡ ÀÖÀ»Áö ¾î¶³Áö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
AttributeSet |
copyAttributes ()
¼Ó¼ºÀÇ Ä«ÇǸ¦ ÀÛ¼ºÇÕ´Ï´Ù. |
boolean |
equals (Object obj)
ÀÌ ¿ÀºêÁ§Æ®°¡ ÁöÁ¤µÈ ¿ÀºêÁ§Æ®¿Í ºñ±³ÇÕ´Ï´Ù. |
Object |
getAttribute (Object name)
¼Ó¼ºÀÇ °ªÀ» ÃëµæÇÕ´Ï´Ù. |
int |
getAttributeCount ()
¼Ó¼ºÀÇ ¼ö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Enumeration |
getAttributeNames ()
¼¼Æ®³»ÀÇ ¼Ó¼ºÀÇ À̸§À» µ¹·ÁÁÝ´Ï´Ù. |
AttributeSet |
getResolveParent ()
ÇØ¼® ó¸®ÃøÀÇ ºÎ¸ð¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
hashCode ()
ÀÌ ¼Ó¼º ¼¼Æ®¸¦ À§ÇÑ ÇØ½Ã Äڵ带 µ¹·ÁÁÝ´Ï´Ù. |
boolean |
isDefined (Object attrName)
ÁöÁ¤µÈ ¼Ó¼ºÀÌ Á¤Àǵǰí ÀÖ´ÂÁö ¾î¶²Áö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
boolean |
isEmpty ()
¼Ó¼º ¼¼Æ®°¡ ÇÏ´ÃÀΰ¡ ¾î¶²°¡¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
boolean |
isEqual (AttributeSet attr)
2 °³ÀÇ ¼Ó¼º ¼¼Æ®¸¦ ºñ±³ÇÕ´Ï´Ù. |
void |
removeAttribute (Object name)
¸®½ºÆ®·ÎºÎÅÍ ¼Ó¼ºÀ» »èÁ¦ÇÕ´Ï´Ù. |
void |
removeAttributes (AttributeSet attributes)
¸®½ºÆ®·ÎºÎÅÍ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù. |
void |
removeAttributes (Enumeration names)
¸®½ºÆ®·ÎºÎÅÍ ¼Ó¼º ¼¼Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù. |
void |
setResolveParent (AttributeSet parent)
ÇØ¼® ó¸®ÃøÀÇ ºÎ¸ð¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
String |
toString ()
¼Ó¼º ¼¼Æ®¸¦ ij¸¯ÅÍ ¶óÀÎÀ¸·Î º¯È¯ÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
finalize , getClass , notify , notifyAll , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
public static final AttributeSet EMPTY
»ý¼ºÀÚÀÇ »ó¼¼ |
public SimpleAttributeSet()
public SimpleAttributeSet(AttributeSet source)
source
- ¼Ó¼º ¼¼Æ®¸Þ¼ÒµåÀÇ »ó¼¼ |
public boolean isEmpty()
public int getAttributeCount()
AttributeSet
³»ÀÇ getAttributeCount
public boolean isDefined(Object attrName)
AttributeSet
³»ÀÇ isDefined
attrName
- ¼Ó¼º¸í
public boolean isEqual(AttributeSet attr)
AttributeSet
³»ÀÇ isEqual
attr
- 2 ¹øÂ°ÀÇ ¼Ó¼º ¼¼Æ®
public AttributeSet copyAttributes()
AttributeSet
³»ÀÇ copyAttributes
public Enumeration getAttributeNames()
AttributeSet
³»ÀÇ getAttributeNames
Enumeration
)public Object getAttribute(Object name)
AttributeSet
³»ÀÇ getAttribute
name
- ¼Ó¼º¸í
public boolean containsAttribute(Object name, Object value)
AttributeSet
³»ÀÇ containsAttribute
name
- À̸§value
- Ä¡
public boolean containsAttributes(AttributeSet attributes)
AttributeSet
³»ÀÇ containsAttributes
attributes
- ¼Ó¼º ¸®½ºÆ®
public void addAttribute(Object name, Object value)
MutableAttributeSet
³»ÀÇ addAttribute
name
- ¼Ó¼º¸ívalue
- ¼Ó¼ºÄ¡public void addAttributes(AttributeSet attributes)
MutableAttributeSet
³»ÀÇ addAttributes
attributes
- Ãß°¡ÇÏ´Â ¼Ó¼º ¼¼Æ®public void removeAttribute(Object name)
MutableAttributeSet
³»ÀÇ removeAttribute
name
- ¼Ó¼º¸ípublic void removeAttributes(Enumeration names)
MutableAttributeSet
³»ÀÇ removeAttributes
names
- »èÁ¦ÇÏ´Â À̸§¼¼Æ®public void removeAttributes(AttributeSet attributes)
MutableAttributeSet
³»ÀÇ removeAttributes
attributes
- »èÁ¦ÇÏ´Â ¼Ó¼º ¼¼Æ®public AttributeSet getResolveParent()
AttributeSet
³»ÀÇ getResolveParent
public void setResolveParent(AttributeSet parent)
MutableAttributeSet
³»ÀÇ setResolveParent
parent
- ºÎ¸ðpublic Object clone()
Object
³»ÀÇ clone
Cloneable
public int hashCode()
Object
³»ÀÇ hashCode
Object.equals(java.lang.Object)
,
Hashtable
public boolean equals(Object obj)
true
°¡ µË´Ï´Ù.
Object
³»ÀÇ equals
obj
- ÀÌ ¼Ó¼º ¼¼Æ®¶ó°í ºñ±³µÇ´Â ¿ÀºêÁ§Æ®
true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
Object.hashCode()
,
Hashtable
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.