|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.html.Option
public class Option
<option> °¢ ¿ä¼Ò¸¦ ³ªÅ¸³»´Âµ¥ »ç¿ëÇÏ´Â ListModel¸¦ À§ÇÑ °ªÀÔ´Ï´Ù. À̰ÍÀº <select> ¿ä¼Ò¸¦ ³ªÅ¸³»´Âµ¥ »ç¿ëµÇ´Â DefaultComboBoxModel Ç׸ñÀ¸·Î¼ ÀνºÅç µÇ´Â °´Ã¼ÀÔ´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
Option (AttributeSet attr)
»õ·Î¿î Option °´Ã¼¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
AttributeSet |
getAttributes ()
¿É¼Ç¿¡ °ü·ÃÇÑ ¼Ó¼ºÀ» ²¨³À´Ï´Ù. |
String |
getLabel ()
¿É¼Ç¿¡ °ü·ÃÇÑ ¶óº§À» ²¨³À´Ï´Ù. |
String |
getValue ()
value ¼Ó¼º¿¡ °ü·ÃÇÑ Ä³¸¯ÅÍ ¶óÀÎÀ» µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. |
boolean |
isSelected ()
ÀÌ ¿É¼Ç¿¡ °ü·ÃÇÑ ¼±Åà »óŸ¦ ²¨³À´Ï´Ù. |
void |
setLabel (String label)
¿É¼Ç¿¡ »ç¿ëÇÏ´Â ¶óº§À» ¼³Á¤ÇÕ´Ï´Ù. |
protected void |
setSelection (boolean state)
¼±ÅÃµÈ »óÅ·Π¼³Á¤ÇÕ´Ï´Ù. |
String |
toString ()
ij¸¯ÅÍ ¶óÀΠǥÇöÀº ¶óº§ÀÇ °ÍÀ» ÀÌ¿ëÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public Option(AttributeSet attr)
attr
- ¿É¼Ç ¿ä¼Ò¿¡ °ü·ÃÇÑ ¼Ó¼º. ¼Ó¼ºÀº º¯°æµÇÁö ¾Ê´Â °ÍÀ» º¸ÁõÇϱâ À§Çؼ Ä«Çǵȴٸ޼µåÀÇ »ó¼¼ |
---|
public void setLabel(String label)
public String getLabel()
public AttributeSet getAttributes()
public String toString()
Object
³»ÀÇ toString
protected void setSelection(boolean state)
public boolean isSelected()
public String getValue()
value
¼Ó¼º¿¡ °ü·ÃÇÑ Ä³¸¯ÅÍ ¶óÀÎÀ» µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. °ªÀÇ ÁöÁ¤ÀÌ ¾ø´Â °æ¿ì´Â ¶óº§ÀÌ ¸®Åϵ˴ϴÙ
.
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.