|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.text.html.Option
<option> ÀÇ °¢ ¿ä¼Ò¸¦ ³ªÅ¸³»´Âµ¥ »ç¿ëÇÏ´Â ListModel ¸¦ À§ÇÑ °ªÀÔ´Ï´Ù. À̰ÍÀº <select> ¿ä¼Ò¸¦ ³ªÅ¸³»´Âµ¥ »ç¿ëµÇ´Â DefaultComboBoxModel ÀÇ Ç׸ñÀ¸·Î¼ ÀνºÅç µÇ´Â ¿ÀºêÁ§Æ®ÀÔ´Ï´Ù.
»ý¼ºÀÚÀÇ °³¿ä | |
Option (AttributeSet attr)
»õ·Î¿î Option ¿ÀºêÁ§Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
AttributeSet |
getAttributes ()
¿É¼Ç¿¡ °ü·ÃÇÑ ¼Ó¼ºÀ» ²¨³À´Ï´Ù. |
String |
getLabel ()
¿É¼Ç¿¡ °ü·ÃÇÑ label¸¦ ²¨³À´Ï´Ù. |
String |
getValue ()
value ¼Ó¼º¿¡ °ü·ÃÇÑ Ä³¸¯ÅÍ ¶óÀÎÀ» µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼ÒµåÀÔ´Ï´Ù. |
boolean |
isSelected ()
ÀÌ ¿É¼Ç¿¡ °ü·ÃÇÑ ¼±Åà »óŸ¦ ²¨³À´Ï´Ù. |
void |
setLabel (String label)
¿É¼Ç¿¡ »ç¿ëÇÏ´Â label¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
protected void |
setSelection (boolean state)
¼±ÅÃµÈ »óÅ·Π¼³Á¤ÇÕ´Ï´Ù. |
String |
toString ()
ij¸¯ÅÍ ¶óÀΠǥÇöÀº labelÀÇ °ÍÀ» ÀÌ¿ëÇÕ´Ï´Ù. |
Ŭ·¡½º 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
¼Ó¼º¿¡ °ü·ÃÇÑ Ä³¸¯ÅÍ ¶óÀÎÀ» µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼ÒµåÀÔ´Ï´Ù. °ªÀÇ ÁöÁ¤ÀÌ ¾ø´Â °æ¿ì´Â label°¡ µ¹·ÁÁÖ¾îÁý´Ï´Ù.
|
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.