|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjavax.swing.text.SimpleAttributeSet
public class SimpleAttributeSet
ÇØ½Ã Å×À̺íÀ» »ç¿ëÇÏ´Â MutableAttributeSet Á÷Á¢ÀûÀÎ ±¸ÇöÀÔ´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ Swing ¸±¸®Áî¿Í
ȣȯµÇÁö ¾ÊÀ» ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ Áö¿øÀº
´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÀüÀÇ Swing¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÀü
1.4 ÀÌÈÄ, ¸ðµç JavaBeans™
Àå±â°£ÀÇ ¿î¿ë Áö¿øÀº
java.beans ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº XMLEncoder¸¦
ÂüÁ¶ÇϽʽÿÀ.
| Áßø(Nested) Ŭ·¡½º °³¿ä |
|---|
| ÀÎÅÍÆäÀ̽º javax.swing.text. AttributeSet ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
|---|
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, ±×·¸Áö ¾ÊÀº °æ¿ì´Â falseObject.hashCode(),
Hashtable 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 µµ ÂüÁ¶ÇϽʽÿÀ.